Defined in 1 files as a prototype:
Defined in 2 files as a function:
- include/linux/bpf-cgroup.h, line 469 (as a function)
- kernel/bpf/local_storage.c, line 503 (as a function)
Referenced in 2 files:
Smatch caller information:
net/bpf/test_run.c bpf_test_run() -> bpf_cgroup_storage_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | prog | 4096-ptr_max |
| PARAM_VALUE | 0 | prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | prog->aux->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | prog->aux->ops->test_run | 4096-ptr_max |
| PARAM_VALUE | 1 | stype | 0-1 |
| BUF_SIZE | 0 | prog | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | prog | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | prog | 1 |
| DATA_SOURCE | 0 | prog | $0 |
| FUZZY_MAX | 1 | stype | 1 |
kernel/bpf/cgroup.c bpf_cgroup_storages_alloc() -> bpf_cgroup_storage_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | prog | 4096-ptr_max |
| PARAM_VALUE | 0 | prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | prog->aux->cgroup_storage | 4096-ptr_max |
| PARAM_VALUE | 1 | stype | 0-1 |
| BUF_SIZE | 0 | prog | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | prog | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | prog | $3 |
| FUZZY_MAX | 1 | stype | 1 |
| LOCK2 | global &cgroup_mutex |