Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/bpf/bpf_local_storage.c bpf_local_storage_update() -> bpf_local_storage_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | owner->sk_omem_alloc.counter | s32min-s32max |
| PARAM_VALUE | 1 | smap | 4096-ptr_max |
| PARAM_VALUE | 1 | smap->map.objcg | 0,4096-ptr_max |
| PARAM_VALUE | 1 | smap->map.objcg->memcg | 4096-ptr_max |
| PARAM_VALUE | 1 | smap->map.objcg->memcg->css.refcnt.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 1 | smap->map.ops | 4096-ptr_max |
| PARAM_VALUE | 1 | smap->map.ops->map_owner_storage_ptr | 4096-ptr_max |
| PARAM_VALUE | 2 | first_selem | 4096-ptr_max |
| PARAM_VALUE | 2 | first_selem->state.counter | 0 |
| BUF_SIZE | 1 | smap | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | smap | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | first_selem | (-1)-s32max |
| BUF_SIZE | 2 | first_selem | (-1)-s32max |
| DATA_SOURCE | 0 | owner | $0 |
| DATA_SOURCE | 1 | smap | $1 |
| DATA_SOURCE | 2 | first_selem | r bpf_selem_alloc |
| UNITS | 0 | owner | unit_byte |
net/core/bpf_sk_storage.c bpf_sk_storage_clone() -> bpf_local_storage_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | owner | 4096-ptr_max |
| PARAM_VALUE | 1 | smap | 4096-ptr_max |
| PARAM_VALUE | 1 | smap->map.map_flags | 512-u32max |
| PARAM_VALUE | 1 | smap->map.objcg->memcg | 4096-ptr_max |
| PARAM_VALUE | 1 | smap->map.objcg->memcg->css.refcnt.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 1 | smap->map.ops | 4096-ptr_max |
| PARAM_VALUE | 1 | smap->map.record->cnt | 0-s32max |
| PARAM_VALUE | 2 | first_selem | 4096-ptr_max |
| PARAM_VALUE | 2 | first_selem->state.counter | 0 |
| BUF_SIZE | 2 | first_selem | (-1)-s32max |
| BUF_SIZE | 2 | first_selem | (-1)-s32max |
| CAPPED_DATA | 1 | smap->map.record->cnt | 1 |
| DATA_SOURCE | 0 | owner | $1 |
| DATA_SOURCE | 2 | first_selem | r bpf_sk_storage_clone_elem |
| BIT_INFO | 1 | smap->map.map_flags | 0x200,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &newsk->sk_lock.slock | ||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |