函数逻辑报告

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_xchg

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

返回类型:int

参数:

类型参数名称
atomic_t *v
inti
613  kasan_check_write(v, v的长度)
614  返回:arch_atomic_xchg(v, i)
调用者
名称描述
cpu_set_state_onlineMark the specified CPU online.* Note that it is permissible to omit this call entirely, as is* done in architectures that do no CPU-hotplug error checking.
osq_lock
report_message_lost
audit_receive_msg
kgdb_cpu_enter
watchdogkthread which checks for tasks stuck in D state
count_overruns
__bpf_spin_lock
perf_poll
swapin_nr_pages
flush_latency_buckets
kill_ioctxkill_ioctx* Cancels all outstanding aio requests on an aio context. Used* when the processes owning a context have all exited to encourage* the rapid destruction of the kioctx.
atomic_long_xchg
rcu_check_gp_start_stallThis function checks for grace-period requests that fail to motivate* RCU to come out of its idle mode.