/Linux-v5.10/include/linux/ |
D | cgroup-defs.h | 532 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 */
|
D | cgroup.h | 113 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()
|
D | blk-cgroup.h | 156 struct cftype *dfl_cftypes; 157 struct cftype *legacy_cftypes;
|
D | hugetlb.h | 497 struct cftype cgroup_files_dfl[7]; 498 struct cftype cgroup_files_legacy[9];
|
/Linux-v5.10/net/core/ |
D | netclassid_cgroup.c | 113 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[] = {
|
D | netprio_cgroup.c | 178 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/ |
D | debug.c | 35 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[] = {
|
D | legacy_freezer.c | 438 struct cftype *cft) in freezer_self_freezing_read() 446 struct cftype *cft) in freezer_parent_freezing_read() 453 static struct cftype files[] = {
|
D | cgroup.c | 210 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 …]
|
D | pids.c | 307 struct cftype *cft) in pids_current_read() 322 static struct cftype pids_files[] = {
|
D | cgroup-v1.c | 577 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[] = {
|
D | cgroup-internal.h | 266 extern struct cftype cgroup1_base_files[];
|
D | cpuset.c | 2255 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[] = {
|
D | rdma.c | 545 static struct cftype rdmacg_files[] = {
|
/Linux-v5.10/kernel/sched/ |
D | cpuacct.c | 170 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[] = {
|
D | core.c | 7873 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/ |
D | hugetlb_cgroup.c | 419 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[] = {
|
D | memcontrol.c | 3534 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/ |
D | bfq-iosched.h | 992 extern struct cftype bfq_blkcg_legacy_files[]; 993 extern struct cftype bfq_blkg_files[];
|
D | bfq-cgroup.c | 1020 struct cftype *cftype, in bfq_io_set_weight_legacy() argument 1256 struct cftype bfq_blkcg_legacy_files[] = { 1382 struct cftype bfq_blkg_files[] = {
|
D | blk-cgroup.c | 441 struct cftype *cftype, u64 val) in blkcg_reset_stats() argument 951 static struct cftype blkcg_files[] = { 959 static struct cftype blkcg_legacy_files[] = {
|
D | blk-iolatency.c | 1023 static struct cftype iolatency_files[] = {
|
D | blk-throttle.c | 1519 static struct cftype throtl_legacy_files[] = { 1753 static struct cftype throtl_files[] = {
|
D | blk-iocost.c | 3369 static struct cftype ioc_files[] = {
|
/Linux-v5.10/security/ |
D | device_cgroup.c | 770 static struct cftype dev_cgroup_files[] = {
|