Home
last modified time | relevance | path

Searched defs:objcg (Results 1 – 16 of 16) 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
2985 struct obj_cgroup *objcg; in mem_cgroup_from_obj() local
3002 struct obj_cgroup *objcg = NULL; in get_obj_cgroup_from_current() local
3166 static bool consume_obj_stock(struct obj_cgroup *objcg, unsigned int nr_bytes) in consume_obj_stock()
3242 static void refill_obj_stock(struct obj_cgroup *objcg, unsigned int nr_bytes) in refill_obj_stock()
3264 int obj_cgroup_charge(struct obj_cgroup *objcg, gfp_t gfp, size_t size) in obj_cgroup_charge()
3304 void obj_cgroup_uncharge(struct obj_cgroup *objcg, size_t size) in obj_cgroup_uncharge()
3728 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-6.6/include/linux/
Dmemcontrol.h316 struct obj_cgroup __rcu *objcg; member
382 static inline struct mem_cgroup *obj_cgroup_memcg(struct obj_cgroup *objcg) in obj_cgroup_memcg()
481 struct obj_cgroup *objcg; in folio_memcg_rcu() local
524 struct obj_cgroup *objcg; in folio_memcg_check() local
540 static inline struct mem_cgroup *get_mem_cgroup_from_objcg(struct obj_cgroup *objcg) in get_mem_cgroup_from_objcg()
811 static inline bool obj_cgroup_tryget(struct obj_cgroup *objcg) in obj_cgroup_tryget()
816 static inline void obj_cgroup_get(struct obj_cgroup *objcg) in obj_cgroup_get()
821 static inline void obj_cgroup_get_many(struct obj_cgroup *objcg, in obj_cgroup_get_many()
827 static inline void obj_cgroup_put(struct obj_cgroup *objcg) in obj_cgroup_put()
1359 static inline void obj_cgroup_put(struct obj_cgroup *objcg) in obj_cgroup_put()
[all …]
Dbpf.h270 struct obj_cgroup *objcg; member
/kernel/linux/linux-6.6/mm/
Dmemcontrol.c266 struct obj_cgroup *objcg = container_of(ref, struct obj_cgroup, refcnt); in obj_cgroup_release() local
308 struct obj_cgroup *objcg; in obj_cgroup_alloc() local
328 struct obj_cgroup *objcg, *iter; in memcg_reparent_objcgs() local
2907 static inline void mod_objcg_mlstate(struct obj_cgroup *objcg, in mod_objcg_mlstate()
3040 struct obj_cgroup *objcg = NULL; in __get_obj_cgroup_from_memcg() local
3053 struct obj_cgroup *objcg = NULL; in get_obj_cgroup_from_current() local
3071 struct obj_cgroup *objcg; in get_obj_cgroup_from_folio() local
3110 static void obj_cgroup_uncharge_pages(struct obj_cgroup *objcg, in obj_cgroup_uncharge_pages()
3131 static int obj_cgroup_charge_pages(struct obj_cgroup *objcg, gfp_t gfp, in obj_cgroup_charge_pages()
3160 struct obj_cgroup *objcg; in __memcg_kmem_charge_page() local
[all …]
Dslab.h484 struct obj_cgroup *objcg; in memcg_slab_pre_alloc_hook() local
519 struct obj_cgroup *objcg, in memcg_slab_post_alloc_hook()
567 struct obj_cgroup *objcg; in memcg_slab_free_hook() local
614 struct obj_cgroup *objcg, in memcg_slab_post_alloc_hook()
726 struct obj_cgroup *objcg, gfp_t flags, in slab_post_alloc_hook()
Dpercpu.c1626 struct obj_cgroup *objcg; in pcpu_memcg_pre_alloc_hook() local
1644 static void pcpu_memcg_post_alloc_hook(struct obj_cgroup *objcg, in pcpu_memcg_post_alloc_hook()
1666 struct obj_cgroup *objcg; in pcpu_memcg_free_hook() local
1693 static void pcpu_memcg_post_alloc_hook(struct obj_cgroup *objcg, in pcpu_memcg_post_alloc_hook()
1725 struct obj_cgroup *objcg = NULL; in pcpu_alloc() local
Dzswap.c211 struct obj_cgroup *objcg; member
1203 struct obj_cgroup *objcg = NULL; in zswap_store() local
Dslub.c3470 struct obj_cgroup *objcg = NULL; in slab_alloc_node() local
3948 size_t size, void **p, struct obj_cgroup *objcg) in __kmem_cache_alloc_bulk()
4018 size_t size, void **p, struct obj_cgroup *objcg) in __kmem_cache_alloc_bulk()
4052 struct obj_cgroup *objcg = NULL; in kmem_cache_alloc_bulk() local
Dslab.c3217 struct obj_cgroup *objcg = NULL; in slab_alloc_node() local
3456 struct obj_cgroup *objcg = NULL; in kmem_cache_alloc_bulk() local
/kernel/linux/linux-6.6/mm/kfence/
Dkfence.h101 struct obj_cgroup *objcg; member
/kernel/linux/linux-6.6/kernel/bpf/
Dmemalloc.c95 struct obj_cgroup *objcg; member
501 struct obj_cgroup *objcg = NULL; in bpf_mem_alloc_init() 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()