Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/syscall.c bpf_map_copy_value() -> (struct bpf_map_ops)->map_peek_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->map_type | 22-23,30 |
| PARAM_VALUE | 0 | map->ops | 4096-8176211074560897023,8176211074560897025-ptr_max |
| PARAM_VALUE | 0 | map->ops->map_lookup_batch | 0,631431616227323904,968212869968297984,3636988385139924992,5229998854994575360,6341067303080312832,6609440822477774848 |
| PARAM_VALUE | 0 | map->ops->map_release | 0,4096-ptr_max |
| PARAM_VALUE | 1 | value | 16,4096-ptr_max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | value | (-1)-s32max |
| BUF_SIZE | 1 | value | (-1)-s32max |
| CAPPED_DATA | 0 | map | 1 |
| DATA_SOURCE | 0 | map | $0 |
| DATA_SOURCE | 1 | value | $2 |
| CONTAINER | 0 | -136-32+0 | $(-1) |
| BIT_INFO | 0 | map->map_type | 0x16,0x1f |
| USER_DATA | 1 | *value | s64min-s64max |
| USER_PTR | 1 | value |
kernel/bpf/helpers.c ____bpf_map_peek_elem() -> (struct bpf_map_ops)->map_peek_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 | value | $1 |
| CONTAINER | 0 | -136-32+0 | $(-1) |