Home
last modified time | relevance | path

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

/linux-6.6.21/Documentation/admin-guide/cgroup-v1/
Dmemcg_test.rst58 At try_charge(), there are no flags to say "this page is charged".
/linux-6.6.21/mm/
Dmemcontrol.c2827 static inline int try_charge(struct mem_cgroup *memcg, gfp_t gfp_mask, in try_charge() function
5642 ret = try_charge(mc.to, GFP_KERNEL & ~__GFP_DIRECT_RECLAIM, count); in mem_cgroup_do_precharge()
5650 ret = try_charge(mc.to, GFP_KERNEL | __GFP_NORETRY, 1); in mem_cgroup_do_precharge()
6997 ret = try_charge(memcg, gfp, nr_pages); in charge_memcg()
7327 if (try_charge(memcg, gfp_mask, nr_pages) == 0) { in mem_cgroup_charge_skmem()