Home
last modified time | relevance | path

Searched refs:cftype (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.1.9/include/linux/
Dcgroup-defs.h561 struct cftype { struct
602 u64 (*read_u64)(struct cgroup_subsys_state *css, struct cftype *cft); argument
606 s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft); argument
621 int (*write_u64)(struct cgroup_subsys_state *css, struct cftype *cft, argument
626 int (*write_s64)(struct cgroup_subsys_state *css, struct cftype *cft, argument
723 struct cftype *dfl_cftypes; /* for the default hierarchy */
724 struct cftype *legacy_cftypes; /* for the legacy hierarchies */
Dcgroup.h115 int cgroup_add_dfl_cftypes(struct cgroup_subsys *ss, struct cftype *cfts);
116 int cgroup_add_legacy_cftypes(struct cgroup_subsys *ss, struct cftype *cfts);
117 int cgroup_rm_cftypes(struct cftype *cfts);
644 static inline struct cftype *of_cft(struct kernfs_open_file *of) in of_cft()
652 static inline struct cftype *seq_cft(struct seq_file *seq) in seq_cft()
Dhugetlb.h690 struct cftype cgroup_files_dfl[8];
691 struct cftype cgroup_files_legacy[10];
/linux-6.1.9/net/core/
Dnetclassid_cgroup.c109 static u64 read_classid(struct cgroup_subsys_state *css, struct cftype *cft) in read_classid()
114 static int write_classid(struct cgroup_subsys_state *css, struct cftype *cft, in write_classid()
131 static struct cftype ss_files[] = {
Dnetprio_cgroup.c178 static u64 read_prioidx(struct cgroup_subsys_state *css, struct cftype *cft) in read_prioidx()
243 static struct cftype ss_files[] = {
/linux-6.1.9/kernel/cgroup/
Ddebug.c35 struct cftype *cft) in debug_taskcount_read()
77 struct cftype *cft) in current_css_set_refcount_read()
271 static u64 releasable_read(struct cgroup_subsys_state *css, struct cftype *cft) in releasable_read()
277 static struct cftype debug_legacy_files[] = {
324 static struct cftype debug_files[] = {
Dpids.c327 struct cftype *cft) in pids_current_read()
335 struct cftype *cft) in pids_peak_read()
350 static struct cftype pids_files[] = {
Dlegacy_freezer.c431 struct cftype *cft) in freezer_self_freezing_read()
439 struct cftype *cft) in freezer_parent_freezing_read()
446 static struct cftype files[] = {
Dcgroup.c219 static struct cftype cgroup_base_files[];
220 static struct cftype cgroup_psi_files[];
248 struct cgroup *cgrp, struct cftype cfts[],
654 struct cftype *cft = of_cft(of); in of_css()
1518 static char *cgroup_file_name(struct cgroup *cgrp, const struct cftype *cft, in cgroup_file_name()
1542 static umode_t cgroup_file_mode(const struct cftype *cft) in cgroup_file_mode()
1676 static void cgroup_rm_file(struct cgroup *cgrp, const struct cftype *cft) in cgroup_rm_file()
1703 struct cftype *cfts; in css_clear_dir()
1736 struct cftype *cfts, *failed_cfts; in css_populate_dir()
3999 struct cftype *cft = of_cft(of); in cgroup_file_open()
[all …]
Dcgroup-v1.c591 struct cftype *cft) in cgroup_read_notify_on_release()
597 struct cftype *cft, u64 val) in cgroup_write_notify_on_release()
607 struct cftype *cft) in cgroup_clone_children_read()
613 struct cftype *cft, u64 val) in cgroup_clone_children_write()
623 struct cftype cgroup1_base_files[] = {
Dcgroup-internal.h285 extern struct cftype cgroup1_base_files[];
Dmisc.c350 static struct cftype misc_cg_files[] = {
Dcpuset.c2593 static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_u64()
2642 static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_s64()
2776 static u64 cpuset_read_u64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_u64()
2807 static s64 cpuset_read_s64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_s64()
2892 static struct cftype legacy_files[] = {
2998 static struct cftype dfl_files[] = {
Drdma.c545 static struct cftype rdmacg_files[] = {
/linux-6.1.9/kernel/sched/
Dcpuacct.c175 struct cftype *cft) in cpuusage_user_read()
181 struct cftype *cft) in cpuusage_sys_read()
186 static u64 cpuusage_read(struct cgroup_subsys_state *css, struct cftype *cft) in cpuusage_read()
191 static int cpuusage_write(struct cgroup_subsys_state *css, struct cftype *cft, in cpuusage_write()
292 static struct cftype files[] = {
Dcore.c10539 struct cftype *cftype, u64 shareval) in cpu_shares_write_u64() argument
10547 struct cftype *cft) in cpu_shares_read_u64()
10730 struct cftype *cft) in cpu_cfs_quota_read_s64()
10736 struct cftype *cftype, s64 cfs_quota_us) in cpu_cfs_quota_write_s64() argument
10742 struct cftype *cft) in cpu_cfs_period_read_u64()
10748 struct cftype *cftype, u64 cfs_period_us) in cpu_cfs_period_write_u64() argument
10754 struct cftype *cft) in cpu_cfs_burst_read_u64()
10760 struct cftype *cftype, u64 cfs_burst_us) in cpu_cfs_burst_write_u64() argument
10880 struct cftype *cft, s64 val) in cpu_rt_runtime_write()
10886 struct cftype *cft) in cpu_rt_runtime_read()
[all …]
/linux-6.1.9/block/
Dblk-ioprio.c164 static struct cftype ioprio_files[] = {
169 static struct cftype ioprio_legacy_files[] = {
Dblk-cgroup.h160 struct cftype *dfl_cftypes;
161 struct cftype *legacy_cftypes;
Dbfq-iosched.h1019 extern struct cftype bfq_blkcg_legacy_files[];
1020 extern struct cftype bfq_blkg_files[];
Dbfq-cgroup.c1068 struct cftype *cftype, in bfq_io_set_weight_legacy() argument
1304 struct cftype bfq_blkcg_legacy_files[] = {
1430 struct cftype bfq_blkg_files[] = {
Dblk-cgroup.c492 struct cftype *cftype, u64 val) in blkcg_reset_stats() argument
985 static struct cftype blkcg_files[] = {
993 static struct cftype blkcg_legacy_files[] = {
Dblk-iolatency.c1035 static struct cftype iolatency_files[] = {
/linux-6.1.9/mm/
Dhugetlb_cgroup.c469 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_numa_stat()
520 struct cftype *cft) in hugetlb_cgroup_read_u64()
555 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_u64_max()
688 struct cftype *cft = seq_cft(seq); in __hugetlb_events_show()
716 struct cftype *cft; in __hugetlb_cgroup_file_dfl_init()
787 struct cftype *cft; in __hugetlb_cgroup_file_legacy_init()
909 static struct cftype hugetlb_files[] = {
Dmemcontrol.c3632 struct cftype *cft) in mem_cgroup_hierarchy_read()
3638 struct cftype *cft, u64 val) in mem_cgroup_hierarchy_write()
3678 struct cftype *cft) in mem_cgroup_read_u64()
3902 struct cftype *cft) in mem_cgroup_move_charge_read()
3909 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write()
3927 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write()
4145 struct cftype *cft) in mem_cgroup_swappiness_read()
4153 struct cftype *cft, u64 val) in mem_cgroup_swappiness_write()
4505 struct cftype *cft, u64 val) in mem_cgroup_oom_control_write()
4981 static struct cftype mem_cgroup_legacy_files[] = {
[all …]
/linux-6.1.9/security/
Ddevice_cgroup.c796 static struct cftype dev_cgroup_files[] = {

12