Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/local_storage.c cgroup_storage_insert() -> bpf_cgroup_storage_key_cmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 1 | _key1 | 4096-ptr_max |
| PARAM_VALUE | 2 | _key2 | 4096-ptr_max |
| BUF_SIZE | 1 | _key1 | 16 |
| BUF_SIZE | 2 | _key2 | 16 |
| DATA_SOURCE | 0 | map | $0 |
| PREEMPT_ADD | |||
| LOCK2 | bh | ||
| LOCK2 | global &cgroup_mutex | ||
| LOCK2 | 0 | &map->lock | |
| TYPE_LOCK | (struct bpf_cgroup_storage_map)->lock |
kernel/bpf/local_storage.c cgroup_storage_lookup() -> bpf_cgroup_storage_key_cmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 2 | _key2 | 4096-ptr_max |
| BUF_SIZE | 0 | map | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | _key1 | (-1)-s32max |
| BUF_SIZE | 1 | _key1 | (-1)-s32max |
| BUF_SIZE | 2 | _key2 | 16 |
| DATA_SOURCE | 0 | map | $0 |
| DATA_SOURCE | 1 | _key1 | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *_key1 | s64min-s64max |
| USER_PTR | 1 | _key1 | |
| LOCK2 | bh | ||
| LOCK2 | 0 | &map->lock | |
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | global &cgroup_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct bpf_cgroup_storage_map)->lock |