Home
last modified time | relevance | path

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

12

/linux-6.15/include/linux/
H A Dcgroup-defs.h620 struct cftype { struct
660 u64 (*read_u64)(struct cgroup_subsys_state *css, struct cftype *cft); argument
664 s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft); argument
679 int (*write_u64)(struct cgroup_subsys_state *css, struct cftype *cft, argument
684 int (*write_s64)(struct cgroup_subsys_state *css, struct cftype *cft, argument
782 struct cftype *dfl_cftypes; /* for the default hierarchy */
783 struct cftype *legacy_cftypes; /* for the legacy hierarchies */
H A Dcgroup.h114 int cgroup_add_dfl_cftypes(struct cgroup_subsys *ss, struct cftype *cfts);
115 int cgroup_add_legacy_cftypes(struct cgroup_subsys *ss, struct cftype *cfts);
116 int cgroup_add_cftypes(struct cgroup_subsys *ss, struct cftype *cfts);
117 int cgroup_rm_cftypes(struct cftype *cfts);
570 static inline struct cftype *of_cft(struct kernfs_open_file *of) in of_cft()
578 static inline struct cftype *seq_cft(struct seq_file *seq) in seq_cft()
/linux-6.15/mm/
H A Dhugetlb_cgroup.c39 static struct cftype *dfl_files;
40 static struct cftype *legacy_files;
467 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_numa_stat()
518 struct cftype *cft) in hugetlb_cgroup_read_u64()
553 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_u64_max()
686 struct cftype *cft = seq_cft(seq); in __hugetlb_events_show()
711 static struct cftype hugetlb_dfl_tmpl[] = {
758 static struct cftype hugetlb_legacy_tmpl[] = {
813 hugetlb_cgroup_cfttypes_init(struct hstate *h, struct cftype *cft, in hugetlb_cgroup_cfttypes_init()
814 struct cftype *tmpl, int tmpl_size) in hugetlb_cgroup_cfttypes_init()
[all …]
H A Dmemcontrol-v1.h92 extern struct cftype memsw_files[];
93 extern struct cftype mem_cgroup_legacy_files[];
H A Dmemcontrol-v1.c405 struct cftype *cft) in mem_cgroup_move_charge_read()
412 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write()
424 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write()
1532 struct cftype *cft) in mem_cgroup_hierarchy_read()
1538 struct cftype *cft, u64 val) in mem_cgroup_hierarchy_write()
1551 struct cftype *cft) in mem_cgroup_read_u64()
1943 struct cftype *cft) in mem_cgroup_swappiness_read()
1951 struct cftype *cft, u64 val) in mem_cgroup_swappiness_write()
1980 struct cftype *cft, u64 val) in mem_cgroup_oom_control_write()
2010 struct cftype mem_cgroup_legacy_files[] = {
[all …]
H A Dmemcontrol.c4037 struct cftype *cft) in memory_current_read()
4470 static struct cftype memory_files[] = {
5135 struct cftype *cft) in swap_current_read()
5218 static struct cftype swap_files[] = {
5364 struct cftype *cft) in zswap_current_read()
5420 static struct cftype zswap_files[] = {
/linux-6.15/net/core/
H A Dnetclassid_cgroup.c115 static u64 read_classid(struct cgroup_subsys_state *css, struct cftype *cft) in read_classid()
120 static int write_classid(struct cgroup_subsys_state *css, struct cftype *cft, in write_classid()
137 static struct cftype ss_files[] = {
H A 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.15/kernel/cgroup/
H A 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[] = {
H A Dcpuset-v1.c165 static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_s64()
192 static s64 cpuset_read_s64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_s64()
418 static u64 cpuset_read_u64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_u64()
450 static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_u64()
510 struct cftype cpuset1_files[] = {
H A Dpids.c346 struct cftype *cft) in pids_current_read()
354 struct cftype *cft) in pids_peak_read()
390 static struct cftype pids_files[] = {
422 static struct cftype pids_files_legacy[] = {
H A Dlegacy_freezer.c445 struct cftype *cft) in freezer_self_freezing_read()
453 struct cftype *cft) in freezer_parent_freezing_read()
460 static struct cftype files[] = {
H A Dcgroup.c652 struct cftype *cft = of_cft(of); in of_css()
1711 struct cftype *cfts; in css_clear_dir()
4123 struct cftype *cft = of_cft(of); in cgroup_file_open()
4148 struct cftype *cft = of_cft(of); in cgroup_file_release()
4162 struct cftype *cft = of_cft(of); in cgroup_file_write()
4281 struct cftype *cft) in cgroup_add_file()
4387 struct cftype *cft; in cgroup_exit_cftypes()
4404 struct cftype *cft; in cgroup_init_cftypes()
4528 struct cftype *cft; in cgroup_add_dfl_cftypes()
4545 struct cftype *cft; in cgroup_add_legacy_cftypes()
[all …]
H A Dcgroup-v1.c596 struct cftype *cft) in cgroup_read_notify_on_release()
602 struct cftype *cft, u64 val) in cgroup_write_notify_on_release()
612 struct cftype *cft) in cgroup_clone_children_read()
618 struct cftype *cft, u64 val) in cgroup_clone_children_write()
628 struct cftype cgroup1_base_files[] = {
H A Dcpuset-internal.h285 extern struct cftype cpuset1_files[];
H A Dcgroup-internal.h286 extern struct cftype cgroup1_base_files[];
H A Dmisc.c391 static struct cftype misc_cg_files[] = {
H A Drdma.c547 static struct cftype rdmacg_files[] = {
/linux-6.15/kernel/sched/
H A 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[] = {
H A Dcore.c9416 struct cftype *cftype, u64 shareval) in cpu_shares_write_u64() argument
9430 struct cftype *cft) in cpu_shares_read_u64()
9612 struct cftype *cft) in cpu_cfs_quota_read_s64()
9618 struct cftype *cftype, s64 cfs_quota_us) in cpu_cfs_quota_write_s64() argument
9624 struct cftype *cft) in cpu_cfs_period_read_u64()
9630 struct cftype *cftype, u64 cfs_period_us) in cpu_cfs_period_write_u64() argument
9636 struct cftype *cft) in cpu_cfs_burst_read_u64()
9642 struct cftype *cftype, u64 cfs_burst_us) in cpu_cfs_burst_write_u64() argument
9795 struct cftype *cftype, u64 rt_period_us) in cpu_rt_period_write_uint() argument
9801 struct cftype *cft) in cpu_rt_period_read_uint()
[all …]
/linux-6.15/block/
H A Dblk-cgroup.h175 struct cftype *dfl_cftypes;
176 struct cftype *legacy_cftypes;
H A Dblk-ioprio.c116 static struct cftype ioprio_files[] = {
H A Dbfq-iosched.h1095 extern struct cftype bfq_blkcg_legacy_files[];
1096 extern struct cftype bfq_blkg_files[];
H A Dbfq-cgroup.c1017 struct cftype *cftype, in bfq_io_set_weight_legacy() argument
1253 struct cftype bfq_blkcg_legacy_files[] = {
1379 struct cftype bfq_blkg_files[] = {
H A Dblk-cgroup.c656 struct cftype *cftype, u64 val) in blkcg_reset_stats() argument
662 pr_info_once("blkio.%s is deprecated\n", cftype->name); in blkcg_reset_stats()
1268 static struct cftype blkcg_files[] = {
1276 static struct cftype blkcg_legacy_files[] = {

12