Searched refs:page_counter_try_charge (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/include/linux/
H A Dpage_counter.h39 int page_counter_try_charge(struct page_counter *counter,
/linux-4.1.27/mm/
H A Dpage_counter.c54 * page_counter_try_charge - try to hierarchically charge pages
62 int page_counter_try_charge(struct page_counter *counter, page_counter_try_charge() function
146 * ensures coherency with page_counter_try_charge(): page_counter_limit()
H A Dhugetlb_cgroup.c189 ret = page_counter_try_charge(&h_cg->hugepage[idx], nr_pages, &counter); hugetlb_cgroup_charge_cgroup()
H A Dmemcontrol.c2237 !page_counter_try_charge(&memcg->memsw, batch, &counter)) { try_charge()
2238 if (!page_counter_try_charge(&memcg->memory, batch, &counter)) try_charge()
2460 ret = page_counter_try_charge(&memcg->kmem, nr_pages, &counter); memcg_charge_kmem()

Completed in 247 milliseconds