Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/bpf_local_storage.c bpf_local_storage_alloc() -> mem_uncharge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smap | 4096-ptr_max |
| PARAM_VALUE | 0 | smap->map.objcg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | smap->map.objcg->memcg | 4096-ptr_max |
| PARAM_VALUE | 0 | smap->map.objcg->memcg->css.refcnt.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 0 | smap->map.ops | 4096-ptr_max |
| PARAM_VALUE | 0 | smap->map.ops->map_local_storage_charge | 0,6978601970515410944 |
| PARAM_VALUE | 0 | smap->map.ops->map_owner_storage_ptr | 0,4096-ptr_max |
| PARAM_VALUE | 2 | size | 184 |
| BUF_SIZE | 0 | smap | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | smap | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | smap | $1 |
| DATA_SOURCE | 1 | owner | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | owner | unit_byte |
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | rcu_read |
kernel/bpf/bpf_local_storage.c bpf_local_storage_update() -> mem_uncharge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smap | 4096-ptr_max |
| PARAM_VALUE | 0 | smap->map.objcg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | smap->map.objcg->memcg | 4096-ptr_max |
| PARAM_VALUE | 0 | smap->map.objcg->memcg->css.refcnt.percpu_count_ptr | 1-u64max |
| 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 |
| DATA_SOURCE | 0 | smap | $1 |
| DATA_SOURCE | 1 | owner | $0 |
| NOCHECK_CALL | |||
| UNITS | 1 | owner | unit_byte |
kernel/bpf/bpf_local_storage.c bpf_local_storage_update() -> mem_uncharge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smap | 4096-ptr_max |
| PARAM_VALUE | 0 | smap->map.objcg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | smap->map.objcg->memcg | 4096-ptr_max |
| PARAM_VALUE | 0 | smap->map.objcg->memcg->css.refcnt.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 0 | smap->map.ops | 4096-ptr_max |
| PARAM_VALUE | 0 | smap->map.ops->map_owner_storage_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | smap->map.ops->map_release | 0,4096-ptr_max |
| PARAM_VALUE | 1 | owner->sk_omem_alloc.counter | s32min-s32max |
| BUF_SIZE | 0 | smap | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | smap | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | smap | $1 |
| DATA_SOURCE | 1 | owner | $0 |
| NOCHECK_CALL | |||
| UNITS | 1 | owner | unit_byte |
kernel/bpf/bpf_local_storage.c bpf_selem_alloc() -> mem_uncharge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smap | 4096-ptr_max |
| PARAM_VALUE | 0 | smap->map.objcg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | smap->map.objcg->memcg | 4096-ptr_max |
| PARAM_VALUE | 0 | smap->map.objcg->memcg->css.refcnt.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 0 | smap->map.ops | 4096-ptr_max |
| PARAM_VALUE | 0 | smap->map.ops->map_local_storage_charge | 0,6978601970515410944 |
| PARAM_VALUE | 0 | smap->map.ops->map_owner_storage_ptr | 0,4096-ptr_max |
| BUF_SIZE | 0 | smap | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | smap | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | smap | 1 |
| DATA_SOURCE | 0 | smap | $0 |
| DATA_SOURCE | 1 | owner | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | owner | unit_byte |
| HALF_LOCKED2 | rcu_read |
kernel/bpf/bpf_local_storage.c bpf_selem_unlink_storage_nolock_misc() -> mem_uncharge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smap | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 0-65719 |
| DATA_SOURCE | 0 | smap | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| NOCHECK_CALL | |||
| UNITS | 1 | owner | unit_byte |
| LOCK2 | flags | ||
| HALF_LOCKED2 | rcu_read |