Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dslab.h282 struct obj_cgroup *objcg; in memcg_slab_pre_alloc_hook() local
303 static inline void mod_objcg_state(struct obj_cgroup *objcg, in mod_objcg_state()
318 struct obj_cgroup *objcg, in memcg_slab_post_alloc_hook()
355 struct obj_cgroup *objcg; in memcg_slab_free_hook() local
418 struct obj_cgroup *objcg, in memcg_slab_post_alloc_hook()
525 struct obj_cgroup *objcg, in slab_post_alloc_hook()
Dpercpu.c1585 struct obj_cgroup *objcg; in pcpu_memcg_pre_alloc_hook() local
1603 static void pcpu_memcg_post_alloc_hook(struct obj_cgroup *objcg, in pcpu_memcg_post_alloc_hook()
1625 struct obj_cgroup *objcg; in pcpu_memcg_free_hook() local
1650 static void pcpu_memcg_post_alloc_hook(struct obj_cgroup *objcg, in pcpu_memcg_post_alloc_hook()
1684 struct obj_cgroup *objcg = NULL; in pcpu_alloc() local
Dmemcontrol.c258 struct obj_cgroup *objcg = container_of(ref, struct obj_cgroup, refcnt); in obj_cgroup_release() local
302 struct obj_cgroup *objcg; in obj_cgroup_alloc() local
322 struct obj_cgroup *objcg, *iter; in memcg_reparent_objcgs() local
2979 struct obj_cgroup *objcg; in mem_cgroup_from_obj() local
2996 struct obj_cgroup *objcg = NULL; in get_obj_cgroup_from_current() local
3160 static bool consume_obj_stock(struct obj_cgroup *objcg, unsigned int nr_bytes) in consume_obj_stock()
3236 static void refill_obj_stock(struct obj_cgroup *objcg, unsigned int nr_bytes) in refill_obj_stock()
3258 int obj_cgroup_charge(struct obj_cgroup *objcg, gfp_t gfp, size_t size) in obj_cgroup_charge()
3298 void obj_cgroup_uncharge(struct obj_cgroup *objcg, size_t size) in obj_cgroup_uncharge()
3722 struct obj_cgroup *objcg; in memcg_online_kmem() local
Dslab.c3216 struct obj_cgroup *objcg = NULL; in slab_alloc_node() local
3296 struct obj_cgroup *objcg = NULL; in slab_alloc() local
3506 struct obj_cgroup *objcg = NULL; in kmem_cache_alloc_bulk() local
Dslub.c2822 struct obj_cgroup *objcg = NULL; in slab_alloc_node() local
3289 struct obj_cgroup *objcg = NULL; in kmem_cache_alloc_bulk() local
/kernel/linux/linux-5.10/include/linux/
Dmemcontrol.h315 struct obj_cgroup __rcu *objcg; member
519 static inline bool obj_cgroup_tryget(struct obj_cgroup *objcg) in obj_cgroup_tryget()
524 static inline void obj_cgroup_get(struct obj_cgroup *objcg) in obj_cgroup_get()
529 static inline void obj_cgroup_put(struct obj_cgroup *objcg) in obj_cgroup_put()
541 static inline struct mem_cgroup *obj_cgroup_memcg(struct obj_cgroup *objcg) in obj_cgroup_memcg()