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()
678 static inline struct cftype *of_cft(struct kernfs_open_file *of)688 return of_cft(seq->private); in cgroup_path() 657 static inline struct cftype *of_cft(struct kernfs_open_file *of) of_cft() function
785 of_cft(of)->private, strstrip(buf)); in devcgroup_access_write()
1378 *(u64 *)((void *)tg + of_cft(of)->private) = v; in tg_set_conf() 1380 *(unsigned int *)((void *)tg + of_cft(of)->private) = v; in tg_set_conf()
657 struct cftype *cft = of_cft(of); in of_css() 4257 struct cftype *cft = of_cft(of); in cgroup_file_write() 4282 struct cftype *cft = of_cft(of); in cgroup_file_write() 4297 struct cftype *cft = of_cft(of); in cgroup_file_write() 4347 struct cftype *cft = of_cft(of); in cgroup_seqfile_show()
3242 switch (of_cft(of)->private) { in cpuset_write_resmask() 3260 if (of_cft(of)->private == FILE_MEMLIST) in cpuset_write_resmask()