Searched refs:of_cft (Results 1 – 7 of 7) sorted by relevance
610 idx = MEMFILE_IDX(of_cft(of)->private); in hugetlb_cgroup_write()613 switch (MEMFILE_ATTR(of_cft(of)->private)) { in hugetlb_cgroup_write()650 counter = &h_cg->hugepage[MEMFILE_IDX(of_cft(of)->private)]; in hugetlb_cgroup_reset()651 rsvd_counter = &h_cg->rsvd_hugepage[MEMFILE_IDX(of_cft(of)->private)]; in hugetlb_cgroup_reset()653 switch (MEMFILE_ATTR(of_cft(of)->private)) { in hugetlb_cgroup_reset()
3830 switch (MEMFILE_ATTR(of_cft(of)->private)) { in mem_cgroup_write()3836 switch (MEMFILE_TYPE(of_cft(of)->private)) { in mem_cgroup_write()3870 switch (MEMFILE_TYPE(of_cft(of)->private)) { in mem_cgroup_reset()3887 switch (MEMFILE_ATTR(of_cft(of)->private)) { in mem_cgroup_reset()
644 static inline struct cftype *of_cft(struct kernfs_open_file *of) in of_cft() function654 return of_cft(seq->private); in seq_cft()
766 of_cft(of)->private, strstrip(buf)); in devcgroup_access_write()
1397 *(u64 *)((void *)tg + of_cft(of)->private) = v; in tg_set_conf()1399 *(unsigned int *)((void *)tg + of_cft(of)->private) = v; in tg_set_conf()1574 int index = of_cft(of)->private; in tg_set_limit()
654 struct cftype *cft = of_cft(of); in of_css()3999 struct cftype *cft = of_cft(of); in cgroup_file_open()4024 struct cftype *cft = of_cft(of); in cgroup_file_release()4038 struct cftype *cft = of_cft(of); in cgroup_file_write()4088 struct cftype *cft = of_cft(of); in cgroup_file_poll()
2714 switch (of_cft(of)->private) { in cpuset_write_resmask()