Searched refs:MEMFILE_PRIVATE (Results 1 – 2 of 2) sorted by relevance
/mm/ |
D | hugetlb_cgroup.c | 30 #define MEMFILE_PRIVATE(x, val) (((x) << 16) | (val)) macro 365 cft->private = MEMFILE_PRIVATE(idx, RES_LIMIT); in __hugetlb_cgroup_file_init() 372 cft->private = MEMFILE_PRIVATE(idx, RES_USAGE); in __hugetlb_cgroup_file_init() 378 cft->private = MEMFILE_PRIVATE(idx, RES_MAX_USAGE); in __hugetlb_cgroup_file_init() 385 cft->private = MEMFILE_PRIVATE(idx, RES_FAILCNT); in __hugetlb_cgroup_file_init()
|
D | memcontrol.c | 228 #define MEMFILE_PRIVATE(x, val) ((x) << 16 | (val)) macro 4757 .private = MEMFILE_PRIVATE(_MEM, RES_USAGE), 4762 .private = MEMFILE_PRIVATE(_MEM, RES_MAX_USAGE), 4768 .private = MEMFILE_PRIVATE(_MEM, RES_LIMIT), 4774 .private = MEMFILE_PRIVATE(_MEM, RES_SOFT_LIMIT), 4780 .private = MEMFILE_PRIVATE(_MEM, RES_FAILCNT), 4816 .private = MEMFILE_PRIVATE(_OOM_TYPE, OOM_CONTROL), 4829 .private = MEMFILE_PRIVATE(_KMEM, RES_LIMIT), 4835 .private = MEMFILE_PRIVATE(_KMEM, RES_USAGE), 4840 .private = MEMFILE_PRIVATE(_KMEM, RES_FAILCNT), [all …]
|