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_release

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

Type:long

Parameter:

TypeParameterName
atomic_long_t *v
longold
longnew
918  Return atomic_cmpxchg_release(v, old, new)
Caller
NameDescribe
__mutex_handoffGive up ownership to a specific task, when @task = NULL, this is equivalent* to a regular unlock. Sets PICKUP on a handoff, clears HANDOF, preserves* WAITERS. Provides RELEASE semantics like a regular unlock, the
__mutex_unlock_slowpath