Searched refs:MEMFILE_PRIVATE (Results 1 – 2 of 2) sorted by relevance
/mm/ |
D | hugetlb_cgroup.c | 26 #define MEMFILE_PRIVATE(x, val) (((x) << 16) | (val)) macro 630 cft->private = MEMFILE_PRIVATE(idx, RES_LIMIT); in __hugetlb_cgroup_file_dfl_init() 638 cft->private = MEMFILE_PRIVATE(idx, RES_RSVD_LIMIT); in __hugetlb_cgroup_file_dfl_init() 646 cft->private = MEMFILE_PRIVATE(idx, RES_USAGE); in __hugetlb_cgroup_file_dfl_init() 653 cft->private = MEMFILE_PRIVATE(idx, RES_RSVD_USAGE); in __hugetlb_cgroup_file_dfl_init() 660 cft->private = MEMFILE_PRIVATE(idx, 0); in __hugetlb_cgroup_file_dfl_init() 668 cft->private = MEMFILE_PRIVATE(idx, 0); in __hugetlb_cgroup_file_dfl_init() 694 cft->private = MEMFILE_PRIVATE(idx, RES_LIMIT); in __hugetlb_cgroup_file_legacy_init() 701 cft->private = MEMFILE_PRIVATE(idx, RES_RSVD_LIMIT); in __hugetlb_cgroup_file_legacy_init() 708 cft->private = MEMFILE_PRIVATE(idx, RES_USAGE); in __hugetlb_cgroup_file_legacy_init() [all …]
|
D | memcontrol.c | 214 #define MEMFILE_PRIVATE(x, val) ((x) << 16 | (val)) macro 5045 .private = MEMFILE_PRIVATE(_MEM, RES_USAGE), 5050 .private = MEMFILE_PRIVATE(_MEM, RES_MAX_USAGE), 5056 .private = MEMFILE_PRIVATE(_MEM, RES_LIMIT), 5062 .private = MEMFILE_PRIVATE(_MEM, RES_SOFT_LIMIT), 5068 .private = MEMFILE_PRIVATE(_MEM, RES_FAILCNT), 5104 .private = MEMFILE_PRIVATE(_OOM_TYPE, OOM_CONTROL), 5117 .private = MEMFILE_PRIVATE(_KMEM, RES_LIMIT), 5123 .private = MEMFILE_PRIVATE(_KMEM, RES_USAGE), 5128 .private = MEMFILE_PRIVATE(_KMEM, RES_FAILCNT), [all …]
|