/Linux-v5.10/mm/ |
D | hugetlb_cgroup.c | 419 struct cftype *cft) in hugetlb_cgroup_read_u64() argument 425 counter = &h_cg->hugepage[MEMFILE_IDX(cft->private)]; in hugetlb_cgroup_read_u64() 426 rsvd_counter = &h_cg->rsvd_hugepage[MEMFILE_IDX(cft->private)]; in hugetlb_cgroup_read_u64() 428 switch (MEMFILE_ATTR(cft->private)) { in hugetlb_cgroup_read_u64() 454 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_u64_max() local 459 idx = MEMFILE_IDX(cft->private); in hugetlb_cgroup_read_u64_max() 465 switch (MEMFILE_ATTR(cft->private)) { in hugetlb_cgroup_read_u64_max() 587 struct cftype *cft = seq_cft(seq); in __hugetlb_events_show() local 590 idx = MEMFILE_IDX(cft->private); in __hugetlb_events_show() 615 struct cftype *cft; in __hugetlb_cgroup_file_dfl_init() local [all …]
|
D | memcontrol.c | 3534 struct cftype *cft) in mem_cgroup_hierarchy_read() argument 3540 struct cftype *cft, u64 val) in mem_cgroup_hierarchy_write() argument 3596 struct cftype *cft) in mem_cgroup_read_u64() argument 3601 switch (MEMFILE_TYPE(cft->private)) { in mem_cgroup_read_u64() 3618 switch (MEMFILE_ATTR(cft->private)) { in mem_cgroup_read_u64() 3921 struct cftype *cft) in mem_cgroup_move_charge_read() argument 3928 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write() argument 3946 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write() argument 4163 struct cftype *cft) in mem_cgroup_swappiness_read() argument 4171 struct cftype *cft, u64 val) in mem_cgroup_swappiness_write() argument [all …]
|
/Linux-v5.10/kernel/cgroup/ |
D | cgroup.c | 626 struct cftype *cft = of_cft(of); in of_css() local 636 if (cft->ss) in of_css() 637 return rcu_dereference_raw(cgrp->subsys[cft->ss->id]); in of_css() 1458 static char *cgroup_file_name(struct cgroup *cgrp, const struct cftype *cft, in cgroup_file_name() argument 1461 struct cgroup_subsys *ss = cft->ss; in cgroup_file_name() 1463 if (cft->ss && !(cft->flags & CFTYPE_NO_PREFIX) && in cgroup_file_name() 1465 const char *dbg = (cft->flags & CFTYPE_DEBUG) ? ".__DEBUG__." : ""; in cgroup_file_name() 1469 cft->name); in cgroup_file_name() 1471 strscpy(buf, cft->name, CGROUP_FILE_NAME_MAX); in cgroup_file_name() 1482 static umode_t cgroup_file_mode(const struct cftype *cft) in cgroup_file_mode() argument [all …]
|
D | debug.c | 35 struct cftype *cft) in debug_taskcount_read() argument 77 struct cftype *cft) in current_css_set_refcount_read() argument 271 static u64 releasable_read(struct cgroup_subsys_state *css, struct cftype *cft) in releasable_read() argument
|
D | legacy_freezer.c | 438 struct cftype *cft) in freezer_self_freezing_read() argument 446 struct cftype *cft) in freezer_parent_freezing_read() argument
|
D | cgroup-v1.c | 577 struct cftype *cft) in cgroup_read_notify_on_release() argument 583 struct cftype *cft, u64 val) in cgroup_write_notify_on_release() argument 593 struct cftype *cft) in cgroup_clone_children_read() argument 599 struct cftype *cft, u64 val) in cgroup_clone_children_write() argument
|
D | cpuset.c | 2255 static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_u64() argument 2259 cpuset_filetype_t type = cft->private; in cpuset_write_u64() 2304 static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_s64() argument 2308 cpuset_filetype_t type = cft->private; in cpuset_write_s64() 2438 static u64 cpuset_read_u64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_u64() argument 2441 cpuset_filetype_t type = cft->private; in cpuset_read_u64() 2469 static s64 cpuset_read_s64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_s64() argument 2472 cpuset_filetype_t type = cft->private; in cpuset_read_s64()
|
D | pids.c | 307 struct cftype *cft) in pids_current_read() argument
|
/Linux-v5.10/kernel/sched/ |
D | cpuacct.c | 170 struct cftype *cft) in cpuusage_user_read() argument 176 struct cftype *cft) in cpuusage_sys_read() argument 181 static u64 cpuusage_read(struct cgroup_subsys_state *css, struct cftype *cft) in cpuusage_read() argument 186 static int cpuusage_write(struct cgroup_subsys_state *css, struct cftype *cft, in cpuusage_write() argument
|
D | core.c | 7881 struct cftype *cft) in cpu_shares_read_u64() argument 8032 struct cftype *cft) in cpu_cfs_quota_read_s64() argument 8044 struct cftype *cft) in cpu_cfs_period_read_u64() argument 8164 struct cftype *cft, s64 val) in cpu_rt_runtime_write() argument 8170 struct cftype *cft) in cpu_rt_runtime_read() argument 8182 struct cftype *cft) in cpu_rt_period_read_uint() argument 8265 struct cftype *cft) in cpu_weight_read_u64() argument 8274 struct cftype *cft, u64 weight) in cpu_weight_write_u64() argument 8292 struct cftype *cft) in cpu_weight_nice_read_s64() argument 8310 struct cftype *cft, s64 nice) in cpu_weight_nice_write_s64() argument
|
/Linux-v5.10/include/linux/ |
D | cgroup-defs.h | 573 u64 (*read_u64)(struct cgroup_subsys_state *css, struct cftype *cft); 577 s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft); 592 int (*write_u64)(struct cgroup_subsys_state *css, struct cftype *cft, 597 int (*write_s64)(struct cgroup_subsys_state *css, struct cftype *cft,
|
/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() argument 118 static int write_classid(struct cgroup_subsys_state *css, struct cftype *cft, in write_classid() argument
|
D | netprio_cgroup.c | 178 static u64 read_prioidx(struct cgroup_subsys_state *css, struct cftype *cft) in read_prioidx() argument
|