Home
last modified time | relevance | path

Searched refs:MEMFILE_IDX (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.15/mm/
Dhugetlb_cgroup.c27 #define MEMFILE_IDX(val) (((val) >> 16) & 0xffff) macro
431 counter = &h_cg->hugepage[MEMFILE_IDX(cft->private)]; in hugetlb_cgroup_read_u64()
432 rsvd_counter = &h_cg->rsvd_hugepage[MEMFILE_IDX(cft->private)]; in hugetlb_cgroup_read_u64()
465 idx = MEMFILE_IDX(cft->private); in hugetlb_cgroup_read_u64_max()
515 idx = MEMFILE_IDX(of_cft(of)->private); in hugetlb_cgroup_write()
555 counter = &h_cg->hugepage[MEMFILE_IDX(of_cft(of)->private)]; in hugetlb_cgroup_reset()
556 rsvd_counter = &h_cg->rsvd_hugepage[MEMFILE_IDX(of_cft(of)->private)]; in hugetlb_cgroup_reset()
596 idx = MEMFILE_IDX(cft->private); in __hugetlb_events_show()