Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\syscall.c Create Date:2022-07-28 12:53:16
Last Modify:2022-05-19 18:06:12 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__bpf_prog_put

Proto:static void __bpf_prog_put(struct bpf_prog *prog, bool do_idr_lock)

Type:void

Parameter:

TypeParameterName
struct bpf_prog *prog
booldo_idr_lock
1422  If 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. Then
1423  perf_event_bpf_event(prog, PERF_BPF_EVENT_PROG_UNLOAD, 0)
1425  bpf_prog_free_id(prog, do_idr_lock)
1426  __bpf_prog_put_noref(prog, true)
Caller
NameDescribe
bpf_prog_put