Home
last modified time | relevance | path

Searched refs:obj_cgroups (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/tools/cgroup/
H A Dmemcg_slabinfo.py182 obj_cgroups = set()
187 obj_cgroups.add(memcg.objcg.value_())
191 obj_cgroups.add(ptr.value_())
212 if objcg_vec[i].value_() in obj_cgroups:
/openbmc/linux/mm/
H A Dpercpu-internal.h68 struct obj_cgroup **obj_cgroups; /* vector of object cgroups */ member
H A Dpercpu.c1397 chunk->obj_cgroups = NULL; in pcpu_alloc_first_chunk()
1468 chunk->obj_cgroups = in pcpu_alloc_chunk()
1471 if (!chunk->obj_cgroups) in pcpu_alloc_chunk()
1502 pcpu_mem_free(chunk->obj_cgroups); in pcpu_free_chunk()
1651 if (likely(chunk && chunk->obj_cgroups)) { in pcpu_memcg_post_alloc_hook()
1652 chunk->obj_cgroups[off >> PCPU_MIN_ALLOC_SHIFT] = objcg; in pcpu_memcg_post_alloc_hook()
1668 if (unlikely(!chunk->obj_cgroups)) in pcpu_memcg_free_hook()
1671 objcg = chunk->obj_cgroups[off >> PCPU_MIN_ALLOC_SHIFT]; in pcpu_memcg_free_hook()
1674 chunk->obj_cgroups[off >> PCPU_MIN_ALLOC_SHIFT] = NULL; in pcpu_memcg_free_hook()