Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/arraymap.c bpf_fd_array_map_clear() -> __fd_array_map_delete_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map->ops->map_alloc_check | 0,4096-ptr_max |
| PARAM_VALUE | 0 | map->ops->map_check_btf | 0,4096-ptr_max |
| PARAM_VALUE | 0 | map->ops->map_mem_usage | 0,4096-ptr_max |
| PARAM_VALUE | 1 | key | 3736417653542506496 |
| PARAM_VALUE | 1 | *key | 0-s32max |
| BUF_SIZE | 0 | map->btf | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | map->excl_prog_sha | (-1),32 |
| BUF_SIZE | 0 | map->ops | (-1),352 |
| BUF_SIZE | 1 | key | 4 |
| DATA_SOURCE | 0 | map | $0 |
| DATA_SOURCE | 2 | need_defer | $1 |
| NOSPEC | 0 | map->map_type | |
| NOCHECK_CALL | |||
| USER_DATA | 0 | map->btf_key_type_id | 0-u32max |
| USER_DATA | 0 | map->btf_value_type_id | 0-u32max |
| USER_DATA | 0 | map->btf_vmlinux_value_type_id | 0-u32max |
| USER_DATA | 0 | map->map_type | 1-34[c] |
| USER_DATA | 0 | *map->excl_prog_sha | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | map->record->cnt | |
| USER_PTR | 0 | map->excl_prog_sha |
kernel/bpf/arraymap.c fd_array_map_delete_elem() -> __fd_array_map_delete_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | map->ops->map_delete_batch | 0,5247200330534285312 |
| PARAM_VALUE | 2 | need_defer | 1 |
| BUF_SIZE | 0 | map | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | key | (-1)-s32max |
| BUF_SIZE | 1 | key | (-1)-s32max |
| CAPPED_DATA | 0 | map | 1 |
| DATA_SOURCE | 0 | map | $0 |
| DATA_SOURCE | 1 | key | $1 |
| USER_DATA | 1 | *key | s64min-s64max |
| USER_PTR | 1 | key | |
| HALF_LOCKED2 | rcu_read |
kernel/bpf/arraymap.c perf_event_fd_array_release() -> __fd_array_map_delete_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | map->ops->map_release | 7496606770224660480 |
| PARAM_VALUE | 1 | key | 4650390582082658304 |
| PARAM_VALUE | 1 | *key | 0-s32max |
| PARAM_VALUE | 2 | need_defer | 1 |
| BUF_SIZE | 0 | map | (-1),26 |
| BUF_SIZE | 0 | map | (-1),26 |
| BUF_SIZE | 1 | key | 4 |
| CAPPED_DATA | 0 | map | 1 |
| DATA_SOURCE | 0 | map | $0 |
| BIT_INFO | 0 | map->map_flags | 0x0,0xfffff7ff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read |