Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/syscall.c bpf_map_from_imm() -> (struct bpf_map_ops)->map_direct_value_meta()
| 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_direct_value_meta | 6509041142187356160 |
| PARAM_VALUE | 2 | off | 4077991108987375616 |
| PARAM_VALUE | 2 | *off | 0 |
| DATA_SOURCE | 1 | imm | $1 |
| DATA_SOURCE | 2 | off | $2 |
| CONTAINER | 0 | -240-32+0 | $(-1) |
| PARAM_COMPARE | 0 | map | != $1 |
| PARAM_COMPARE | 1 | imm | != $0 |
| PARAM_COMPARE | 1 | imm | != $0 |
| LOCK2 | &prog->aux->used_maps_mutex | ||
| TYPE_LOCK | (struct bpf_prog_aux)->used_maps_mutex |