Defined in 1 files as a prototype:
Defined in 2 files as a function:
- include/linux/bpf-cgroup.h, line 471 (as a function)
- kernel/bpf/local_storage.c, line 562 (as a function)
Referenced in 3 files:
Smatch caller information:
kernel/bpf/local_storage.c cgroup_storage_map_free() -> bpf_cgroup_storage_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | storage | 4096-ptr_max |
| PARAM_VALUE | 0 | storage->map->root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | storage->node.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 0 | storage->node.rb_right | 0,4096-ptr_max |
| CAPPED_DATA | 0 | &storage->list_map | 1 |
| NOCHECK_CALL | |||
| UNITS | 0 | storage | unit_byte |
| LOCK2 | global &cgroup_mutex |
net/bpf/test_run.c bpf_test_run() -> bpf_cgroup_storage_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
net/bpf/test_run.c bpf_test_run() -> bpf_cgroup_storage_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
kernel/bpf/cgroup.c bpf_cgroup_storages_free() -> bpf_cgroup_storage_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | global &cgroup_mutex |
kernel/bpf/cgroup.c cgroup_bpf_release() -> bpf_cgroup_storage_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | storage | 4096-ptr_max |
| PARAM_VALUE | 0 | storage->node.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 0 | storage->node.rb_right | 0,4096-ptr_max |
| CAPPED_DATA | 0 | &storage->list_cg | 1 |
| NOCHECK_CALL | |||
| LOCK2 | global &cgroup_mutex | ||
| HALF_LOCKED2 | &pool->lock |