Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/verifier.c add_fd_from_fd_array() -> __add_used_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->fd_array | 16,4096-ptr_max |
| PARAM_VALUE | 0 | env->fd_array_cnt | 1-4096 |
| PARAM_VALUE | 1 | map | 0-ptr_max |
| BUF_SIZE | 0 | env->fd_array | 8 |
| BUF_SIZE | 1 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | map | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | map | r __bpf_map_get |
| NO_OVERFLOW_SIMPLE | 0 | env->fd_array_cnt |
kernel/bpf/verifier.c add_used_map() -> __add_used_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->fd_array | 0 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux->sig.verdict | 0-1 |
| PARAM_VALUE | 0 | env->signature | 0 |
| PARAM_VALUE | 0 | *env->prog->digest | 0-255 |
| PARAM_VALUE | 1 | map | 0-ptr_max |
| BUF_SIZE | 1 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | map | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | env->prog->len | 1 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | map | r __bpf_map_get |
kernel/bpf/verifier.c fd_array_get_map_idx_continuous() -> __add_used_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->fd_array | 4096-ptr_max |
| PARAM_VALUE | 0 | env->fd_array_cnt | 1-u32max |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | *env->prog->digest | 0-255 |
| PARAM_VALUE | 1 | map | 1-u64max |
| CAPPED_DATA | 0 | env->prog->len | 1 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | map | r fd_slot_map |