函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\futex.c Create Date:2022-07-27 11:54:23
Last Modify:2020-03-17 15:28:32 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static inline void queue_me(struct futex_q *q, struct futex_hash_bucket *hb)__releases(&hb->lock)

返回类型:void

参数:

类型参数名称
struct futex_q *q
struct futex_hash_bucket *hb
2364  __queue_me(q, hb)
2365  自旋锁解锁
调用者
名称描述
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