Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/syscall.c generic_map_delete_batch() -> (struct bpf_map_ops)->map_delete_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->key_size | 0-s32max |
| PARAM_VALUE | 0 | map->ops | 4096-8176211074560897023,8176211074560897025-ptr_max |
| PARAM_VALUE | 0 | map->ops->map_delete_batch | 5247200330534285312 |
| PARAM_VALUE | 1 | key | 1-18446744073709551614 |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | key | 0-u32max |
| BUF_SIZE | 1 | key | 0-u32max |
| CAPPED_DATA | 0 | map->key_size | 1 |
| DATA_SOURCE | 0 | map | $0 |
| DATA_SOURCE | 1 | key | r __kvmalloc_node_noprof |
| CONTAINER | 0 | -112-32+0 | $(-1) |
| USER_DATA | 1 | *key | s64min-s64max |
| USER_PTR | 1 | key | |
| LOCK2 | rcu_read |
kernel/bpf/syscall.c map_delete_elem() -> (struct bpf_map_ops)->map_delete_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->map_type | 3,26 |
| PARAM_VALUE | 0 | map->ops | 4096-8176211074560897023,8176211074560897025-ptr_max |
| PARAM_VALUE | 1 | key | 0,16,4096-ptr_max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | key | s32min-s32max |
| DATA_SOURCE | 0 | map | r __bpf_map_get |
| DATA_SOURCE | 1 | key | r ___bpf_copy_key |
| FUZZY_MAX | 0 | map->map_type | 26 |
| CONTAINER | 0 | -112-32+0 | $(-1) |
| BIT_INFO | 0 | map->map_type | 0x2,0x1b |
kernel/bpf/syscall.c map_delete_elem() -> (struct bpf_map_ops)->map_delete_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->map_type | 0-2,4-25,27-u32max |
| PARAM_VALUE | 0 | map->ops | 4096-8176211074560897023,8176211074560897025-ptr_max |
| PARAM_VALUE | 1 | key | 0,16,4096-ptr_max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | key | s32min-s32max |
| DATA_SOURCE | 0 | map | r __bpf_map_get |
| DATA_SOURCE | 1 | key | r ___bpf_copy_key |
| CONTAINER | 0 | -112-32+0 | $(-1) |
| LOCK2 | rcu_read |
kernel/bpf/helpers.c ____bpf_map_delete_elem() -> (struct bpf_map_ops)->map_delete_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->ops | 4096-ptr_max |
| DATA_SOURCE | 0 | map | $0 |
| DATA_SOURCE | 1 | key | $1 |
| CONTAINER | 0 | -112-32+0 | $(-1) |