Searched refs:page_counter_read (Results 1 – 6 of 6) sorted by relevance
212 usage = page_counter_read(counter); in page_counter_set_max()219 if (page_counter_read(counter) <= usage || nr_pages >= old) in page_counter_set_max()439 usage = page_counter_read(counter); in page_counter_calculate_protection()449 parent_usage = page_counter_read(parent); in page_counter_calculate_protection()
1294 count = page_counter_read(&memcg->memory); in mem_cgroup_margin()1300 count = page_counter_read(&memcg->memsw); in mem_cgroup_margin()1525 K((u64)page_counter_read(&memcg->memory)), in mem_cgroup_print_oom_meminfo()1529 K((u64)page_counter_read(&memcg->swap)), in mem_cgroup_print_oom_meminfo()1534 K((u64)page_counter_read(&memcg->memsw)), in mem_cgroup_print_oom_meminfo()1537 K((u64)page_counter_read(&memcg->kmem)), in mem_cgroup_print_oom_meminfo()1574 return page_counter_read(&memcg->memory); in mem_cgroup_size()1892 if (page_counter_read(&memcg->memory) <= in reclaim_high()1994 overage = calculate_overage(page_counter_read(&memcg->memory), in mem_find_max_overage()2008 overage = calculate_overage(page_counter_read(&memcg->swap), in swap_find_max_overage()[all …]
91 if (page_counter_read( in hugetlb_cgroup_have_usage()498 page_counter_read(&h_cg->hugepage[idx]) * PAGE_SIZE); in hugetlb_cgroup_read_numa_stat()533 return (u64)page_counter_read(counter) * PAGE_SIZE; in hugetlb_cgroup_read_u64()535 return (u64)page_counter_read(rsvd_counter) * PAGE_SIZE; in hugetlb_cgroup_read_u64()573 val = (u64)page_counter_read(counter); in hugetlb_cgroup_read_u64_max()
194 unsigned long nr_pages = page_counter_read(&memcg->memory); in soft_limit_excess()2401 while (nr_retries && page_counter_read(&memcg->memory)) { in mem_cgroup_force_empty()2472 return (u64)page_counter_read(counter) * PAGE_SIZE; in mem_cgroup_read_u64()
63 static inline unsigned long page_counter_read(struct page_counter *counter) in page_counter_read() function89 unsigned long usage = page_counter_read(counter); in page_counter_reset_watermark()
658 page_counter_read(&memcg->memory); in mem_cgroup_below_low()668 page_counter_read(&memcg->memory); in mem_cgroup_below_min()