Searched defs:objcg (Results 1 – 10 of 10) sorted by relevance
/linux-6.8/include/linux/ |
D | memcontrol.h | 303 struct obj_cgroup __rcu *objcg; member 370 static inline struct mem_cgroup *obj_cgroup_memcg(struct obj_cgroup *objcg) in obj_cgroup_memcg() 469 struct obj_cgroup *objcg; in folio_memcg_rcu() local 512 struct obj_cgroup *objcg; in folio_memcg_check() local 528 static inline struct mem_cgroup *get_mem_cgroup_from_objcg(struct obj_cgroup *objcg) in get_mem_cgroup_from_objcg() 804 static inline bool obj_cgroup_tryget(struct obj_cgroup *objcg) in obj_cgroup_tryget() 809 static inline void obj_cgroup_get(struct obj_cgroup *objcg) in obj_cgroup_get() 814 static inline void obj_cgroup_get_many(struct obj_cgroup *objcg, in obj_cgroup_get_many() 820 static inline void obj_cgroup_put(struct obj_cgroup *objcg) in obj_cgroup_put() 1201 static inline struct mem_cgroup *get_mem_cgroup_from_objcg(struct obj_cgroup *objcg) in get_mem_cgroup_from_objcg() [all …]
|
D | bpf_mem_alloc.h | 14 struct obj_cgroup *objcg; member
|
D | sched.h | 1454 struct obj_cgroup *objcg; member
|
D | bpf.h | 272 struct obj_cgroup *objcg; member
|
/linux-6.8/mm/ |
D | memcontrol.c | 269 struct obj_cgroup *objcg = container_of(ref, struct obj_cgroup, refcnt); in obj_cgroup_release() local 311 struct obj_cgroup *objcg; in obj_cgroup_alloc() local 331 struct obj_cgroup *objcg, *iter; in memcg_reparent_objcgs() local 2992 static inline void mod_objcg_mlstate(struct obj_cgroup *objcg, in mod_objcg_mlstate() 3125 struct obj_cgroup *objcg = NULL; in __get_obj_cgroup_from_memcg() local 3139 struct obj_cgroup *old, *objcg = NULL; in current_objcg_update() local 3191 struct obj_cgroup *objcg; in current_obj_cgroup() local 3233 struct obj_cgroup *objcg; in get_obj_cgroup_from_folio() local 3272 static void obj_cgroup_uncharge_pages(struct obj_cgroup *objcg, in obj_cgroup_uncharge_pages() 3293 static int obj_cgroup_charge_pages(struct obj_cgroup *objcg, gfp_t gfp, in obj_cgroup_charge_pages() [all …]
|
D | percpu.c | 1626 struct obj_cgroup *objcg; in pcpu_memcg_pre_alloc_hook() local 1642 static void pcpu_memcg_post_alloc_hook(struct obj_cgroup *objcg, in pcpu_memcg_post_alloc_hook() 1664 struct obj_cgroup *objcg; in pcpu_memcg_free_hook() local 1691 static void pcpu_memcg_post_alloc_hook(struct obj_cgroup *objcg, in pcpu_memcg_post_alloc_hook() 1723 struct obj_cgroup *objcg = NULL; in pcpu_alloc() local
|
D | slub.c | 1913 struct obj_cgroup *objcg = current_obj_cgroup(); in __memcg_slab_pre_alloc_hook() local 1955 struct obj_cgroup *objcg, in __memcg_slab_post_alloc_hook() 1987 void memcg_slab_post_alloc_hook(struct kmem_cache *s, struct obj_cgroup *objcg, in memcg_slab_post_alloc_hook() 2001 struct obj_cgroup *objcg; in __memcg_slab_free_hook() local 2035 struct obj_cgroup *objcg) in memcg_slab_alloc_error_hook() 2059 struct obj_cgroup *objcg, in memcg_slab_post_alloc_hook() 2072 struct obj_cgroup *objcg) in memcg_slab_alloc_error_hook() 3773 void slab_post_alloc_hook(struct kmem_cache *s, struct obj_cgroup *objcg, in slab_post_alloc_hook() 3839 struct obj_cgroup *objcg = NULL; in slab_alloc_node() local 4638 struct obj_cgroup *objcg = NULL; in kmem_cache_alloc_bulk() local
|
D | zswap.c | 227 struct obj_cgroup *objcg; member 1503 struct obj_cgroup *objcg = NULL; in zswap_store() local
|
/linux-6.8/kernel/bpf/ |
D | memalloc.c | 95 struct obj_cgroup *objcg; member 517 struct obj_cgroup *objcg = NULL; in bpf_mem_alloc_init() local 581 int bpf_mem_alloc_percpu_init(struct bpf_mem_alloc *ma, struct obj_cgroup *objcg) in bpf_mem_alloc_percpu_init() 599 struct obj_cgroup *objcg; in bpf_mem_alloc_percpu_unit_init() local
|
/linux-6.8/mm/kfence/ |
D | kfence.h | 101 struct obj_cgroup *objcg; member
|