Home
last modified time | relevance | path

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

/mm/
Dhugetlb_cgroup.c30 #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()
Dmemcontrol.c228 #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 …]