| /linux-6.15/kernel/cgroup/ |
| H A D | cpuset-v1.c | 169 cpuset_filetype_t type = cft->private; in cpuset_write_s64() 179 pr_info_once("cpuset.%s is deprecated\n", cft->name); in cpuset_write_s64() 192 static s64 cpuset_read_s64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_s64() argument 195 cpuset_filetype_t type = cft->private; in cpuset_read_s64() 421 cpuset_filetype_t type = cft->private; in cpuset_read_u64() 454 cpuset_filetype_t type = cft->private; in cpuset_write_u64() 469 pr_info_once("cpuset.%s is deprecated\n", cft->name); in cpuset_write_u64() 473 pr_info_once("cpuset.%s is deprecated\n", cft->name); in cpuset_write_u64() 481 pr_info_once("cpuset.%s is deprecated\n", cft->name); in cpuset_write_u64() 489 pr_info_once("cpuset.%s is deprecated\n", cft->name); in cpuset_write_u64() [all …]
|
| H A D | cgroup.c | 1554 if (cft->read_u64 || cft->read_s64 || cft->seq_show) in cgroup_file_mode() 1557 if (cft->write_u64 || cft->write_s64 || cft->write) { in cgroup_file_mode() 4197 ret = cft->write_u64(css, cft, v); in cgroup_file_write() 4293 0, cft->kf_ops, cft, in cgroup_add_file() 4331 for (cft = cfts; cft != cft_end && cft->name[0] != '\0'; cft++) { in cgroup_addrm_files() 4389 for (cft = cfts; cft->name[0] != '\0'; cft++) { in cgroup_exit_cftypes() 4407 for (cft = cfts; cft->name[0] != '\0'; cft++) { in cgroup_init_cftypes() 4410 WARN_ON(cft->ss || cft->kf_ops); in cgroup_init_cftypes() 4530 for (cft = cfts; cft && cft->name[0] != '\0'; cft++) in cgroup_add_dfl_cftypes() 4547 for (cft = cfts; cft && cft->name[0] != '\0'; cft++) in cgroup_add_legacy_cftypes() [all …]
|
| H A 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
|
| H A D | legacy_freezer.c | 445 struct cftype *cft) in freezer_self_freezing_read() argument 453 struct cftype *cft) in freezer_parent_freezing_read() argument
|
| H A D | pids.c | 346 struct cftype *cft) in pids_current_read() argument 354 struct cftype *cft) in pids_peak_read() argument
|
| H A D | cgroup-v1.c | 596 struct cftype *cft) in cgroup_read_notify_on_release() argument 602 struct cftype *cft, u64 val) in cgroup_write_notify_on_release() argument 612 struct cftype *cft) in cgroup_clone_children_read() argument 618 struct cftype *cft, u64 val) in cgroup_clone_children_write() argument
|
| /linux-6.15/mm/ |
| H A D | hugetlb_cgroup.c | 467 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_numa_stat() local 468 int idx = MEMFILE_IDX(cft->private); in hugetlb_cgroup_read_numa_stat() 518 struct cftype *cft) in hugetlb_cgroup_read_u64() argument 527 switch (MEMFILE_ATTR(cft->private)) { in hugetlb_cgroup_read_u64() 553 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_u64_max() local 558 idx = MEMFILE_IDX(cft->private); in hugetlb_cgroup_read_u64_max() 564 switch (MEMFILE_ATTR(cft->private)) { in hugetlb_cgroup_read_u64_max() 686 struct cftype *cft = seq_cft(seq); in __hugetlb_events_show() local 689 idx = MEMFILE_IDX(cft->private); in __hugetlb_events_show() 823 *cft = *tmpl; in hugetlb_cgroup_cfttypes_init() [all …]
|
| H A D | memcontrol-v1.c | 405 struct cftype *cft) in mem_cgroup_move_charge_read() argument 412 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write() argument 424 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write() argument 1532 struct cftype *cft) in mem_cgroup_hierarchy_read() argument 1538 struct cftype *cft, u64 val) in mem_cgroup_hierarchy_write() argument 1551 struct cftype *cft) in mem_cgroup_read_u64() argument 1556 switch (MEMFILE_TYPE(cft->private)) { in mem_cgroup_read_u64() 1573 switch (MEMFILE_ATTR(cft->private)) { in mem_cgroup_read_u64() 1943 struct cftype *cft) in mem_cgroup_swappiness_read() argument 1951 struct cftype *cft, u64 val) in mem_cgroup_swappiness_write() argument [all …]
|
| H A D | memcontrol.c | 4037 struct cftype *cft) in memory_current_read() argument 5135 struct cftype *cft) in swap_current_read() argument 5364 struct cftype *cft) in zswap_current_read() argument
|
| /linux-6.15/include/linux/ |
| H A D | cgroup-defs.h | 660 u64 (*read_u64)(struct cgroup_subsys_state *css, struct cftype *cft); 664 s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft); 679 int (*write_u64)(struct cgroup_subsys_state *css, struct cftype *cft, 684 int (*write_s64)(struct cgroup_subsys_state *css, struct cftype *cft,
|
| /linux-6.15/kernel/sched/ |
| H A D | cpuacct.c | 175 struct cftype *cft) in cpuusage_user_read() argument 181 struct cftype *cft) in cpuusage_sys_read() argument 186 static u64 cpuusage_read(struct cgroup_subsys_state *css, struct cftype *cft) in cpuusage_read() argument 191 static int cpuusage_write(struct cgroup_subsys_state *css, struct cftype *cft, in cpuusage_write() argument
|
| H A D | core.c | 9430 struct cftype *cft) in cpu_shares_read_u64() argument 9612 struct cftype *cft) in cpu_cfs_quota_read_s64() argument 9624 struct cftype *cft) in cpu_cfs_period_read_u64() argument 9636 struct cftype *cft) in cpu_cfs_burst_read_u64() argument 9783 struct cftype *cft, s64 val) in cpu_rt_runtime_write() argument 9789 struct cftype *cft) in cpu_rt_runtime_read() argument 9801 struct cftype *cft) in cpu_rt_period_read_uint() argument 9809 struct cftype *cft) in cpu_idle_read_s64() argument 9815 struct cftype *cft, s64 idle) in cpu_idle_write_s64() argument 9940 struct cftype *cft) in cpu_weight_read_u64() argument [all …]
|
| /linux-6.15/net/core/ |
| H A D | netclassid_cgroup.c | 115 static u64 read_classid(struct cgroup_subsys_state *css, struct cftype *cft) in read_classid() argument 120 static int write_classid(struct cgroup_subsys_state *css, struct cftype *cft, in write_classid() argument
|
| H A D | netprio_cgroup.c | 178 static u64 read_prioidx(struct cgroup_subsys_state *css, struct cftype *cft) in read_prioidx() argument
|