Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dmemcontrol-v1.h13 static inline int try_charge(struct mem_cgroup *memcg, gfp_t gfp_mask, in try_charge() function
Dmemcontrol-v1.c636 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()
Dmemcontrol.c4472 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/
Dmemcg_test.rst58 At try_charge(), there are no flags to say "this page is charged".