函数逻辑报告

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

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

返回类型:void

参数:

类型参数名称
inti
atomic_t *v
62  kasan_check_write(v, v的长度)
63  arch_atomic_add - add integer to atomic variable*@i: integer value to add*@v: pointer of type atomic_t* Atomically adds @i to @v.
调用者
名称描述
mce_startStart of Monarch synchronization. This waits until all CPUs have* entered the exception handler and then determines if any of them* saw a fatal event that requires panic. Then it executes them* in the entry order.* TBD double check parallel CPU hotunplug
queued_read_lock_slowpathqueued_read_lock_slowpath - acquire read lock of a queue rwlock*@lock: Pointer to queue rwlock structure
queued_write_lock_slowpathqueued_write_lock_slowpath - acquire write lock of a queue rwlock*@lock : Pointer to queue rwlock structure
rcu_dynticks_eqs_onlineReset the current CPU's ->dynticks counter to indicate that the* newly onlined CPU is no longer in an extended quiescent state
do_profile_hits
___bpf_prog_run__bpf_prog_run - run eBPF program on a given context*@regs: is the array of MAX_BPF_EXT_REG eBPF pseudo-registers*@insn: is the array of eBPF instructions*@stack: is the eBPF storage stack* Decode and execute eBPF instructions.
_perf_event_refresh
do_msgsnd
scale_cookie_changeWe scale the qd down faster than we scale up, so we need to use this helper* to adjust the scale_cookie accordingly so we don't prematurely get* scale_cookie at DEFAULT_SCALE_COOKIE and unthrottle too much
put_reqs_available
atomic_long_add
page_ref_add
skb_set_owner_rQueue a received datagram if it will fit. Stream and sequenced* protocols can't normally use this as they need to fit buffers in* and play with them.* Inlined as it's very short and called for pretty much every* packet ever received.
sk_drops_add
udp_rcv_segment