Searched refs:try_charge (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/mm/ |
D | memcontrol-v1.h | 13 static inline int try_charge(struct mem_cgroup *memcg, gfp_t gfp_mask, in try_charge() function
|
D | memcontrol-v1.c | 636 ret = try_charge(mc.to, GFP_KERNEL & ~__GFP_DIRECT_RECLAIM, count); in mem_cgroup_do_precharge() 644 ret = try_charge(mc.to, GFP_KERNEL | __GFP_NORETRY, 1); in mem_cgroup_do_precharge()
|
D | memcontrol.c | 4472 ret = try_charge(memcg, gfp, folio_nr_pages(folio)); in charge_memcg() 4522 if (try_charge(memcg, gfp, nr_pages)) in mem_cgroup_hugetlb_try_charge() 4847 if (try_charge(memcg, gfp_mask, nr_pages) == 0) { in mem_cgroup_charge_skmem()
|
/linux-6.12.1/Documentation/admin-guide/cgroup-v1/ |
D | memcg_test.rst | 58 At try_charge(), there are no flags to say "this page is charged".
|