Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dmemcontrol.h26 struct obj_cgroup;
193 struct obj_cgroup { struct
302 struct obj_cgroup __rcu *objcg;
467 struct obj_cgroup *objcg; in folio_memcg_rcu()
510 struct obj_cgroup *objcg; in folio_memcg_check()
791 static inline bool obj_cgroup_tryget(struct obj_cgroup *objcg) in obj_cgroup_tryget()
796 static inline void obj_cgroup_get(struct obj_cgroup *objcg) in obj_cgroup_get()
807 static inline void obj_cgroup_put(struct obj_cgroup *objcg) in obj_cgroup_put()
1310 static inline void obj_cgroup_put(struct obj_cgroup *objcg) in obj_cgroup_put()
1752 struct obj_cgroup *get_obj_cgroup_from_current(void);
[all …]
H A Dbpf.h270 struct obj_cgroup *objcg;
/openbmc/linux/mm/
H A Dslab.h440 static inline struct obj_cgroup **slab_objcgs(struct slab *slab) in slab_objcgs()
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()
602 struct obj_cgroup **objcgp, in memcg_slab_pre_alloc_hook()
609 struct obj_cgroup *objcg, in memcg_slab_post_alloc_hook()
704 struct obj_cgroup **objcgp, in slab_pre_alloc_hook()
[all …]
H A Dpercpu-internal.h68 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()
H A Dmemcontrol.c265 struct obj_cgroup *objcg = container_of(ref, struct obj_cgroup, refcnt); in obj_cgroup_release()
307 struct obj_cgroup *objcg; in obj_cgroup_alloc()
327 struct obj_cgroup *objcg, *iter; in memcg_reparent_objcgs()
2279 struct obj_cgroup *old = NULL; in drain_local_stock()
2932 struct obj_cgroup **objcgs; in mem_cgroup_from_obj_folio()
3038 struct obj_cgroup *objcg; in get_obj_cgroup_from_folio()
3127 struct obj_cgroup *objcg; in __memcg_kmem_charge_page()
3151 struct obj_cgroup *objcg; in __memcg_kmem_uncharge_page()
3167 struct obj_cgroup *old = NULL; in mod_objcg_state()
3751 struct obj_cgroup *objcg; in memcg_online_kmem()
[all …]
H A Dpercpu.c1470 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()
H A Dzswap.c211 struct obj_cgroup *objcg;
1203 struct obj_cgroup *objcg = NULL; in zswap_store()
H A Dslub.c3457 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()
H A Dslab.c3217 struct obj_cgroup *objcg = NULL; in slab_alloc_node()
3456 struct obj_cgroup *objcg = NULL; in kmem_cache_alloc_bulk()
/openbmc/linux/mm/kfence/
H A Dkfence.h101 struct obj_cgroup *objcg;
/openbmc/linux/kernel/bpf/
H A Dmemalloc.c95 struct obj_cgroup *objcg;
501 struct obj_cgroup *objcg = NULL; in bpf_mem_alloc_init()