Searched refs:obj_cgroup (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/include/linux/ |
D | memcontrol.h | 26 struct obj_cgroup; 193 struct obj_cgroup { struct 302 struct obj_cgroup __rcu *objcg; 368 static inline struct mem_cgroup *obj_cgroup_memcg(struct obj_cgroup *objcg) in obj_cgroup_memcg() 404 static inline struct obj_cgroup *__folio_objcg(struct folio *folio) in __folio_objcg() 412 return (struct obj_cgroup *)(memcg_data & ~MEMCG_DATA_FLAGS_MASK); in __folio_objcg() 467 struct obj_cgroup *objcg; in folio_memcg_rcu() 510 struct obj_cgroup *objcg; in folio_memcg_check() 526 static inline struct mem_cgroup *get_mem_cgroup_from_objcg(struct obj_cgroup *objcg) in get_mem_cgroup_from_objcg() 791 static inline bool obj_cgroup_tryget(struct obj_cgroup *objcg) in obj_cgroup_tryget() [all …]
|
D | bpf.h | 270 struct obj_cgroup *objcg;
|
/linux-6.6.21/mm/ |
D | slab.h | 440 static inline struct obj_cgroup **slab_objcgs(struct slab *slab) in slab_objcgs() 448 return (struct obj_cgroup **)(memcg_data & ~MEMCG_DATA_FLAGS_MASK); in slab_objcgs() 453 void mod_objcg_state(struct obj_cgroup *objcg, struct pglist_data *pgdat, 468 return s->size + sizeof(struct obj_cgroup *); in obj_full_size() 476 struct obj_cgroup **objcgp, in memcg_slab_pre_alloc_hook() 479 struct obj_cgroup *objcg; in memcg_slab_pre_alloc_hook() 514 struct obj_cgroup *objcg, in memcg_slab_post_alloc_hook() 551 struct obj_cgroup **objcgs; in memcg_slab_free_hook() 562 struct obj_cgroup *objcg; in memcg_slab_free_hook() 579 static inline struct obj_cgroup **slab_objcgs(struct slab *slab) in slab_objcgs() [all …]
|
D | percpu-internal.h | 68 struct obj_cgroup **obj_cgroups; /* vector of object cgroups */ 137 extra_size += size / PCPU_MIN_ALLOC_SIZE * sizeof(struct obj_cgroup *); in pcpu_obj_full_size()
|
D | memcontrol.c | 260 static void obj_cgroup_uncharge_pages(struct obj_cgroup *objcg, 265 struct obj_cgroup *objcg = container_of(ref, struct obj_cgroup, refcnt); in obj_cgroup_release() 305 static struct obj_cgroup *obj_cgroup_alloc(void) in obj_cgroup_alloc() 307 struct obj_cgroup *objcg; in obj_cgroup_alloc() 310 objcg = kzalloc(sizeof(struct obj_cgroup), GFP_KERNEL); in obj_cgroup_alloc() 327 struct obj_cgroup *objcg, *iter; in memcg_reparent_objcgs() 2185 struct obj_cgroup *cached_objcg; 2202 static struct obj_cgroup *drain_obj_stock(struct memcg_stock_pcp *stock); 2208 static inline struct obj_cgroup *drain_obj_stock(struct memcg_stock_pcp *stock) in drain_obj_stock() 2279 struct obj_cgroup *old = NULL; in drain_local_stock() [all …]
|
D | percpu.c | 1470 sizeof(struct obj_cgroup *), gfp); in pcpu_alloc_chunk() 1624 struct obj_cgroup **objcgp) in pcpu_memcg_pre_alloc_hook() 1626 struct obj_cgroup *objcg; in pcpu_memcg_pre_alloc_hook() 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() 1688 pcpu_memcg_pre_alloc_hook(size_t size, gfp_t gfp, struct obj_cgroup **objcgp) in pcpu_memcg_pre_alloc_hook() 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()
|
D | zswap.c | 211 struct obj_cgroup *objcg; 1203 struct obj_cgroup *objcg = NULL; in zswap_store()
|
D | slub.c | 3457 struct obj_cgroup *objcg = NULL; in slab_alloc_node() 3935 size_t size, void **p, struct obj_cgroup *objcg) in __kmem_cache_alloc_bulk() 4005 size_t size, void **p, struct obj_cgroup *objcg) in __kmem_cache_alloc_bulk() 4039 struct obj_cgroup *objcg = NULL; in kmem_cache_alloc_bulk()
|
D | slab.c | 3217 struct obj_cgroup *objcg = NULL; in slab_alloc_node() 3456 struct obj_cgroup *objcg = NULL; in kmem_cache_alloc_bulk()
|
/linux-6.6.21/mm/kfence/ |
D | kfence.h | 101 struct obj_cgroup *objcg;
|
/linux-6.6.21/kernel/bpf/ |
D | memalloc.c | 95 struct obj_cgroup *objcg; 501 struct obj_cgroup *objcg = NULL; in bpf_mem_alloc_init()
|