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_selem_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smap | 4096-ptr_max |
| PARAM_VALUE | 0 | smap->map.ops | 4096-ptr_max |
| PARAM_VALUE | 0 | smap->map.ops->map_owner_storage_ptr | 4096-ptr_max |
| BUF_SIZE | 0 | smap | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | smap | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | value | (-1)-s32max |
| BUF_SIZE | 2 | value | (-1)-s32max |
| DATA_SOURCE | 0 | smap | $1 |
| DATA_SOURCE | 1 | owner | $0 |
| DATA_SOURCE | 2 | value | $2 |
| DATA_SOURCE | 3 | swap_uptrs | $4 |
| USER_DATA | 2 | *value | s64min-s64max |
| UNITS | 1 | owner | unit_byte |
| USER_PTR | 2 | value |
kernel/bpf/bpf_local_storage.c bpf_local_storage_update() -> bpf_selem_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smap | 4096-ptr_max |
| PARAM_VALUE | 0 | smap->map.ops | 4096-ptr_max |
| PARAM_VALUE | 0 | smap->map.ops->map_owner_storage_ptr | 4096-ptr_max |
| BUF_SIZE | 0 | smap | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | smap | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | value | (-1)-s32max |
| BUF_SIZE | 2 | value | (-1)-s32max |
| DATA_SOURCE | 0 | smap | $1 |
| DATA_SOURCE | 1 | owner | $0 |
| DATA_SOURCE | 2 | value | $2 |
| DATA_SOURCE | 3 | swap_uptrs | $4 |
| USER_DATA | 2 | *value | s64min-s64max |
| UNITS | 1 | owner | unit_byte |
| USER_PTR | 2 | value |
net/core/bpf_sk_storage.c bpf_sk_storage_clone_elem() -> bpf_selem_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smap | 4096-ptr_max |
| PARAM_VALUE | 0 | smap->map.map_flags | 512-u32max |
| PARAM_VALUE | 1 | owner | 4096-ptr_max |
| PARAM_VALUE | 2 | value | 0 |
| PARAM_VALUE | 3 | swap_uptrs | 0 |
| DATA_SOURCE | 0 | smap | $1 |
| DATA_SOURCE | 1 | owner | $0 |
| BIT_INFO | 0 | 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 |