函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:skwq_has_sleeper - check if there are any waiting processes*@wq: struct socket_wq* Returns true if socket_wq has waiting processes* The purpose of the skwq_has_sleeper and sock_poll_wait is to wrap the memory* barrier call

函数原型:static inline bool skwq_has_sleeper(struct socket_wq *wq)

返回类型:bool

参数:

类型参数名称
struct socket_wq *wq
2097  返回:wqwq_has_sleeper - check if there are any waiting processes*@wq_head: wait queue head* Returns true if wq_head has waiting processes* Please refer to the comment for waitqueue_active.