Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:static void drop_futex_key_refs(union futex_key *key)

Type:void

Parameter:

TypeParameterName
union futex_key *key
455  If Not ptr Then
457  WARN_ON_ONCE(1)
458  Return
461  If Not IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_MMU) Then Return
465  Case & == We set bit 0 if key has a reference on inode
466  put an inode
467  Break
468  Case & == We set bit 1 if key has a reference on mm
469  mmdrop(mm)
470  Break
Caller
NameDescribe
put_futex_key
futex_requeueex_requeue() - Requeue waiters from uaddr1 to uaddr2*@uaddr1: source futex user address*@flags: futex flags (FLAGS_SHARED, etc
unqueue_mequeue_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