Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dhugetlb_cgroup.c28 #define MEMFILE_ATTR(val) ((val) & 0xffff) macro
472 bool legacy = MEMFILE_ATTR(cft->private); in hugetlb_cgroup_read_numa_stat()
530 switch (MEMFILE_ATTR(cft->private)) { in hugetlb_cgroup_read_u64()
567 switch (MEMFILE_ATTR(cft->private)) { in hugetlb_cgroup_read_u64_max()
614 switch (MEMFILE_ATTR(of_cft(of)->private)) { in hugetlb_cgroup_write()
654 switch (MEMFILE_ATTR(of_cft(of)->private)) { in hugetlb_cgroup_reset()
H A Dmemcontrol.c216 #define MEMFILE_ATTR(val) ((val) & 0xffff) macro
3718 switch (MEMFILE_ATTR(cft->private)) { in mem_cgroup_read_u64()
3858 switch (MEMFILE_ATTR(of_cft(of)->private)) { in mem_cgroup_write()
3918 switch (MEMFILE_ATTR(of_cft(of)->private)) { in mem_cgroup_reset()