Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:queue_futex() - Requeue a futex_q from one hb to another*@q: the futex_q to requeue*@hb1: the source hash_bucket*@hb2: the target hash_bucket*@key2: the new key for the requeued futex_q

Proto:static inline void requeue_futex(struct futex_q *q, struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2, union futex_key *key2)

Type:void

Parameter:

TypeParameterName
struct futex_q *q
struct futex_hash_bucket *hb1
struct futex_hash_bucket *hb2
union futex_key *key2
1864  If Value is more likely to compile time( & chain != & chain) Then
1865  plist_del - Remove a @node from plist.*@node: &struct plist_node pointer - entry to be removed*@head: &struct plist_head pointer - list head
1866  Reflects a waiter being removed from the waitqueue by wakeup* paths.
1867  Reflects a new waiter being added to the waitqueue.
1868  plist_add - add @node to @head*@node: &struct plist_node pointer*@head: &struct plist_head pointer
1869  lock_ptr = lock
1871  Take a reference to the resource addressed by a key.* Can be called while holding spinlocks.
1872  key = key2
Caller
NameDescribe
futex_requeueex_requeue() - Requeue waiters from uaddr1 to uaddr2*@uaddr1: source futex user address*@flags: futex flags (FLAGS_SHARED, etc