Searched refs:page_counter_limit (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/include/linux/
H A Dpage_counter.h43 int page_counter_limit(struct page_counter *counter, unsigned long limit);
/linux-4.1.27/mm/
H A Dpage_counter.c80 * the limit. When racing with page_counter_limit(), page_counter_try_charge()
125 * page_counter_limit - limit the number of pages allowed
134 int page_counter_limit(struct page_counter *counter, unsigned long limit) page_counter_limit() function
H A Dhugetlb_cgroup.c291 ret = page_counter_limit(&h_cg->hugepage[idx], nr_pages); hugetlb_cgroup_write()
H A Dmemcontrol.c2859 ret = page_counter_limit(&memcg->memory, limit); mem_cgroup_resize_limit()
2910 ret = page_counter_limit(&memcg->memsw, limit); mem_cgroup_resize_memsw_limit()
3236 err = page_counter_limit(&memcg->kmem, nr_pages); memcg_activate_kmem()
3262 ret = page_counter_limit(&memcg->kmem, limit); memcg_update_kmem_limit()
/linux-4.1.27/net/ipv4/
H A Dtcp_memcontrol.c67 ret = page_counter_limit(&cg_proto->memory_allocated, nr_pages); tcp_update_limit()

Completed in 220 milliseconds