Home
last modified time | relevance | path

Searched defs:objcg (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/kernel/mm/
H A Dslab.h325 struct obj_cgroup *objcg; in memcg_slab_pre_alloc_hook() local
346 static inline void mod_objcg_state(struct obj_cgroup *objcg, in mod_objcg_state()
361 struct obj_cgroup *objcg, in memcg_slab_post_alloc_hook()
398 struct obj_cgroup *objcg; in memcg_slab_free_hook() local
461 struct obj_cgroup *objcg, in memcg_slab_post_alloc_hook()
568 struct obj_cgroup *objcg, gfp_t flags, in slab_post_alloc_hook()
H A Dpercpu.c1585 struct obj_cgroup *objcg; in pcpu_memcg_pre_alloc_hook() local
1603 static void pcpu_memcg_post_alloc_hook(struct obj_cgroup *objcg, in pcpu_memcg_post_alloc_hook()
1625 struct obj_cgroup *objcg; in pcpu_memcg_free_hook() local
1650 static void pcpu_memcg_post_alloc_hook(struct obj_cgroup *objcg, in pcpu_memcg_post_alloc_hook()
1684 struct obj_cgroup *objcg = NULL; in pcpu_alloc() local
H A Dmemcontrol.c258 struct obj_cgroup *objcg = container_of(ref, struct obj_cgroup, refcnt); in obj_cgroup_release() local
302 struct obj_cgroup *objcg; in obj_cgroup_alloc() local
322 struct obj_cgroup *objcg, *iter; in memcg_reparent_objcgs() local
2983 struct obj_cgroup *objcg; in mem_cgroup_from_obj() local
3000 struct obj_cgroup *objcg = NULL; in get_obj_cgroup_from_current() local
3164 static bool consume_obj_stock(struct obj_cgroup *objcg, unsigned int nr_bytes) in consume_obj_stock()
3240 static void refill_obj_stock(struct obj_cgroup *objcg, unsigned int nr_bytes) in refill_obj_stock()
3262 int obj_cgroup_charge(struct obj_cgroup *objcg, gfp_t gfp, size_t size) in obj_cgroup_charge()
3302 void obj_cgroup_uncharge(struct obj_cgroup *objcg, size_t size) in obj_cgroup_uncharge()
3726 struct obj_cgroup *objcg; in memcg_online_kmem() local
H A Dslab.c3216 struct obj_cgroup *objcg = NULL; in slab_alloc_node() local
3300 struct obj_cgroup *objcg = NULL; in slab_alloc() local
3529 struct obj_cgroup *objcg = NULL; in kmem_cache_alloc_bulk() local
H A Dslub.c2874 struct obj_cgroup *objcg = NULL; in slab_alloc_node() local
3356 struct obj_cgroup *objcg = NULL; in kmem_cache_alloc_bulk() local
/OK3568_Linux_fs/kernel/include/linux/
H A Dmemcontrol.h302 struct obj_cgroup __rcu *objcg; member
531 static inline bool obj_cgroup_tryget(struct obj_cgroup *objcg) in obj_cgroup_tryget()
536 static inline void obj_cgroup_get(struct obj_cgroup *objcg) in obj_cgroup_get()
541 static inline void obj_cgroup_put(struct obj_cgroup *objcg) in obj_cgroup_put()
553 static inline struct mem_cgroup *obj_cgroup_memcg(struct obj_cgroup *objcg) in obj_cgroup_memcg()