Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/bpf_struct_ops.c bpf_struct_ops_map_delete_elem() -> (struct bpf_struct_ops)->unreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kdata | 4096-ptr_max |
| PARAM_VALUE | 1 | link | 0 |
| CONTAINER | 0 | -40-0-520+64+832 | $(-1) |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
kernel/bpf/bpf_struct_ops.c bpf_struct_ops_map_link_dealloc() -> (struct bpf_struct_ops)->unreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kdata | 4096-ptr_max |
| PARAM_VALUE | 1 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | link->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | link->ops->dealloc | 0,4096-ptr_max |
| PARAM_VALUE | 1 | link->ops->dealloc_deferred | 0 |
| PARAM_VALUE | 1 | link->ops->detach | 0,4096-ptr_max |
| PARAM_VALUE | 1 | link->ops->poll | 0,4096-ptr_max |
| PARAM_VALUE | 1 | link->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 1 | link->ops->show_fdinfo | 0,4096-ptr_max |
| PARAM_VALUE | 1 | link->ops->update_map | 0,4096-ptr_max |
| PARAM_VALUE | 1 | link->ops->update_prog | 0,4096-ptr_max |
| PARAM_VALUE | 1 | link->prog | 0,4096-ptr_max |
| PARAM_VALUE | 1 | link->prog->aux | 4096-ptr_max |
| BUF_SIZE | 1 | link | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | link | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | link | 1 |
| DATA_SOURCE | 1 | link | $0 |
| CONTAINER | 0 | -40-0-520+64+832 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/bpf/bpf_struct_ops.c bpf_struct_ops_map_link_detach() -> (struct bpf_struct_ops)->unreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kdata | 4096-ptr_max |
| PARAM_VALUE | 1 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | link->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | link->ops->detach | 4096-ptr_max |
| BUF_SIZE | 1 | link | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | link | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | link | $0 |
| CONTAINER | 0 | -40-0-520+64+832 | $(-1) |
| NOCHECK_CALL | |||
| LOCK2 | global &update_mutex |