Home
last modified time | relevance | path

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

/linux-6.15/mm/
H A Dhugetlb_cgroup.c608 idx = MEMFILE_IDX(of_cft(of)->private); in hugetlb_cgroup_write()
611 switch (MEMFILE_ATTR(of_cft(of)->private)) { in hugetlb_cgroup_write()
648 counter = &h_cg->hugepage[MEMFILE_IDX(of_cft(of)->private)]; in hugetlb_cgroup_reset()
649 rsvd_counter = &h_cg->rsvd_hugepage[MEMFILE_IDX(of_cft(of)->private)]; in hugetlb_cgroup_reset()
651 switch (MEMFILE_ATTR(of_cft(of)->private)) { in hugetlb_cgroup_reset()
H A Dmemcontrol-v1.c1654 switch (MEMFILE_ATTR(of_cft(of)->private)) { in mem_cgroup_write()
1660 switch (MEMFILE_TYPE(of_cft(of)->private)) { in mem_cgroup_write()
1703 switch (MEMFILE_TYPE(of_cft(of)->private)) { in mem_cgroup_reset()
1720 switch (MEMFILE_ATTR(of_cft(of)->private)) { in mem_cgroup_reset()
/linux-6.15/include/linux/
H A Dcgroup.h570 static inline struct cftype *of_cft(struct kernfs_open_file *of) in of_cft() function
580 return of_cft(seq->private); in seq_cft()
/linux-6.15/security/
H A Ddevice_cgroup.c791 of_cft(of)->private, strstrip(buf)); in devcgroup_access_write()
/linux-6.15/block/
H A Dblk-throttle.c1283 *(u64 *)((void *)tg + of_cft(of)->private) = v; in tg_set_conf()
1285 *(unsigned int *)((void *)tg + of_cft(of)->private) = v; in tg_set_conf()
/linux-6.15/kernel/cgroup/
H A Dcgroup.c652 struct cftype *cft = of_cft(of); in of_css()
4123 struct cftype *cft = of_cft(of); in cgroup_file_open()
4148 struct cftype *cft = of_cft(of); in cgroup_file_release()
4162 struct cftype *cft = of_cft(of); in cgroup_file_write()
4212 struct cftype *cft = of_cft(of); in cgroup_file_poll()
H A Dcpuset.c3203 switch (of_cft(of)->private) { in cpuset_write_resmask()