Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\wait.h Create Date:2022-07-28 05:35:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static inline bool wq_has_single_sleeper(struct wait_queue_head *wq_head)

Type:bool

Parameter:

TypeParameterName
struct wait_queue_head *wq_head
139  Return list_is_singular - tests whether a list has just one entry.*@head: the list to test.
Caller
NameDescribe
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