Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
mm/memcontrol.c mem_cgroup_css_alloc() -> page_counter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| PARAM_VALUE | 1 | parent | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &cgroup_mutex |
mm/memcontrol.c mem_cgroup_css_alloc() -> page_counter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| PARAM_VALUE | 1 | parent | 4096-ptr_max |
| PARAM_VALUE | 2 | protection_support | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &cgroup_mutex |
mm/memcontrol.c mem_cgroup_css_alloc() -> page_counter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| PARAM_VALUE | 1 | parent | 4096-ptr_max |
| PARAM_VALUE | 2 | protection_support | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &cgroup_mutex |
mm/memcontrol.c mem_cgroup_css_alloc() -> page_counter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| PARAM_VALUE | 1 | parent | 4096-ptr_max |
| PARAM_VALUE | 2 | protection_support | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &cgroup_mutex |
mm/memcontrol.c mem_cgroup_css_alloc() -> page_counter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| PARAM_VALUE | 1 | parent | 0 |
| PARAM_VALUE | 2 | protection_support | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &cgroup_mutex |
mm/memcontrol.c mem_cgroup_css_alloc() -> page_counter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| PARAM_VALUE | 1 | parent | 0 |
| PARAM_VALUE | 2 | protection_support | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &cgroup_mutex |
mm/memcontrol.c mem_cgroup_css_alloc() -> page_counter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| PARAM_VALUE | 1 | parent | 0 |
| PARAM_VALUE | 2 | protection_support | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &cgroup_mutex |
mm/memcontrol.c mem_cgroup_css_alloc() -> page_counter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| PARAM_VALUE | 1 | parent | 0 |
| PARAM_VALUE | 2 | protection_support | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &cgroup_mutex |
kernel/cgroup/dmem.c alloc_pool_single() -> page_counter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| PARAM_VALUE | 1 | parent | 0,4096-ptr_max |
| PARAM_VALUE | 2 | protection_support | 1 |
| BUF_SIZE | 1 | parent | 0,12288 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &dmemcg_lock | ||
| HALF_LOCKED2 | &of->mutex |
mm/hugetlb_cgroup.c hugetlb_cgroup_init() -> page_counter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| PARAM_VALUE | 1 | parent | 0,4096-ptr_max |
| PARAM_VALUE | 2 | protection_support | 0 |
| DATA_SOURCE | 0 | counter | r hugetlb_cgroup_counter_from_cgroup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &cgroup_mutex |
mm/hugetlb_cgroup.c hugetlb_cgroup_init() -> page_counter_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| PARAM_VALUE | 1 | parent | 0,4096-ptr_max |
| PARAM_VALUE | 2 | protection_support | 0 |
| DATA_SOURCE | 0 | counter | r hugetlb_cgroup_counter_from_cgroup_rsvd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &cgroup_mutex |