Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\atomic64.c Create Date:2022-07-28 07:17:03
Last Modify:2022-05-18 13:46:02 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lock_addr

Proto:static inline raw_spinlock_t *lock_addr(const atomic64_t *v)

Type:raw_spinlock_t

Parameter:

TypeParameterName
const atomic64_t *v
38  addr = v
40  addr >>= L1 cache line size
41  addr ^= addr >> 8 ^ addr >> 16
42  Return lock
Caller
NameDescribe
atomic64_read
atomic64_set
atomic64_add
atomic64_add_return
atomic64_fetch_add
atomic64_sub
atomic64_sub_return
atomic64_fetch_sub
atomic64_and
atomic64_and_return
atomic64_fetch_and
atomic64_or
atomic64_or_return
atomic64_fetch_or
atomic64_xor
atomic64_xor_return
atomic64_fetch_xor
atomic64_dec_if_positive
atomic64_cmpxchg
atomic64_xchg
atomic64_fetch_add_unless