函数逻辑报告

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

函数原型:void bpf_prog_put(struct bpf_prog *prog)

返回类型:void

参数:

类型参数名称
struct bpf_prog *prog
1432  __bpf_prog_put(prog, true)
调用者
名称描述
bpf_prog_freeFree internal BPF program
bpf_prog_release
bpf_prog_load
bpf_tracing_prog_release
bpf_tracing_prog_attach
bpf_raw_tracepoint_release
bpf_raw_tracepoint_open
bpf_prog_attach
bpf_prog_test_run
bpf_prog_get_fd_by_id
bpf_any_put
prog_fd_array_get_ptr
prog_fd_array_put_ptr
cgroup_bpf_releasegroup_bpf_release() - put references of all bpf programs and* release all cgroup bpf data*@work: work structure embedded into the cgroup to modify
__cgroup_bpf_attach__cgroup_bpf_attach() - Attach the program to a cgroup, and* propagate the change to descendants*@cgrp: The cgroup which descendants to traverse*@prog: A program to attach*@type: Type of attach operation*@flags: Option flags
__cgroup_bpf_detach__cgroup_bpf_detach() - Detach the program from a cgroup, and* propagate the change to descendants*@cgrp: The cgroup which descendants to traverse*@prog: A program to detach or NULL*@type: Type of detach operation* Must be called with cgroup_mutex held.
cgroup_bpf_prog_detach
psock_set_prog