Searched refs:obj_cgroup (Results 1 - 12 of 12) sorted by relevance
/linux-master/include/linux/ |
H A D | bpf_mem_alloc.h | 14 struct obj_cgroup *objcg; 31 int bpf_mem_alloc_percpu_init(struct bpf_mem_alloc *ma, struct obj_cgroup *objcg);
|
H A D | memcontrol.h | 28 struct obj_cgroup; 184 struct obj_cgroup { struct 304 struct obj_cgroup __rcu *objcg; 305 struct obj_cgroup *orig_objcg; 371 static inline struct mem_cgroup *obj_cgroup_memcg(struct obj_cgroup *objcg) 407 static inline struct obj_cgroup *__folio_objcg(struct folio *folio) 415 return (struct obj_cgroup *)(memcg_data & ~MEMCG_DATA_FLAGS_MASK); 470 struct obj_cgroup *objcg; 513 struct obj_cgroup *objcg; 529 static inline struct mem_cgroup *get_mem_cgroup_from_objcg(struct obj_cgroup *objc [all...] |
H A D | sched.h | 1457 struct obj_cgroup *objcg;
|
H A D | bpf.h | 277 struct obj_cgroup *objcg;
|
/linux-master/mm/ |
H A D | percpu-internal.h | 68 struct obj_cgroup **obj_cgroups; /* vector of object cgroups */ 129 * obj_cgroup membership if kmemcg is not disabled. Charge it too. 137 extra_size += size / PCPU_MIN_ALLOC_SIZE * sizeof(struct obj_cgroup *);
|
H A D | slab.h | 547 static inline struct obj_cgroup **slab_objcgs(struct slab *slab) 555 return (struct obj_cgroup **)(memcg_data & ~MEMCG_DATA_FLAGS_MASK); 560 void mod_objcg_state(struct obj_cgroup *objcg, struct pglist_data *pgdat, 563 static inline struct obj_cgroup **slab_objcgs(struct slab *slab)
|
H A D | memcontrol.c | 265 static void obj_cgroup_uncharge_pages(struct obj_cgroup *objcg, 270 struct obj_cgroup *objcg = container_of(ref, struct obj_cgroup, refcnt); 310 static struct obj_cgroup *obj_cgroup_alloc(void) 312 struct obj_cgroup *objcg; 315 objcg = kzalloc(sizeof(struct obj_cgroup), GFP_KERNEL); 332 struct obj_cgroup *objcg, *iter; 2262 struct obj_cgroup *cached_objcg; 2279 static struct obj_cgroup *drain_obj_stock(struct memcg_stock_pcp *stock); 2285 static inline struct obj_cgroup *drain_obj_stoc [all...] |
H A D | slub.c | 1885 * to store obj_cgroup membership. Charge it too. 1887 return s->size + sizeof(struct obj_cgroup *); 1895 struct obj_cgroup **objcgp, 1903 struct obj_cgroup *objcg = current_obj_cgroup(); 1931 struct obj_cgroup **objcgp, size_t objects, 1945 struct obj_cgroup *objcg, 1977 void memcg_slab_post_alloc_hook(struct kmem_cache *s, struct obj_cgroup *objcg, 1988 struct obj_cgroup **objcgs) 1991 struct obj_cgroup *objcg; 2011 struct obj_cgroup **objcg [all...] |
H A D | percpu.c | 1470 sizeof(struct obj_cgroup *), gfp); 1624 struct obj_cgroup **objcgp) 1626 struct obj_cgroup *objcg; 1642 static void pcpu_memcg_post_alloc_hook(struct obj_cgroup *objcg, 1664 struct obj_cgroup *objcg; 1686 pcpu_memcg_pre_alloc_hook(size_t size, gfp_t gfp, struct obj_cgroup **objcgp) 1691 static void pcpu_memcg_post_alloc_hook(struct obj_cgroup *objcg, 1723 struct obj_cgroup *objcg = NULL;
|
H A D | zswap.c | 209 * objcg - the obj_cgroup that the compressed memory is charged to 221 struct obj_cgroup *objcg; 1504 struct obj_cgroup *objcg = NULL;
|
/linux-master/mm/kfence/ |
H A D | kfence.h | 101 struct obj_cgroup *objcg;
|
/linux-master/kernel/bpf/ |
H A D | memalloc.c | 95 struct obj_cgroup *objcg; 517 struct obj_cgroup *objcg = NULL; 581 int bpf_mem_alloc_percpu_init(struct bpf_mem_alloc *ma, struct obj_cgroup *objcg) 599 struct obj_cgroup *objcg;
|
Completed in 436 milliseconds