函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Express the locking dependencies for lockdep:

函数原型:static inline void double_lock_hb(struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2)

返回类型:void

参数:

类型参数名称
struct futex_hash_bucket *hb1
struct futex_hash_bucket *hb2
1634  如果hb1小于等于hb2
1635  加自旋锁
1636  如果hb1小于hb2spin_lock_nested( & lock, For trivial one-depth nesting of a lock-class, the following* global define can be used. (Subsystems with multiple levels* of nesting should define their own lock-nesting subclasses.))
1638  否则
1639  加自旋锁
1640  spin_lock_nested( & lock, For trivial one-depth nesting of a lock-class, the following* global define can be used. (Subsystems with multiple levels* of nesting should define their own lock-nesting subclasses.))
调用者
名称描述
futex_wake_opWake up all waiters hashed on the physical page that is mapped* to this virtual address:
futex_requeueex_requeue() - Requeue waiters from uaddr1 to uaddr2*@uaddr1: source futex user address*@flags: futex flags (FLAGS_SHARED, etc