Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Note:* We use sk->sk_wq_raw, from contexts knowing this* pointer is not NULL and cannot disappear/change.

Proto:static inline void sk_set_bit(int nr, struct sock *sk)

Type:void

Parameter:

TypeParameterName
intnr
struct sock *sk
2195  If ( nr == Historically, SOCKWQ_ASYNC_NOSPACE & SOCKWQ_ASYNC_WAITDATA were located* in sock->flags, but moved into sk->sk_wq->flags to be RCU protected.* Eventually all flags will be in sk->sk_wq->flags. || nr == SOCKWQ_ASYNC_WAITDATA ) && Not sock_flag(sk, async() active ) Then Return
2199  set_bit - Atomically set a bit in memory*@nr: the bit to set*@addr: the address to start counting from* This is a relaxed atomic operation (no implied memory barriers).* Note that @nr may be almost arbitrarily large; this function is not