函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\sock.h Create Date:2022-07-27 07:06:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sk_clear_bit

函数原型:static inline void sk_clear_bit(int nr, struct sock *sk)

返回类型:void

参数:

类型参数名称
intnr
struct sock *sk
2204  如果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的值且非sock_flag(sk, async() active )则返回
2208  lear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers).