Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:atomic_long_cmpxchg

Proto:static inline long atomic_long_cmpxchg(atomic_long_t *v, long old, long new)

Type:long

Parameter:

TypeParameterName
atomic_long_t *v
longold
longnew
906  Return atomic_cmpxchg(v, old, new)
Caller
NameDescribe
free_eventUsed to free events which have a known refcount of 1, such as in error paths* where the event isn't exposed yet and inherited events.
__ns_get_path
io_account_mem