Searched refs:page_counter_read (Results 1 – 5 of 5) sorted by relevance
53 static inline unsigned long page_counter_read(struct page_counter *counter) in page_counter_read() function79 counter->watermark = page_counter_read(counter); in page_counter_reset_watermark()
675 page_counter_read(&memcg->memory); in mem_cgroup_below_low()684 page_counter_read(&memcg->memory); in mem_cgroup_below_min()
190 usage = page_counter_read(counter); in page_counter_set_max()197 if (page_counter_read(counter) <= usage) in page_counter_set_max()
541 unsigned long nr_pages = page_counter_read(&memcg->memory); in soft_limit_excess()1266 count = page_counter_read(&memcg->memory); in mem_cgroup_margin()1272 count = page_counter_read(&memcg->memsw); in mem_cgroup_margin()1504 K((u64)page_counter_read(&memcg->memory)), in mem_cgroup_print_oom_meminfo()1508 K((u64)page_counter_read(&memcg->swap)), in mem_cgroup_print_oom_meminfo()1512 K((u64)page_counter_read(&memcg->memsw)), in mem_cgroup_print_oom_meminfo()1515 K((u64)page_counter_read(&memcg->kmem)), in mem_cgroup_print_oom_meminfo()1553 return page_counter_read(&memcg->memory); in mem_cgroup_size()2280 if (page_counter_read(&memcg->memory) <= in reclaim_high()2380 overage = calculate_overage(page_counter_read(&memcg->memory), in mem_find_max_overage()[all …]
84 if (page_counter_read( in hugetlb_cgroup_have_usage()436 return (u64)page_counter_read(counter) * PAGE_SIZE; in hugetlb_cgroup_read_u64()438 return (u64)page_counter_read(rsvd_counter) * PAGE_SIZE; in hugetlb_cgroup_read_u64()476 val = (u64)page_counter_read(counter); in hugetlb_cgroup_read_u64_max()