Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\asm-generic\atomic-instrumented.h Create Date:2022-07-28 05:34:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:atomic_xchg

Proto:static inline int atomic_xchg(atomic_t *v, int i)

Type:int

Parameter:

TypeParameterName
atomic_t *v
inti
613  kasan_check_write(v, size of v )
614  Return arch_atomic_xchg(v, i)
Caller
NameDescribe
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