Home
last modified time | relevance | path

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

12

/linux-6.6.21/include/linux/
Dcgroup-defs.h579 struct cftype { struct
620 u64 (*read_u64)(struct cgroup_subsys_state *css, struct cftype *cft); argument
624 s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft); argument
639 int (*write_u64)(struct cgroup_subsys_state *css, struct cftype *cft, argument
644 int (*write_s64)(struct cgroup_subsys_state *css, struct cftype *cft, argument
743 struct cftype *dfl_cftypes; /* for the default hierarchy */
744 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);
571 static inline struct cftype *of_cft(struct kernfs_open_file *of) in of_cft()
579 static inline struct cftype *seq_cft(struct seq_file *seq) in seq_cft()
Dhugetlb.h735 struct cftype cgroup_files_dfl[8];
736 struct cftype cgroup_files_legacy[10];
/linux-6.6.21/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.6.21/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.c444 struct cftype *cft) in freezer_self_freezing_read()
452 struct cftype *cft) in freezer_parent_freezing_read()
459 static struct cftype files[] = {
Dcgroup.c220 static struct cftype cgroup_base_files[];
221 static struct cftype cgroup_psi_files[];
249 struct cgroup *cgrp, struct cftype cfts[],
637 struct cftype *cft = of_cft(of); in of_css()
1496 static char *cgroup_file_name(struct cgroup *cgrp, const struct cftype *cft, in cgroup_file_name()
1520 static umode_t cgroup_file_mode(const struct cftype *cft) in cgroup_file_mode()
1654 static void cgroup_rm_file(struct cgroup *cgrp, const struct cftype *cft) in cgroup_rm_file()
1681 struct cftype *cfts; in css_clear_dir()
1714 struct cftype *cfts, *failed_cfts; in css_populate_dir()
4003 struct cftype *cft = of_cft(of); in cgroup_file_open()
[all …]
Dcgroup-v1.c590 struct cftype *cft) in cgroup_read_notify_on_release()
596 struct cftype *cft, u64 val) in cgroup_write_notify_on_release()
606 struct cftype *cft) in cgroup_clone_children_read()
612 struct cftype *cft, u64 val) in cgroup_clone_children_write()
622 struct cftype cgroup1_base_files[] = {
Dcgroup-internal.h283 extern struct cftype cgroup1_base_files[];
Dmisc.c349 static struct cftype misc_cg_files[] = {
Dcpuset.c2767 static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_u64()
2816 static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_s64()
2950 static u64 cpuset_read_u64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_u64()
2981 static s64 cpuset_read_s64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_s64()
3066 static struct cftype legacy_files[] = {
3172 static struct cftype dfl_files[] = {
Drdma.c547 static struct cftype rdmacg_files[] = {
/linux-6.6.21/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.c10807 struct cftype *cftype, u64 shareval) in cpu_shares_write_u64() argument
10815 struct cftype *cft) in cpu_shares_read_u64()
10998 struct cftype *cft) in cpu_cfs_quota_read_s64()
11004 struct cftype *cftype, s64 cfs_quota_us) in cpu_cfs_quota_write_s64() argument
11010 struct cftype *cft) in cpu_cfs_period_read_u64()
11016 struct cftype *cftype, u64 cfs_period_us) in cpu_cfs_period_write_u64() argument
11022 struct cftype *cft) in cpu_cfs_burst_read_u64()
11028 struct cftype *cftype, u64 cfs_burst_us) in cpu_cfs_burst_write_u64() argument
11174 struct cftype *cft, s64 val) in cpu_rt_runtime_write()
11180 struct cftype *cft) in cpu_rt_runtime_read()
[all …]
/linux-6.6.21/block/
Dblk-ioprio.c167 static struct cftype ioprio_files[] = {
172 static struct cftype ioprio_legacy_files[] = {
Dblk-cgroup.h172 struct cftype *dfl_cftypes;
173 struct cftype *legacy_cftypes;
Dbfq-iosched.h1098 extern struct cftype bfq_blkcg_legacy_files[];
1099 extern struct cftype bfq_blkg_files[];
Dbfq-cgroup.c1073 struct cftype *cftype, in bfq_io_set_weight_legacy() argument
1309 struct cftype bfq_blkcg_legacy_files[] = {
1435 struct cftype bfq_blkg_files[] = {
Dblk-cgroup.c623 struct cftype *cftype, u64 val) in blkcg_reset_stats() argument
1177 static struct cftype blkcg_files[] = {
1185 static struct cftype blkcg_legacy_files[] = {
Dblk-iolatency.c1041 static struct cftype iolatency_files[] = {
/linux-6.6.21/mm/
Dhugetlb_cgroup.c470 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_numa_stat()
521 struct cftype *cft) in hugetlb_cgroup_read_u64()
556 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_u64_max()
689 struct cftype *cft = seq_cft(seq); in __hugetlb_events_show()
717 struct cftype *cft; in __hugetlb_cgroup_file_dfl_init()
788 struct cftype *cft; in __hugetlb_cgroup_file_legacy_init()
910 static struct cftype hugetlb_files[] = {
Dmemcontrol.c3647 struct cftype *cft) in mem_cgroup_hierarchy_read()
3653 struct cftype *cft, u64 val) in mem_cgroup_hierarchy_write()
3696 struct cftype *cft) in mem_cgroup_read_u64()
3933 struct cftype *cft) in mem_cgroup_move_charge_read()
3940 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write()
3962 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write()
4177 struct cftype *cft) in mem_cgroup_swappiness_read()
4185 struct cftype *cft, u64 val) in mem_cgroup_swappiness_write()
4537 struct cftype *cft, u64 val) in mem_cgroup_oom_control_write()
5015 static struct cftype mem_cgroup_legacy_files[] = {
[all …]
/linux-6.6.21/security/
Ddevice_cgroup.c796 static struct cftype dev_cgroup_files[] = {

12