Searched refs:MEMFILE_PRIVATE (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/mm/ |
D | hugetlb_cgroup.c | 26 #define MEMFILE_PRIVATE(x, val) (((x) << 16) | (val)) macro 726 cft->private = MEMFILE_PRIVATE(idx, RES_LIMIT); in __hugetlb_cgroup_file_dfl_init() 734 cft->private = MEMFILE_PRIVATE(idx, RES_RSVD_LIMIT); in __hugetlb_cgroup_file_dfl_init() 742 cft->private = MEMFILE_PRIVATE(idx, RES_USAGE); in __hugetlb_cgroup_file_dfl_init() 749 cft->private = MEMFILE_PRIVATE(idx, RES_RSVD_USAGE); in __hugetlb_cgroup_file_dfl_init() 756 cft->private = MEMFILE_PRIVATE(idx, 0); in __hugetlb_cgroup_file_dfl_init() 764 cft->private = MEMFILE_PRIVATE(idx, 0); in __hugetlb_cgroup_file_dfl_init() 773 cft->private = MEMFILE_PRIVATE(idx, 0); in __hugetlb_cgroup_file_dfl_init() 797 cft->private = MEMFILE_PRIVATE(idx, RES_LIMIT); in __hugetlb_cgroup_file_legacy_init() 804 cft->private = MEMFILE_PRIVATE(idx, RES_RSVD_LIMIT); in __hugetlb_cgroup_file_legacy_init() [all …]
|
D | memcontrol.c | 214 #define MEMFILE_PRIVATE(x, val) ((x) << 16 | (val)) macro 5018 .private = MEMFILE_PRIVATE(_MEM, RES_USAGE), 5023 .private = MEMFILE_PRIVATE(_MEM, RES_MAX_USAGE), 5029 .private = MEMFILE_PRIVATE(_MEM, RES_LIMIT), 5035 .private = MEMFILE_PRIVATE(_MEM, RES_SOFT_LIMIT), 5041 .private = MEMFILE_PRIVATE(_MEM, RES_FAILCNT), 5090 .private = MEMFILE_PRIVATE(_KMEM, RES_LIMIT), 5096 .private = MEMFILE_PRIVATE(_KMEM, RES_USAGE), 5101 .private = MEMFILE_PRIVATE(_KMEM, RES_FAILCNT), 5107 .private = MEMFILE_PRIVATE(_KMEM, RES_MAX_USAGE), [all …]
|