Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\futex.c Create Date:2022-07-28 10:54:20
Last Modify:2020-03-17 15:28:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:queue_me() - Enqueue the futex_q on the futex_hash_bucket*@q: The futex_q to enqueue*@hb: The destination hash bucket* The hb->lock must be held by the caller, and is released here. A call to

Proto:static inline void queue_me(struct futex_q *q, struct futex_hash_bucket *hb)__releases(&hb->lock)

Type:void

Parameter:

TypeParameterName
struct futex_q *q
struct futex_hash_bucket *hb
2364  __queue_me(q, hb)
2365  spin_unlock( & lock)
Caller
NameDescribe
futex_wait_queue_meex_wait_queue_me() - queue_me() and wait for wakeup, timeout, or signal*@hb: the futex hash bucket, must be locked by the caller*@q: the futex_q to queue up on*@timeout: the prepared hrtimer_sleeper, or null for no timeout