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()
H A Dmemcontrol-v1.c1676 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()
/linux/include/linux/
H A Dcgroup.h595 static inline struct cftype *of_cft(struct kernfs_open_file *of) in of_cft() function
605 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/kernel/cgroup/
H A Dcgroup.c688 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()
H A Dcpuset.c3216 switch (of_cft(of)->private) { in cpuset_write_resmask()
3235 if (of_cft(of)->private == FILE_MEMLIST) in cpuset_write_resmask()