Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dmemcontrol.c1702 struct obj_cgroup *cached_objcg; member
2701 if (READ_ONCE(stock->cached_objcg) != objcg) { in mod_objcg_state()
2706 WRITE_ONCE(stock->cached_objcg, objcg); in mod_objcg_state()
2759 if (objcg == READ_ONCE(stock->cached_objcg) && stock->nr_bytes >= nr_bytes) { in consume_obj_stock()
2771 struct obj_cgroup *old = READ_ONCE(stock->cached_objcg); in drain_obj_stock()
2825 WRITE_ONCE(stock->cached_objcg, NULL); in drain_obj_stock()
2836 struct obj_cgroup *objcg = READ_ONCE(stock->cached_objcg); in obj_stock_flush_required()
2859 if (READ_ONCE(stock->cached_objcg) != objcg) { /* reset if necessary */ in refill_obj_stock()
2862 WRITE_ONCE(stock->cached_objcg, objcg); in refill_obj_stock()