Home
last modified time | relevance | path

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

/Linux-v5.10/mm/
Dhugetlb_cgroup.c509 idx = MEMFILE_IDX(of_cft(of)->private); in hugetlb_cgroup_write()
512 switch (MEMFILE_ATTR(of_cft(of)->private)) { in hugetlb_cgroup_write()
549 counter = &h_cg->hugepage[MEMFILE_IDX(of_cft(of)->private)]; in hugetlb_cgroup_reset()
550 rsvd_counter = &h_cg->rsvd_hugepage[MEMFILE_IDX(of_cft(of)->private)]; in hugetlb_cgroup_reset()
552 switch (MEMFILE_ATTR(of_cft(of)->private)) { in hugetlb_cgroup_reset()
Dmemcontrol.c3851 switch (MEMFILE_ATTR(of_cft(of)->private)) { in mem_cgroup_write()
3857 switch (MEMFILE_TYPE(of_cft(of)->private)) { in mem_cgroup_write()
3889 switch (MEMFILE_TYPE(of_cft(of)->private)) { in mem_cgroup_reset()
3906 switch (MEMFILE_ATTR(of_cft(of)->private)) { in mem_cgroup_reset()
/Linux-v5.10/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.10/security/
Ddevice_cgroup.c765 of_cft(of)->private, strstrip(buf)); in devcgroup_access_write()
/Linux-v5.10/block/
Dblk-throttle.c1470 *(u64 *)((void *)tg + of_cft(of)->private) = v; in tg_set_conf()
1472 *(unsigned int *)((void *)tg + of_cft(of)->private) = v; in tg_set_conf()
1647 int index = of_cft(of)->private; in tg_set_limit()
/Linux-v5.10/kernel/cgroup/
Dcpuset.c2376 switch (of_cft(of)->private) { in cpuset_write_resmask()
Dcgroup.c626 struct cftype *cft = of_cft(of); in of_css()