Searched defs:objcg (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/mm/ |
D | slab.h | 284 struct obj_cgroup *objcg; in memcg_slab_pre_alloc_hook() local 305 static inline void mod_objcg_state(struct obj_cgroup *objcg, in mod_objcg_state() 320 struct obj_cgroup *objcg, in memcg_slab_post_alloc_hook() 358 struct obj_cgroup *objcg; in memcg_slab_free_hook() local 421 struct obj_cgroup *objcg, in memcg_slab_post_alloc_hook() 528 struct obj_cgroup *objcg, in slab_post_alloc_hook()
|
D | percpu.c | 1585 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
|
D | memcontrol.c | 257 struct obj_cgroup *objcg = container_of(ref, struct obj_cgroup, refcnt); in obj_cgroup_release() local 301 struct obj_cgroup *objcg; in obj_cgroup_alloc() local 321 struct obj_cgroup *objcg, *iter; in memcg_reparent_objcgs() local 2957 struct obj_cgroup *objcg; in mem_cgroup_from_obj() local 2974 struct obj_cgroup *objcg = NULL; in get_obj_cgroup_from_current() local 3139 static bool consume_obj_stock(struct obj_cgroup *objcg, unsigned int nr_bytes) in consume_obj_stock() 3207 static void refill_obj_stock(struct obj_cgroup *objcg, unsigned int nr_bytes) in refill_obj_stock() 3229 int obj_cgroup_charge(struct obj_cgroup *objcg, gfp_t gfp, size_t size) in obj_cgroup_charge() 3267 void obj_cgroup_uncharge(struct obj_cgroup *objcg, size_t size) in obj_cgroup_uncharge() 3692 struct obj_cgroup *objcg; in memcg_online_kmem() local
|
D | slab.c | 3217 struct obj_cgroup *objcg = NULL; in slab_alloc_node() local 3297 struct obj_cgroup *objcg = NULL; in slab_alloc() local 3507 struct obj_cgroup *objcg = NULL; in kmem_cache_alloc_bulk() local
|
D | slub.c | 2814 struct obj_cgroup *objcg = NULL; in slab_alloc_node() local 3279 struct obj_cgroup *objcg = NULL; in kmem_cache_alloc_bulk() local
|
/Linux-v5.10/include/linux/ |
D | memcontrol.h | 302 struct obj_cgroup __rcu *objcg; member 505 static inline bool obj_cgroup_tryget(struct obj_cgroup *objcg) in obj_cgroup_tryget() 510 static inline void obj_cgroup_get(struct obj_cgroup *objcg) in obj_cgroup_get() 515 static inline void obj_cgroup_put(struct obj_cgroup *objcg) in obj_cgroup_put() 527 static inline struct mem_cgroup *obj_cgroup_memcg(struct obj_cgroup *objcg) in obj_cgroup_memcg()
|