Home
last modified time | relevance | path

Searched refs:obj_cgroup (Results 1 – 10 of 10) sorted by relevance

/linux/include/linux/
H A Dmemcontrol.h28 struct obj_cgroup;
124 struct obj_cgroup __rcu *objcg;
125 struct obj_cgroup *orig_objcg;
185 struct obj_cgroup { struct
380 static inline struct mem_cgroup *obj_cgroup_memcg(struct obj_cgroup *objcg) in obj_cgroup_memcg()
394 static inline struct obj_cgroup *folio_objcg(struct folio *folio) in folio_objcg()
401 return (struct obj_cgroup *)(memcg_data & ~OBJEXTS_FLAGS_MASK); in folio_objcg()
434 struct obj_cgroup *objcg = folio_objcg(folio); in folio_memcg()
472 struct obj_cgroup *objcg; in folio_memcg_check()
489 static inline struct mem_cgroup *get_mem_cgroup_from_objcg(struct obj_cgroup *objcg) in get_mem_cgroup_from_objcg()
[all …]
H A Dbpf_mem_alloc.h14 struct obj_cgroup *objcg;
33 int bpf_mem_alloc_percpu_init(struct bpf_mem_alloc *ma, struct obj_cgroup *objcg);
H A Dsched.h1581 struct obj_cgroup *objcg;
H A Dbpf.h322 struct obj_cgroup *objcg;
/linux/mm/
H A Dmemcontrol.c151 struct obj_cgroup *objcg = container_of(ref, struct obj_cgroup, refcnt); in obj_cgroup_release()
196 static struct obj_cgroup *obj_cgroup_alloc(void) in obj_cgroup_alloc()
198 struct obj_cgroup *objcg; in obj_cgroup_alloc()
201 objcg = kzalloc_obj(struct obj_cgroup); in obj_cgroup_alloc()
215 static inline struct obj_cgroup *__memcg_reparent_objcgs(struct mem_cgroup *memcg, in __memcg_reparent_objcgs()
219 struct obj_cgroup *objcg, *iter; in __memcg_reparent_objcgs()
279 struct obj_cgroup *objcg; in memcg_reparent_objcgs()
2093 struct obj_cgroup *cached[NR_OBJ_STOCK];
2863 static void commit_charge(struct folio *folio, struct obj_cgroup *objcg) in commit_charge()
2909 static inline void mod_objcg_mlstate(struct obj_cgroup *objcg, in mod_objcg_mlstate()
[all …]
H A Dslab.h611 struct obj_cgroup *_objcg;
797 static inline struct obj_cgroup *
808 struct obj_cgroup *objcg) in slab_obj_ext_set_objcg()
H A Dpage_io.c160 struct obj_cgroup *objcg = get_obj_cgroup_from_folio(folio); in swap_zeromap_folio_set()
422 struct obj_cgroup *objcg; in swap_read_folio_zeromap()
H A Dzswap.c196 struct obj_cgroup *objcg;
1409 struct obj_cgroup *objcg, in zswap_store_page()
1492 struct obj_cgroup *objcg = NULL; in zswap_store()
H A Dmemcontrol-v1.c621 struct obj_cgroup *objcg; in __memcg1_swapout()
/linux/kernel/bpf/
H A Dmemalloc.c97 struct obj_cgroup *objcg;
543 struct obj_cgroup *objcg = NULL; in bpf_mem_alloc_init()
608 int bpf_mem_alloc_percpu_init(struct bpf_mem_alloc *ma, struct obj_cgroup *objcg) in bpf_mem_alloc_percpu_unit_init()
626 struct obj_cgroup *objcg; in drain_mem_cache()