Defined in 2 files as a function:
- include/linux/memcontrol.h, line 1787 (as a function)
- include/linux/memcontrol.h, line 1862 (as a function)
Referenced in 2 files:
Smatch caller information:
mm/page_io.c swap_read_folio_zeromap() -> count_objcg_events()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | objcg | 4096-ptr_max |
| PARAM_VALUE | 0 | objcg->refcnt.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 1 | idx | 101 |
| PARAM_VALUE | 2 | count | 1-s32max |
| CAPPED_DATA | 2 | count | 1 |
| DATA_SOURCE | 0 | objcg | r get_obj_cgroup_from_folio |
| DATA_SOURCE | 2 | count | r folio_nr_pages |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
mm/page_io.c swap_zeromap_folio_set() -> count_objcg_events()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | objcg | 4096-ptr_max |
| PARAM_VALUE | 0 | objcg->refcnt.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 1 | idx | 102 |
| PARAM_VALUE | 2 | count | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 0 | objcg | r get_obj_cgroup_from_folio |
| DATA_SOURCE | 2 | count | r folio_nr_pages |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
mm/zswap.c zswap_load() -> count_objcg_events()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | objcg | 1-u64max |
| PARAM_VALUE | 1 | idx | 105 |
| PARAM_VALUE | 2 | count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
mm/zswap.c zswap_store() -> count_objcg_events()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | objcg | 4096-ptr_max |
| PARAM_VALUE | 0 | objcg->memcg | 4096-ptr_max |
| PARAM_VALUE | 0 | objcg->memcg->css.flags | 1-u32max |
| PARAM_VALUE | 0 | objcg->memcg->css.refcnt.data | 0,4096-ptr_max |
| PARAM_VALUE | 1 | idx | 106 |
| PARAM_VALUE | 2 | count | 0-u32max |
| CAPPED_DATA | 2 | count | 1 |
| DATA_SOURCE | 0 | objcg | r get_obj_cgroup_from_folio |
| DATA_SOURCE | 2 | count | r folio_nr_pages |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
mm/zswap.c zswap_writeback_entry() -> count_objcg_events()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | objcg | 1-u64max |
| PARAM_VALUE | 1 | idx | 107 |
| PARAM_VALUE | 2 | count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |