Home
last modified time | relevance | path

Searched defs:objcg (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.15/mm/
Dslab.h275 struct obj_cgroup *objcg; in memcg_slab_pre_alloc_hook() local
297 struct obj_cgroup *objcg, in memcg_slab_post_alloc_hook()
336 struct obj_cgroup *objcg; in memcg_slab_free_hook() local
396 struct obj_cgroup *objcg, in memcg_slab_post_alloc_hook()
504 struct obj_cgroup *objcg, gfp_t flags, in slab_post_alloc_hook()
Dmemcontrol.c274 struct obj_cgroup *objcg = container_of(ref, struct obj_cgroup, refcnt); in obj_cgroup_release() local
316 struct obj_cgroup *objcg; in obj_cgroup_alloc() local
336 struct obj_cgroup *objcg, *iter; in memcg_reparent_objcgs() local
756 static inline void mod_objcg_mlstate(struct obj_cgroup *objcg, in mod_objcg_mlstate()
2751 static struct mem_cgroup *get_mem_cgroup_from_objcg(struct obj_cgroup *objcg) in get_mem_cgroup_from_objcg()
2835 struct obj_cgroup *objcg; in mem_cgroup_from_obj() local
2858 struct obj_cgroup *objcg = NULL; in get_obj_cgroup_from_current() local
2929 static void obj_cgroup_uncharge_pages(struct obj_cgroup *objcg, in obj_cgroup_uncharge_pages()
2951 static int obj_cgroup_charge_pages(struct obj_cgroup *objcg, gfp_t gfp, in obj_cgroup_charge_pages()
2995 struct obj_cgroup *objcg; in __memcg_kmem_charge_page() local
[all …]
Dpercpu.c1629 struct obj_cgroup *objcg; in pcpu_memcg_pre_alloc_hook() local
1647 static void pcpu_memcg_post_alloc_hook(struct obj_cgroup *objcg, in pcpu_memcg_post_alloc_hook()
1669 struct obj_cgroup *objcg; in pcpu_memcg_free_hook() local
1696 static void pcpu_memcg_post_alloc_hook(struct obj_cgroup *objcg, in pcpu_memcg_post_alloc_hook()
1728 struct obj_cgroup *objcg = NULL; in pcpu_alloc() local
Dslab.c3218 struct obj_cgroup *objcg = NULL; in slab_alloc_node() local
3302 struct obj_cgroup *objcg = NULL; in slab_alloc() local
3530 struct obj_cgroup *objcg = NULL; in kmem_cache_alloc_bulk() local
Dslub.c3124 struct obj_cgroup *objcg = NULL; in slab_alloc_node() local
3644 struct obj_cgroup *objcg = NULL; in kmem_cache_alloc_bulk() local
/Linux-v5.15/include/linux/
Dmemcontrol.h322 struct obj_cgroup __rcu *objcg; member
381 static inline struct mem_cgroup *obj_cgroup_memcg(struct obj_cgroup *objcg) in obj_cgroup_memcg()
473 struct obj_cgroup *objcg; in page_memcg_rcu() local
515 struct obj_cgroup *objcg; in page_memcg_check() local
792 static inline bool obj_cgroup_tryget(struct obj_cgroup *objcg) in obj_cgroup_tryget()
797 static inline void obj_cgroup_get(struct obj_cgroup *objcg) in obj_cgroup_get()
802 static inline void obj_cgroup_get_many(struct obj_cgroup *objcg, in obj_cgroup_get_many()
808 static inline void obj_cgroup_put(struct obj_cgroup *objcg) in obj_cgroup_put()