函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\syscall.c Create Date:2022-07-27 14:05:58
Last Modify:2022-05-19 18:06:12 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__bpf_prog_put

函数原型:static void __bpf_prog_put(struct bpf_prog *prog, bool do_idr_lock)

返回类型:void

参数:

类型参数名称
struct bpf_prog *prog
booldo_idr_lock
1422  如果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.
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)
调用者
名称描述
bpf_prog_put