Defined in 1 files as a variable:
Defined in 2 files as a struct:
- kernel/bpf/reuseport_array.c, line 11 (as a struct)
- tools/testing/selftests/bpf/progs/map_ptr_kern.c, line 535 (as a struct)
Defined in 1 files as a function:
Referenced in 4 files:
- kernel/bpf/reuseport_array.c
- tools/testing/selftests/bpf/prog_tests/select_reuseport.c
- tools/testing/selftests/bpf/progs/map_ptr_kern.c
- tools/testing/selftests/bpf/progs/test_select_reuseport_kern.c
Smatch caller information:
kernel/bpf/reuseport_array.c bpf_fd_reuseport_array_update_elem() -> reuseport_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | map | $0 |
kernel/bpf/reuseport_array.c reuseport_array_delete_elem() -> reuseport_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| BUF_SIZE | 0 | map | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | map | 1 |
| DATA_SOURCE | 0 | map | $0 |
| HALF_LOCKED2 | rcu_read |
kernel/bpf/reuseport_array.c reuseport_array_free() -> reuseport_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| 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 |
| CAPPED_DATA | 0 | map->excl_prog_sha | 1 |
| DATA_SOURCE | 0 | map | $0 |
| NOSPEC | 0 | map->map_type | |
| 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/reuseport_array.c reuseport_array_get_next_key() -> reuseport_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | map | 1 |
| DATA_SOURCE | 0 | map | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &m->lock |
kernel/bpf/reuseport_array.c reuseport_array_lookup_elem() -> reuseport_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| BUF_SIZE | 0 | map | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | map | 1 |
| DATA_SOURCE | 0 | map | $0 |
| HALF_LOCKED2 | rcu_read |