函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\bit_spinlock.h Create Date:2022-07-27 06:43:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:-based spin_lock()* Don't use this unless you really need to: spin_lock() and spin_unlock()* are significantly faster.

函数原型:static inline void bit_spin_lock(int bitnum, unsigned long *addr)

返回类型:void

参数:

类型参数名称
intbitnum
unsigned long *addr
25  禁止抢占()
35  __acquire(bitlock)
调用者
名称描述
slab_lockPer slab locking using the pagelock
pin_tag
end_buffer_async_read
end_buffer_async_writeCompletion handler for block_write_full_page() - pages which are unlocked* during I/O, and which have PageWriteback cleared upon I/O completion.
hlist_bl_lock
rht_lockWe lock a bucket by setting BIT(0) in the pointer - this is always* zero in real pointers. The NULLS mark is never stored in the bucket,* rather we store NULL if the bucket is empty.* bit_spin_locks do not handle contention well, but the whole point
rht_lock_nested