Home
last modified time | relevance | path

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

/Linux-v5.15/mm/
Dhugetlb_cgroup.c515 idx = MEMFILE_IDX(of_cft(of)->private); in hugetlb_cgroup_write()
518 switch (MEMFILE_ATTR(of_cft(of)->private)) { in hugetlb_cgroup_write()
555 counter = &h_cg->hugepage[MEMFILE_IDX(of_cft(of)->private)]; in hugetlb_cgroup_reset()
556 rsvd_counter = &h_cg->rsvd_hugepage[MEMFILE_IDX(of_cft(of)->private)]; in hugetlb_cgroup_reset()
558 switch (MEMFILE_ATTR(of_cft(of)->private)) { in hugetlb_cgroup_reset()
Dmemcontrol.c3741 switch (MEMFILE_ATTR(of_cft(of)->private)) { in mem_cgroup_write()
3747 switch (MEMFILE_TYPE(of_cft(of)->private)) { in mem_cgroup_write()
3779 switch (MEMFILE_TYPE(of_cft(of)->private)) { in mem_cgroup_reset()
3796 switch (MEMFILE_ATTR(of_cft(of)->private)) { in mem_cgroup_reset()
/Linux-v5.15/include/linux/
Dcgroup.h631 static inline struct cftype *of_cft(struct kernfs_open_file *of) in of_cft() function
641 return of_cft(seq->private); in seq_cft()
/Linux-v5.15/security/
Ddevice_cgroup.c765 of_cft(of)->private, strstrip(buf)); in devcgroup_access_write()
/Linux-v5.15/block/
Dblk-throttle.c1487 *(u64 *)((void *)tg + of_cft(of)->private) = v; in tg_set_conf()
1489 *(unsigned int *)((void *)tg + of_cft(of)->private) = v; in tg_set_conf()
1664 int index = of_cft(of)->private; in tg_set_limit()
/Linux-v5.15/kernel/cgroup/
Dcgroup.c654 struct cftype *cft = of_cft(of); in of_css()
3790 struct cftype *cft = of_cft(of); in cgroup_file_open()
3799 struct cftype *cft = of_cft(of); in cgroup_file_release()
3810 struct cftype *cft = of_cft(of); in cgroup_file_write()
3860 struct cftype *cft = of_cft(of); in cgroup_file_poll()
Dcpuset.c2440 switch (of_cft(of)->private) { in cpuset_write_resmask()