函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:swq_has_sleeper - check if there are any waiting processes*@wq: the waitqueue to test for waiters* Returns true if @wq has waiting processes* Please refer to the comment for swait_active.

函数原型:static inline bool swq_has_sleeper(struct swait_queue_head *wq)

返回类型:bool

参数:

类型参数名称
struct swait_queue_head *wq
156  smp_mb()
157  返回:swait_active -- locklessly test for waiters on the queue*@wq: the waitqueue to test for waiters* returns true if the wait list is not empty* NOTE: this function is lockless and requires care, incorrect usage _will_
调用者
名称描述
apf_task_wake_one