Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\sock.h Create Date:2022-07-28 06:09:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sock_write_timestamp

Proto:static inline void sock_write_timestamp(struct sock *sk, ktime_t kt)

Type:void

Parameter:

TypeParameterName
struct sock *sk
ktime_tkt
2356  Lock out other writers and update the count.* Acts like a normal spin_lock/unlock.* Don't need preempt_disable() because that is in the spin_lock already.
2357  sk_stamp = kt
2358  write_sequnlock( & sk_stamp_seq)