Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/bpf/syscall.c bpf_map_alloc_percpu() -> bpf_map_memcg_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 1-u64max |
| PARAM_VALUE | 0 | map->ops->map_update_batch | 0,7911141981172039680 |
| PARAM_VALUE | 1 | old_memcg | 3457391379380023296 |
| PARAM_VALUE | 2 | new_memcg | 6612525631067701248 |
| DATA_SOURCE | 0 | map | $0 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | map->max_entries |
kernel/bpf/syscall.c bpf_map_kmalloc_node() -> bpf_map_memcg_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->ops->map_update_batch | 0,7911141981172039680 |
| PARAM_VALUE | 1 | old_memcg | 8696268105997516800 |
| PARAM_VALUE | 2 | new_memcg | 445939531346350080 |
| BUF_SIZE | 0 | map | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | map | $0 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | map->value_size | |
| HALF_LOCKED2 | &bucket->lock | ||
| HALF_LOCKED2 | bh |
kernel/bpf/syscall.c bpf_map_kmalloc_nolock() -> bpf_map_memcg_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | old_memcg | 8510718858863108096 |
| PARAM_VALUE | 2 | new_memcg | 66748973582049280 |
| DATA_SOURCE | 0 | map | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
kernel/bpf/syscall.c bpf_map_kvcalloc() -> bpf_map_memcg_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 1-u64max |
| PARAM_VALUE | 0 | map->map_type | 0-35 |
| PARAM_VALUE | 1 | old_memcg | 5898599894623580160 |
| PARAM_VALUE | 2 | new_memcg | 5488053527592181760 |
| DATA_SOURCE | 0 | map | $0 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | map->max_entries |
kernel/bpf/syscall.c bpf_map_kzalloc() -> bpf_map_memcg_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->max_entries | 1-u32max |
| PARAM_VALUE | 1 | old_memcg | 6796659376778694656 |
| PARAM_VALUE | 2 | new_memcg | 6737878014311010304 |
| DATA_SOURCE | 0 | map | $0 |
| NOCHECK_CALL |
kernel/bpf/arena.c arena_alloc_pages() -> bpf_map_memcg_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 1 | old_memcg | 7508893132084424704 |
| PARAM_VALUE | 2 | new_memcg | 3496759330574200832 |
| NOCHECK_CALL |
kernel/bpf/arena.c arena_free_pages() -> bpf_map_memcg_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 1 | old_memcg | 6619929057585242112 |
| PARAM_VALUE | 2 | new_memcg | 3770217492316000256 |
| NOCHECK_CALL |
kernel/bpf/arena.c arena_free_worker() -> bpf_map_memcg_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 1 | old_memcg | 7194593583378481152 |
| PARAM_VALUE | 2 | new_memcg | 5437014876827684864 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock |
kernel/bpf/arena.c arena_reserve_pages() -> bpf_map_memcg_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 1 | old_memcg | 6335906849817071616 |
| PARAM_VALUE | 2 | new_memcg | 6716095156218294272 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | flags |
kernel/bpf/arena.c arena_vm_fault() -> bpf_map_memcg_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 1 | old_memcg | 6121846182157377536 |
| PARAM_VALUE | 2 | new_memcg | 7107143142612336640 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags |