Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/memcontrol.c mem_cgroup_sk_uncharge() -> refill_stock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | memcg | 1-u64max |
| PARAM_VALUE | 1 | nr_pages | 1-1048575 |
| CAPPED_DATA | 1 | nr_pages | 1 |
| DATA_SOURCE | 1 | nr_pages | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | nr_pages | unit_page |
| HALF_LOCKED2 | sk |
mm/memcontrol.c obj_cgroup_uncharge_pages() -> refill_stock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | memcg | 4096-ptr_max |
| PARAM_VALUE | 0 | memcg->css.parent | 1-u64max |
| PARAM_VALUE | 0 | memcg->css.refcnt.percpu_count_ptr | 1-u64max |
| CAPPED_DATA | 0 | memcg | 1 |
| CAPPED_DATA | 1 | nr_pages | 1 |
| DATA_SOURCE | 1 | nr_pages | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | nr_pages | unit_page |
mm/memcontrol.c try_charge_memcg() -> refill_stock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | memcg | 4096-ptr_max |
| PARAM_VALUE | 1 | nr_pages | 1-u32max |
| DATA_SOURCE | 0 | memcg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | nr_pages | unit_page |