Home
last modified time | relevance | path

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

/Linux-v6.6/mm/
Dhugetlb_cgroup.c611 idx = MEMFILE_IDX(of_cft(of)->private); in hugetlb_cgroup_write()
614 switch (MEMFILE_ATTR(of_cft(of)->private)) { in hugetlb_cgroup_write()
651 counter = &h_cg->hugepage[MEMFILE_IDX(of_cft(of)->private)]; in hugetlb_cgroup_reset()
652 rsvd_counter = &h_cg->rsvd_hugepage[MEMFILE_IDX(of_cft(of)->private)]; in hugetlb_cgroup_reset()
654 switch (MEMFILE_ATTR(of_cft(of)->private)) { in hugetlb_cgroup_reset()
Dmemcontrol.c3857 switch (MEMFILE_ATTR(of_cft(of)->private)) { in mem_cgroup_write()
3863 switch (MEMFILE_TYPE(of_cft(of)->private)) { in mem_cgroup_write()
3900 switch (MEMFILE_TYPE(of_cft(of)->private)) { in mem_cgroup_reset()
3917 switch (MEMFILE_ATTR(of_cft(of)->private)) { in mem_cgroup_reset()
/Linux-v6.6/include/linux/
Dcgroup.h571 static inline struct cftype *of_cft(struct kernfs_open_file *of) in of_cft() function
581 return of_cft(seq->private); in seq_cft()
/Linux-v6.6/security/
Ddevice_cgroup.c791 of_cft(of)->private, strstrip(buf)); in devcgroup_access_write()
/Linux-v6.6/block/
Dblk-throttle.c1393 *(u64 *)((void *)tg + of_cft(of)->private) = v; in tg_set_conf()
1395 *(unsigned int *)((void *)tg + of_cft(of)->private) = v; in tg_set_conf()
1570 int index = of_cft(of)->private; in tg_set_limit()
/Linux-v6.6/kernel/cgroup/
Dcgroup.c637 struct cftype *cft = of_cft(of); in of_css()
4011 struct cftype *cft = of_cft(of); in cgroup_file_open()
4036 struct cftype *cft = of_cft(of); in cgroup_file_release()
4050 struct cftype *cft = of_cft(of); in cgroup_file_write()
4100 struct cftype *cft = of_cft(of); in cgroup_file_poll()
Dcpuset.c2878 switch (of_cft(of)->private) { in cpuset_write_resmask()