Home
last modified time | relevance | path

Searched refs:of_cft (Results 1 – 6 of 6) sorted by relevance

/linux/mm/
H A Dhugetlb_cgroup.c600 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()
/linux/include/linux/
H A Dcgroup.h657 static inline struct cftype *of_cft(struct kernfs_open_file *of) in of_cft() function
667 return of_cft(seq->private); in seq_cft()
/linux/security/
H A Ddevice_cgroup.c785 of_cft(of)->private, strstrip(buf)); in devcgroup_access_write()
/linux/block/
H A Dblk-throttle.c1378 *(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()
/linux/kernel/cgroup/
H A Dcgroup.c655 struct cftype *cft = of_cft(of); in of_css()
4222 struct cftype *cft = of_cft(of); in cgroup_file_open()
4247 struct cftype *cft = of_cft(of); in cgroup_file_release()
4262 struct cftype *cft = of_cft(of); in cgroup_file_write()
4312 struct cftype *cft = of_cft(of); in cgroup_file_poll()
H A Dcpuset.c3238 switch (of_cft(of)->private) { in cpuset_write_resmask()
3256 if (of_cft(of)->private == FILE_MEMLIST) in cpuset_write_resmask()