Lines Matching refs:objcg
209 * objcg - the obj_cgroup that the compressed memory is charged to
221 struct obj_cgroup *objcg;
719 return entry->objcg ? obj_cgroup_memcg(entry->objcg) : NULL;
910 if (entry->objcg) {
911 obj_cgroup_uncharge_zswap(entry->objcg, entry->length);
912 obj_cgroup_put(entry->objcg);
1182 if (entry->objcg)
1183 count_objcg_event(entry->objcg, ZSWPWB);
1504 struct obj_cgroup *objcg = NULL;
1517 objcg = get_obj_cgroup_from_folio(folio);
1518 if (objcg && !obj_cgroup_may_zswap(objcg)) {
1519 memcg = get_mem_cgroup_from_objcg(objcg);
1571 if (objcg) {
1572 memcg = get_mem_cgroup_from_objcg(objcg);
1585 entry->objcg = objcg;
1586 if (objcg) {
1587 obj_cgroup_charge_zswap(objcg, entry->length);
1588 /* Account before objcg ref is moved to tree */
1589 count_objcg_event(objcg, ZSWPOUT);
1621 if (objcg)
1622 obj_cgroup_put(objcg);
1684 if (entry->objcg)
1685 count_objcg_event(entry->objcg, ZSWPIN);