函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\atomic64.c Create Date:2022-07-27 08:15:31
Last Modify:2022-05-18 13:46:02 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:lock_addr

函数原型:static inline raw_spinlock_t *lock_addr(const atomic64_t *v)

返回类型:raw_spinlock_t

参数:

类型参数名称
const atomic64_t *v
38  addr等于v
40  addr右移等于L1 cache line size
41  addr异或等于addr右移8位按位异或addr右移16位
42  返回:lock
调用者
名称描述
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