| /linux/kernel/cgroup/ |
| A D | cgroup.c | 1541 if (cft->read_u64 || cft->read_s64 || cft->seq_show) in cgroup_file_mode() 1544 if (cft->write_u64 || cft->write_s64 || cft->write) { in cgroup_file_mode() 4158 ret = cft->write_u64(css, cft, v); in cgroup_file_write() 4254 0, cft->kf_ops, cft, in cgroup_add_file() 4292 for (cft = cfts; cft != cft_end && cft->name[0] != '\0'; cft++) { in cgroup_addrm_files() 4350 for (cft = cfts; cft->name[0] != '\0'; cft++) { in cgroup_exit_cftypes() 4368 for (cft = cfts; cft->name[0] != '\0'; cft++) { in cgroup_init_cftypes() 4371 WARN_ON(cft->ss || cft->kf_ops); in cgroup_init_cftypes() 4491 for (cft = cfts; cft && cft->name[0] != '\0'; cft++) in cgroup_add_dfl_cftypes() 4508 for (cft = cfts; cft && cft->name[0] != '\0'; cft++) in cgroup_add_legacy_cftypes() [all …]
|
| A D | cpuset-v1.c | 164 static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_s64() argument 168 cpuset_filetype_t type = cft->private; in cpuset_write_s64() 190 static s64 cpuset_read_s64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_s64() argument 193 cpuset_filetype_t type = cft->private; in cpuset_read_s64() 376 static u64 cpuset_read_u64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_u64() argument 379 cpuset_filetype_t type = cft->private; in cpuset_read_u64() 408 static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_u64() argument 412 cpuset_filetype_t type = cft->private; in cpuset_write_u64()
|
| 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
|
| A D | legacy_freezer.c | 443 struct cftype *cft) in freezer_self_freezing_read() argument 451 struct cftype *cft) in freezer_parent_freezing_read() argument
|
| A D | pids.c | 346 struct cftype *cft) in pids_current_read() argument 354 struct cftype *cft) in pids_peak_read() argument
|
| 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/mm/ |
| A D | hugetlb_cgroup.c | 471 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_numa_stat() local 472 int idx = MEMFILE_IDX(cft->private); in hugetlb_cgroup_read_numa_stat() 522 struct cftype *cft) in hugetlb_cgroup_read_u64() argument 531 switch (MEMFILE_ATTR(cft->private)) { in hugetlb_cgroup_read_u64() 557 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_u64_max() local 562 idx = MEMFILE_IDX(cft->private); in hugetlb_cgroup_read_u64_max() 568 switch (MEMFILE_ATTR(cft->private)) { in hugetlb_cgroup_read_u64_max() 690 struct cftype *cft = seq_cft(seq); in __hugetlb_events_show() local 693 idx = MEMFILE_IDX(cft->private); in __hugetlb_events_show() 827 *cft = *tmpl; in hugetlb_cgroup_cfttypes_init() [all …]
|
| A D | memcontrol-v1.c | 594 struct cftype *cft) in mem_cgroup_move_charge_read() argument 601 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write() argument 623 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write() argument 2425 struct cftype *cft) in mem_cgroup_hierarchy_read() argument 2431 struct cftype *cft, u64 val) in mem_cgroup_hierarchy_write() argument 2444 struct cftype *cft) in mem_cgroup_read_u64() argument 2449 switch (MEMFILE_TYPE(cft->private)) { in mem_cgroup_read_u64() 2466 switch (MEMFILE_ATTR(cft->private)) { in mem_cgroup_read_u64() 2836 struct cftype *cft) in mem_cgroup_swappiness_read() argument 2844 struct cftype *cft, u64 val) in mem_cgroup_swappiness_write() argument [all …]
|
| A D | memcontrol.c | 3917 struct cftype *cft) in memory_current_read() argument 5128 struct cftype *cft) in swap_current_read() argument 5360 struct cftype *cft) in zswap_current_read() argument
|
| /linux/include/linux/ |
| 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/kernel/sched/ |
| 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
|
| A D | core.c | 9282 struct cftype *cft) in cpu_shares_read_u64() argument 9464 struct cftype *cft) in cpu_cfs_quota_read_s64() argument 9476 struct cftype *cft) in cpu_cfs_period_read_u64() argument 9488 struct cftype *cft) in cpu_cfs_burst_read_u64() argument 9635 struct cftype *cft, s64 val) in cpu_rt_runtime_write() argument 9641 struct cftype *cft) in cpu_rt_runtime_read() argument 9653 struct cftype *cft) in cpu_rt_period_read_uint() argument 9661 struct cftype *cft) in cpu_idle_read_s64() argument 9667 struct cftype *cft, s64 idle) in cpu_idle_write_s64() argument 9792 struct cftype *cft) in cpu_weight_read_u64() argument [all …]
|
| /linux/net/core/ |
| 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
|
| A D | netprio_cgroup.c | 178 static u64 read_prioidx(struct cgroup_subsys_state *css, struct cftype *cft) in read_prioidx() argument
|