函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:wq_has_single_sleeper - check if there is only one sleeper*@wq_head: wait queue head* Returns true of wq_head has only one sleeper on the list.* Please refer to the comment for waitqueue_active.

函数原型:static inline bool wq_has_single_sleeper(struct wait_queue_head *wq_head)

返回类型:bool

参数:

类型参数名称
struct wait_queue_head *wq_head
139  返回:链表只有一项
调用者
名称描述
rq_qos_waitq_qos_wait - throttle on a rqw if we need to*@rqw: rqw to throttle on*@private_data: caller provided specific data*@acquire_inflight_cb: inc the rqw->inflight counter if we can*@cleanup_cb: the callback to cleanup in case we race with a waker