Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dcgroup-defs.h532 struct cftype { struct
573 u64 (*read_u64)(struct cgroup_subsys_state *css, struct cftype *cft); argument
577 s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft); argument
592 int (*write_u64)(struct cgroup_subsys_state *css, struct cftype *cft, argument
597 int (*write_s64)(struct cgroup_subsys_state *css, struct cftype *cft, argument
709 struct cftype *dfl_cftypes; /* for the default hierarchy */
710 struct cftype *legacy_cftypes; /* for the legacy hierarchies */
Dcgroup.h113 int cgroup_add_dfl_cftypes(struct cgroup_subsys *ss, struct cftype *cfts);
114 int cgroup_add_legacy_cftypes(struct cgroup_subsys *ss, struct cftype *cfts);
115 int cgroup_rm_cftypes(struct cftype *cfts);
631 static inline struct cftype *of_cft(struct kernfs_open_file *of) in of_cft()
639 static inline struct cftype *seq_cft(struct seq_file *seq) in seq_cft()
Dblk-cgroup.h156 struct cftype *dfl_cftypes;
157 struct cftype *legacy_cftypes;
Dhugetlb.h497 struct cftype cgroup_files_dfl[7];
498 struct cftype cgroup_files_legacy[9];
/Linux-v5.10/net/core/
Dnetclassid_cgroup.c113 static u64 read_classid(struct cgroup_subsys_state *css, struct cftype *cft) in read_classid()
118 static int write_classid(struct cgroup_subsys_state *css, struct cftype *cft, in write_classid()
137 static struct cftype ss_files[] = {
Dnetprio_cgroup.c178 static u64 read_prioidx(struct cgroup_subsys_state *css, struct cftype *cft) in read_prioidx()
250 static struct cftype ss_files[] = {
/Linux-v5.10/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[] = {
Dlegacy_freezer.c438 struct cftype *cft) in freezer_self_freezing_read()
446 struct cftype *cft) in freezer_parent_freezing_read()
453 static struct cftype files[] = {
Dcgroup.c210 static struct cftype cgroup_base_files[];
222 struct cgroup *cgrp, struct cftype cfts[],
626 struct cftype *cft = of_cft(of); in of_css()
1458 static char *cgroup_file_name(struct cgroup *cgrp, const struct cftype *cft, in cgroup_file_name()
1482 static umode_t cgroup_file_mode(const struct cftype *cft) in cgroup_file_mode()
1616 static void cgroup_rm_file(struct cgroup *cgrp, const struct cftype *cft) in cgroup_rm_file()
1643 struct cftype *cfts; in css_clear_dir()
1672 struct cftype *cfts, *failed_cfts; in css_populate_dir()
3660 struct cftype *cft = of->kn->priv; in cgroup_file_open()
3669 struct cftype *cft = of->kn->priv; in cgroup_file_release()
[all …]
Dpids.c307 struct cftype *cft) in pids_current_read()
322 static struct cftype pids_files[] = {
Dcgroup-v1.c577 struct cftype *cft) in cgroup_read_notify_on_release()
583 struct cftype *cft, u64 val) in cgroup_write_notify_on_release()
593 struct cftype *cft) in cgroup_clone_children_read()
599 struct cftype *cft, u64 val) in cgroup_clone_children_write()
609 struct cftype cgroup1_base_files[] = {
Dcgroup-internal.h266 extern struct cftype cgroup1_base_files[];
Dcpuset.c2255 static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_u64()
2304 static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_s64()
2438 static u64 cpuset_read_u64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_u64()
2469 static s64 cpuset_read_s64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_s64()
2539 static struct cftype legacy_files[] = {
2645 static struct cftype dfl_files[] = {
Drdma.c545 static struct cftype rdmacg_files[] = {
/Linux-v5.10/kernel/sched/
Dcpuacct.c170 struct cftype *cft) in cpuusage_user_read()
176 struct cftype *cft) in cpuusage_sys_read()
181 static u64 cpuusage_read(struct cgroup_subsys_state *css, struct cftype *cft) in cpuusage_read()
186 static int cpuusage_write(struct cgroup_subsys_state *css, struct cftype *cft, in cpuusage_write()
297 static struct cftype files[] = {
Dcore.c7873 struct cftype *cftype, u64 shareval) in cpu_shares_write_u64() argument
7881 struct cftype *cft) in cpu_shares_read_u64()
8032 struct cftype *cft) in cpu_cfs_quota_read_s64()
8038 struct cftype *cftype, s64 cfs_quota_us) in cpu_cfs_quota_write_s64() argument
8044 struct cftype *cft) in cpu_cfs_period_read_u64()
8050 struct cftype *cftype, u64 cfs_period_us) in cpu_cfs_period_write_u64() argument
8164 struct cftype *cft, s64 val) in cpu_rt_runtime_write()
8170 struct cftype *cft) in cpu_rt_runtime_read()
8176 struct cftype *cftype, u64 rt_period_us) in cpu_rt_period_write_uint() argument
8182 struct cftype *cft) in cpu_rt_period_read_uint()
[all …]
/Linux-v5.10/mm/
Dhugetlb_cgroup.c419 struct cftype *cft) in hugetlb_cgroup_read_u64()
454 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_u64_max()
587 struct cftype *cft = seq_cft(seq); in __hugetlb_events_show()
615 struct cftype *cft; in __hugetlb_cgroup_file_dfl_init()
679 struct cftype *cft; in __hugetlb_cgroup_file_legacy_init()
796 static struct cftype hugetlb_files[] = {
Dmemcontrol.c3534 struct cftype *cft) in mem_cgroup_hierarchy_read()
3540 struct cftype *cft, u64 val) in mem_cgroup_hierarchy_write()
3596 struct cftype *cft) in mem_cgroup_read_u64()
3921 struct cftype *cft) in mem_cgroup_move_charge_read()
3928 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write()
3946 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write()
4163 struct cftype *cft) in mem_cgroup_swappiness_read()
4171 struct cftype *cft, u64 val) in mem_cgroup_swappiness_write()
4523 struct cftype *cft, u64 val) in mem_cgroup_oom_control_write()
4989 static struct cftype mem_cgroup_legacy_files[] = {
[all …]
/Linux-v5.10/block/
Dbfq-iosched.h992 extern struct cftype bfq_blkcg_legacy_files[];
993 extern struct cftype bfq_blkg_files[];
Dbfq-cgroup.c1020 struct cftype *cftype, in bfq_io_set_weight_legacy() argument
1256 struct cftype bfq_blkcg_legacy_files[] = {
1382 struct cftype bfq_blkg_files[] = {
Dblk-cgroup.c441 struct cftype *cftype, u64 val) in blkcg_reset_stats() argument
951 static struct cftype blkcg_files[] = {
959 static struct cftype blkcg_legacy_files[] = {
Dblk-iolatency.c1023 static struct cftype iolatency_files[] = {
Dblk-throttle.c1519 static struct cftype throtl_legacy_files[] = {
1753 static struct cftype throtl_files[] = {
Dblk-iocost.c3369 static struct cftype ioc_files[] = {
/Linux-v5.10/security/
Ddevice_cgroup.c770 static struct cftype dev_cgroup_files[] = {