函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:queue_me() - Remove the futex_q from its futex_hash_bucket*@q: The futex_q to unqueue* The q->lock_ptr must not be held by the caller

函数原型:static int unqueue_me(struct futex_q *q)

返回类型:int

参数:

类型参数名称
struct futex_q *q
2382  ret等于0
2385  retry :
2391  lock_ptr等于READ_ONCE(lock_ptr)
2392  如果(lock_ptr != NULL)则
2393  加自旋锁
2409  转到:retry
2411  __unqueue_futex() - Remove the futex_q from its futex_hash_bucket*@q: The futex_q to unqueue* The q->lock_ptr must not be NULL and must be held by the caller.
2413  BUG_ON(pi_state)
2415  自旋锁解锁
2416  ret等于1
2419  Drop a reference to the resource addressed by a key.* The hash bucket spinlock must not be held. This is* a no-op for private futexes, see comment in the get* counterpart.
2420  返回:ret
调用者
名称描述
futex_wait