Searched refs:PAGE_COUNTER_MAX (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/include/linux/ |
D | page_counter.h | 33 #define PAGE_COUNTER_MAX LONG_MAX macro 35 #define PAGE_COUNTER_MAX (LONG_MAX / PAGE_SIZE) macro 42 counter->max = PAGE_COUNTER_MAX; in page_counter_init()
|
/kernel/linux/linux-5.10/mm/ |
D | page_counter.c | 251 *nr_pages = PAGE_COUNTER_MAX; in page_counter_memparse() 259 *nr_pages = min(bytes / PAGE_SIZE, (u64)PAGE_COUNTER_MAX); in page_counter_memparse()
|
D | memcontrol.c | 4141 memory = memsw = PAGE_COUNTER_MAX; in memcg_stat_show() 4656 *pheadroom = PAGE_COUNTER_MAX; in mem_cgroup_wb_stats() 5424 page_counter_set_high(&memcg->memory, PAGE_COUNTER_MAX); in mem_cgroup_css_alloc() 5425 memcg->soft_limit = PAGE_COUNTER_MAX; in mem_cgroup_css_alloc() 5426 page_counter_set_high(&memcg->swap, PAGE_COUNTER_MAX); in mem_cgroup_css_alloc() 5585 page_counter_set_max(&memcg->memory, PAGE_COUNTER_MAX); in mem_cgroup_css_reset() 5586 page_counter_set_max(&memcg->swap, PAGE_COUNTER_MAX); in mem_cgroup_css_reset() 5587 page_counter_set_max(&memcg->kmem, PAGE_COUNTER_MAX); in mem_cgroup_css_reset() 5588 page_counter_set_max(&memcg->tcpmem, PAGE_COUNTER_MAX); in mem_cgroup_css_reset() 5591 page_counter_set_high(&memcg->memory, PAGE_COUNTER_MAX); in mem_cgroup_css_reset() [all …]
|
D | hugetlb_cgroup.c | 115 limit = round_down(PAGE_COUNTER_MAX, in hugetlb_cgroup_init() 468 limit = round_down(PAGE_COUNTER_MAX, in hugetlb_cgroup_read_u64_max()
|