Lines Matching refs:obj_cgroup
258 struct obj_cgroup *objcg = container_of(ref, struct obj_cgroup, refcnt); in obj_cgroup_release()
300 static struct obj_cgroup *obj_cgroup_alloc(void) in obj_cgroup_alloc()
302 struct obj_cgroup *objcg; in obj_cgroup_alloc()
305 objcg = kzalloc(sizeof(struct obj_cgroup), GFP_KERNEL); in obj_cgroup_alloc()
322 struct obj_cgroup *objcg, *iter; in memcg_reparent_objcgs()
2240 struct obj_cgroup *cached_objcg;
2937 vec = kcalloc_node(objects, sizeof(struct obj_cgroup *), gfp, in memcg_alloc_page_obj_cgroups()
2943 (struct obj_cgroup **) ((unsigned long)vec | 0x1UL))) in memcg_alloc_page_obj_cgroups()
2983 struct obj_cgroup *objcg; in mem_cgroup_from_obj()
2998 __always_inline struct obj_cgroup *get_obj_cgroup_from_current(void) in get_obj_cgroup_from_current()
3000 struct obj_cgroup *objcg = NULL; in get_obj_cgroup_from_current()
3164 static bool consume_obj_stock(struct obj_cgroup *objcg, unsigned int nr_bytes) in consume_obj_stock()
3185 struct obj_cgroup *old = stock->cached_objcg; in drain_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()