Home
last modified time | relevance | path

Searched refs:of_cft (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/mm/
H A 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()
H A Dmemcontrol.c3882 switch (MEMFILE_ATTR(of_cft(of)->private)) { in mem_cgroup_write()
3888 switch (MEMFILE_TYPE(of_cft(of)->private)) { in mem_cgroup_write()
3920 switch (MEMFILE_TYPE(of_cft(of)->private)) { in mem_cgroup_reset()
3937 switch (MEMFILE_ATTR(of_cft(of)->private)) { in mem_cgroup_reset()
/kernel/linux/linux-6.6/mm/
H A 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()
H A Dmemcontrol.c3888 switch (MEMFILE_ATTR(of_cft(of)->private)) { in mem_cgroup_write()
3894 switch (MEMFILE_TYPE(of_cft(of)->private)) { in mem_cgroup_write()
3931 switch (MEMFILE_TYPE(of_cft(of)->private)) { in mem_cgroup_reset()
3948 switch (MEMFILE_ATTR(of_cft(of)->private)) { in mem_cgroup_reset()
/kernel/linux/linux-5.10/include/linux/
H A Dcgroup.h633 static inline struct cftype *of_cft(struct kernfs_open_file *of) in of_cft() function
643 return of_cft(seq->private); in seq_cft()
/kernel/linux/linux-6.6/include/linux/
H A 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()
/kernel/linux/linux-5.10/security/
H A Ddevice_cgroup.c790 of_cft(of)->private, strstrip(buf)); in devcgroup_access_write()
/kernel/linux/linux-6.6/security/
H A Ddevice_cgroup.c791 of_cft(of)->private, strstrip(buf)); in devcgroup_access_write()
/kernel/linux/linux-5.10/block/
H A Dblk-throttle.c1511 *(u64 *)((void *)tg + of_cft(of)->private) = v; in tg_set_conf()
1513 *(unsigned int *)((void *)tg + of_cft(of)->private) = v; in tg_set_conf()
1689 int index = of_cft(of)->private; in tg_set_limit()
/kernel/linux/linux-6.6/block/
H A Dblk-throttle.c1395 *(u64 *)((void *)tg + of_cft(of)->private) = v; in tg_set_conf()
1397 *(unsigned int *)((void *)tg + of_cft(of)->private) = v; in tg_set_conf()
1572 int index = of_cft(of)->private; in tg_set_limit()
/kernel/linux/linux-5.10/kernel/cgroup/
H A Dcgroup.c627 struct cftype *cft = of_cft(of); in of_css()
3778 struct cftype *cft = of_cft(of); in cgroup_file_open()
3803 struct cftype *cft = of_cft(of); in cgroup_file_release()
3817 struct cftype *cft = of_cft(of); in cgroup_file_write()
3867 struct cftype *cft = of_cft(of); in cgroup_file_poll()
H A Dcpuset.c2509 switch (of_cft(of)->private) { in cpuset_write_resmask()
/kernel/linux/linux-6.6/kernel/cgroup/
H A Dcgroup.c637 struct cftype *cft = of_cft(of); in of_css()
4003 struct cftype *cft = of_cft(of); in cgroup_file_open()
4028 struct cftype *cft = of_cft(of); in cgroup_file_release()
4042 struct cftype *cft = of_cft(of); in cgroup_file_write()
4092 struct cftype *cft = of_cft(of); in cgroup_file_poll()
H A Dcpuset.c2888 switch (of_cft(of)->private) { in cpuset_write_resmask()

Completed in 58 milliseconds