Searched refs:of_cft (Results 1 – 6 of 6) sorted by relevance
600 idx = MEMFILE_IDX(of_cft(of)->private); in hugetlb_cgroup_write()603 switch (MEMFILE_ATTR(of_cft(of)->private)) { in hugetlb_cgroup_write()640 counter = &h_cg->hugepage[MEMFILE_IDX(of_cft(of)->private)]; in hugetlb_cgroup_reset()641 rsvd_counter = &h_cg->rsvd_hugepage[MEMFILE_IDX(of_cft(of)->private)]; in hugetlb_cgroup_reset()643 switch (MEMFILE_ATTR(of_cft(of)->private)) { in hugetlb_cgroup_reset()
1676 switch (MEMFILE_ATTR(of_cft(of)->private)) { in mem_cgroup_write()1682 switch (MEMFILE_TYPE(of_cft(of)->private)) { in mem_cgroup_write()1725 switch (MEMFILE_TYPE(of_cft(of)->private)) { in mem_cgroup_reset()1742 switch (MEMFILE_ATTR(of_cft(of)->private)) { in mem_cgroup_reset()
595 static inline struct cftype *of_cft(struct kernfs_open_file *of) in of_cft() function605 return of_cft(seq->private); in seq_cft()
785 of_cft(of)->private, strstrip(buf)); in devcgroup_access_write()
688 struct cftype *cft = of_cft(of); in of_css()4251 struct cftype *cft = of_cft(of); in cgroup_file_open()4276 struct cftype *cft = of_cft(of); in cgroup_file_release()4291 struct cftype *cft = of_cft(of); in cgroup_file_write()4341 struct cftype *cft = of_cft(of); in cgroup_file_poll()
3216 switch (of_cft(of)->private) { in cpuset_write_resmask()3235 if (of_cft(of)->private == FILE_MEMLIST) in cpuset_write_resmask()