Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/netkit.c netkit_link_release() -> bpf_mprog_detach()

Type Parameter Key Value
PARAM_VALUE 0 entry 1-u64max
PARAM_VALUE 1 entry_new 6817255803831427072
PARAM_VALUE 3 link 4096-ptr_max
PARAM_VALUE 3 link->ops 4096-ptr_max
PARAM_VALUE 3 link->ops->detach 0,4096-ptr_max
PARAM_VALUE 3 link->ops->poll 0,4096-ptr_max
PARAM_VALUE 3 link->ops->update_map 0,4096-ptr_max
PARAM_VALUE 3 link->ops->update_prog 0,4096-ptr_max
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 id_or_fd 0
PARAM_VALUE 6 revision 0
BUF_SIZE 3 link s32min-(-1),1-s32max
BUF_SIZE 3 link s32min-(-1),1-s32max
DATA_SOURCE 0 entry r netkit_entry_fetch
DATA_SOURCE 3 link $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &rtnl_mutex

drivers/net/netkit.c netkit_prog_detach() -> bpf_mprog_detach()

Type Parameter Key Value
PARAM_VALUE 0 entry 1-u64max
PARAM_VALUE 1 entry_new 4123881911939891200
PARAM_VALUE 2 prog 0,4096-ptr_max
PARAM_VALUE 3 link 0
PARAM_VALUE 4 flags 0-16382
PARAM_VALUE 5 id_or_fd 0
PARAM_VALUE 6 revision 0
BUF_SIZE 2 prog s32min-(-2),0-s32max
BUF_SIZE 2 prog s32min-(-2),0-s32max
DATA_SOURCE 0 entry r netkit_entry_fetch
DATA_SOURCE 2 prog $1
BIT_INFO 4 flags 0x0,0x203c
LOCK2 global &rtnl_mutex

kernel/bpf/tcx.c tcx_link_release() -> bpf_mprog_detach()

Type Parameter Key Value
PARAM_VALUE 0 entry 1-u64max
PARAM_VALUE 1 entry_new 2225054782725251072
PARAM_VALUE 3 link 4096-ptr_max
PARAM_VALUE 3 link->ops 4096-ptr_max
PARAM_VALUE 3 link->ops->detach 0,4096-ptr_max
PARAM_VALUE 3 link->ops->poll 0,4096-ptr_max
PARAM_VALUE 3 link->ops->update_map 0,4096-ptr_max
PARAM_VALUE 3 link->ops->update_prog 0,4096-ptr_max
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 id_or_fd 0
PARAM_VALUE 6 revision 0
BUF_SIZE 3 link s32min-(-1),1-s32max
BUF_SIZE 3 link s32min-(-1),1-s32max
DATA_SOURCE 3 link $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &rtnl_mutex

kernel/bpf/tcx.c tcx_prog_detach() -> bpf_mprog_detach()

Type Parameter Key Value
PARAM_VALUE 0 entry 1-u64max
PARAM_VALUE 1 entry_new 8198335138610147328
PARAM_VALUE 2 prog 0,4096-ptr_max
PARAM_VALUE 3 link 0
PARAM_VALUE 4 flags 0-16382
PARAM_VALUE 5 id_or_fd 0
PARAM_VALUE 6 revision 0
BUF_SIZE 2 prog s32min-(-2),0-s32max
BUF_SIZE 2 prog s32min-(-2),0-s32max
DATA_SOURCE 2 prog $1
BIT_INFO 4 flags 0x0,0x203c
LOCK2 global &rtnl_mutex