Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:atomic64_dec_and_test - decrement and test*@v: pointer of type atomic64_t* Atomically decrements @v by 1 and* returns true if the result is 0, or false for all other* cases.

Proto:static inline bool atomic64_dec_and_test(atomic64_t *v)

Type:bool

Parameter:

TypeParameterName
atomic64_t *v
2143  Return atomic64_dec_return(v) == 0
Caller
NameDescribe
bpf_map_put_uref
__bpf_map_putdecrement map refcnt and schedule it for freeing via workqueue* (unrelying map implementation ops->map_free() might sleep)
__bpf_prog_put