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

/linux-4.4.14/mm/
H A Dhugetlb_cgroup.c30 #define MEMFILE_PRIVATE(x, val) (((x) << 16) | (val)) macro
348 cft->private = MEMFILE_PRIVATE(idx, RES_LIMIT); __hugetlb_cgroup_file_init()
355 cft->private = MEMFILE_PRIVATE(idx, RES_USAGE); __hugetlb_cgroup_file_init()
361 cft->private = MEMFILE_PRIVATE(idx, RES_MAX_USAGE); __hugetlb_cgroup_file_init()
368 cft->private = MEMFILE_PRIVATE(idx, RES_FAILCNT); __hugetlb_cgroup_file_init()
H A Dmemcontrol.c236 #define MEMFILE_PRIVATE(x, val) ((x) << 16 | (val)) macro
4020 .private = MEMFILE_PRIVATE(_MEM, RES_USAGE),
4025 .private = MEMFILE_PRIVATE(_MEM, RES_MAX_USAGE),
4031 .private = MEMFILE_PRIVATE(_MEM, RES_LIMIT),
4037 .private = MEMFILE_PRIVATE(_MEM, RES_SOFT_LIMIT),
4043 .private = MEMFILE_PRIVATE(_MEM, RES_FAILCNT),
4079 .private = MEMFILE_PRIVATE(_OOM_TYPE, OOM_CONTROL),
4093 .private = MEMFILE_PRIVATE(_KMEM, RES_LIMIT),
4099 .private = MEMFILE_PRIVATE(_KMEM, RES_USAGE),
4104 .private = MEMFILE_PRIVATE(_KMEM, RES_FAILCNT),
4110 .private = MEMFILE_PRIVATE(_KMEM, RES_MAX_USAGE),
5754 .private = MEMFILE_PRIVATE(_MEMSWAP, RES_USAGE),
5759 .private = MEMFILE_PRIVATE(_MEMSWAP, RES_MAX_USAGE),
5765 .private = MEMFILE_PRIVATE(_MEMSWAP, RES_LIMIT),
5771 .private = MEMFILE_PRIVATE(_MEMSWAP, RES_FAILCNT),

Completed in 105 milliseconds