函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:atomic_add_return

函数原型:static inline int atomic_add_return(int i, atomic_t *v)

返回类型:int

参数:

类型参数名称
inti
atomic_t *v
71  kasan_check_write(v, v的长度)
72  返回:arch_atomic_add_return - add integer and return*@i: integer value to add*@v: pointer of type atomic_t* Atomically adds @i to @v and returns @i + @v
调用者
名称描述
cmci_storm_detect
rcu_dynticks_eqs_enterRecord entry into an extended quiescent state. This is only to be* called when not already in an extended quiescent state.
rcu_dynticks_eqs_exitRecord exit from an extended quiescent state. This is only to be* called from an extended quiescent state.
rcu_dynticks_snapSnapshot the ->dynticks counter with full ordering so as to allow* stable comparison of this counter with past and future snapshots.
rcu_momentary_dyntick_idleLet the RCU core know that this CPU has gone through the scheduler,* which is a quiescent state
audit_serialaudit_serial - compute a serial number for the audit record* Compute a serial number for the audit record. Audit records are* written to user-space as soon as they are generated, so a complete* audit record may be written in several pieces
quota_send_warningquota_send_warning - Send warning to userspace about exceeded quota*@qid: The kernel internal quota identifier
atomic_inc_return
atomic_long_add_return
blkcg_use_delay