Lines Matching defs:objcg
198 * objcg - the obj_cgroup that the compressed memory is charged to
211 struct obj_cgroup *objcg;
389 if (entry->objcg) {
390 obj_cgroup_uncharge_zswap(entry->objcg, entry->length);
391 obj_cgroup_put(entry->objcg);
1203 struct obj_cgroup *objcg = NULL;
1244 objcg = get_obj_cgroup_from_folio(folio);
1245 if (objcg && !obj_cgroup_may_zswap(objcg))
1345 entry->objcg = objcg;
1346 if (objcg) {
1347 obj_cgroup_charge_zswap(objcg, entry->length);
1348 /* Account before objcg ref is moved to tree */
1349 count_objcg_event(objcg, ZSWPOUT);
1385 if (objcg)
1386 obj_cgroup_put(objcg);
1467 if (entry->objcg)
1468 count_objcg_event(entry->objcg, ZSWPIN);