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 | 244 #define MEMFILE_PRIVATE(x, val) ((x) << 16 | (val)) macro 3921 .private = MEMFILE_PRIVATE(_MEM, RES_USAGE), 3926 .private = MEMFILE_PRIVATE(_MEM, RES_MAX_USAGE), 3932 .private = MEMFILE_PRIVATE(_MEM, RES_LIMIT), 3938 .private = MEMFILE_PRIVATE(_MEM, RES_SOFT_LIMIT), 3944 .private = MEMFILE_PRIVATE(_MEM, RES_FAILCNT), 3980 .private = MEMFILE_PRIVATE(_OOM_TYPE, OOM_CONTROL), 3993 .private = MEMFILE_PRIVATE(_KMEM, RES_LIMIT), 3999 .private = MEMFILE_PRIVATE(_KMEM, RES_USAGE), 4004 .private = MEMFILE_PRIVATE(_KMEM, RES_FAILCNT), [all …]
|