Searched refs:rsvd_counter (Results 1 – 1 of 1) sorted by relevance
525 struct page_counter *rsvd_counter; in hugetlb_cgroup_read_u64() local529 rsvd_counter = &h_cg->rsvd_hugepage[MEMFILE_IDX(cft->private)]; in hugetlb_cgroup_read_u64()535 return (u64)page_counter_read(rsvd_counter) * PAGE_SIZE; in hugetlb_cgroup_read_u64()539 return (u64)rsvd_counter->max * PAGE_SIZE; in hugetlb_cgroup_read_u64()543 return (u64)rsvd_counter->watermark * PAGE_SIZE; in hugetlb_cgroup_read_u64()547 return rsvd_counter->failcnt; in hugetlb_cgroup_read_u64()649 struct page_counter *counter, *rsvd_counter; in hugetlb_cgroup_reset() local653 rsvd_counter = &h_cg->rsvd_hugepage[MEMFILE_IDX(of_cft(of)->private)]; in hugetlb_cgroup_reset()660 page_counter_reset_watermark(rsvd_counter); in hugetlb_cgroup_reset()666 rsvd_counter->failcnt = 0; in hugetlb_cgroup_reset()