函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:atomic64_cmpxchg

函数原型:s64 atomic64_cmpxchg(atomic64_t *v, s64 o, s64 n)

返回类型:s64

参数:

类型参数名称
atomic64_t *v
s64o
s64n
163  lock等于lock_addr(v)
166  raw_spin_lock_irqsave(lock, flags)
167  val等于counter
168  如果val恒等于ocounter等于n
170  raw_spin_unlock_irqrestore(lock, flags)
171  返回:val
调用者
名称描述
blkcg_iolatency_done_bio
inode_maybe_inc_iversionde_maybe_inc_iversion - increments i_version*@inode: inode with the i_version that should be updated*@force: increment the counter even if it's not necessary?* Every time the inode is modified, the i_version field must be seen to have
inode_query_iversionde_query_iversion - read i_version for later use*@inode: inode from which i_version should be read* Read the inode i_version counter