Searched refs:cft (Results 1 – 2 of 2) sorted by relevance
265 struct cftype *cft) in hugetlb_cgroup_read_u64() argument270 counter = &h_cg->hugepage[MEMFILE_IDX(cft->private)]; in hugetlb_cgroup_read_u64()272 switch (MEMFILE_ATTR(cft->private)) { in hugetlb_cgroup_read_u64()356 struct cftype *cft; in __hugetlb_cgroup_file_init() local363 cft = &h->cgroup_files[0]; in __hugetlb_cgroup_file_init()364 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.limit_in_bytes", buf); in __hugetlb_cgroup_file_init()365 cft->private = MEMFILE_PRIVATE(idx, RES_LIMIT); in __hugetlb_cgroup_file_init()366 cft->read_u64 = hugetlb_cgroup_read_u64; in __hugetlb_cgroup_file_init()367 cft->write = hugetlb_cgroup_write; in __hugetlb_cgroup_file_init()370 cft = &h->cgroup_files[1]; in __hugetlb_cgroup_file_init()[all …]
3303 struct cftype *cft) in mem_cgroup_hierarchy_read() argument3309 struct cftype *cft, u64 val) in mem_cgroup_hierarchy_write() argument3365 struct cftype *cft) in mem_cgroup_read_u64() argument3370 switch (MEMFILE_TYPE(cft->private)) { in mem_cgroup_read_u64()3387 switch (MEMFILE_ATTR(cft->private)) { in mem_cgroup_read_u64()3694 struct cftype *cft) in mem_cgroup_move_charge_read() argument3701 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write() argument3719 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write() argument3933 struct cftype *cft) in mem_cgroup_swappiness_read() argument3941 struct cftype *cft, u64 val) in mem_cgroup_swappiness_write() argument[all …]