| /linux/kernel/cgroup/ |
| H A D | cpuset-v1.c | 165 static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_s64() argument 169 cpuset_filetype_t type = cft->private; in cpuset_write_s64() 178 pr_info_once("cpuset.%s is deprecated\n", cft->name); 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() 416 static u64 cpuset_read_u64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_u64() argument 419 cpuset_filetype_t type = cft->private; in cpuset_read_u64() 448 static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_u64() argument 452 cpuset_filetype_t type = cft->private; in cpuset_write_u64() 466 pr_info_once("cpuset.%s is deprecated\n", cft->name); in cpuset_write_u64() [all …]
|
| H A D | cgroup.c | 691 struct cftype *cft = of_cft(of); in of_css() local 701 if (CGROUP_HAS_SUBSYS_CONFIG && cft->ss) in of_css() 702 return rcu_dereference_raw(cgrp->subsys[cft->ss->id]); in of_css() 1586 static char *cgroup_file_name(struct cgroup *cgrp, const struct cftype *cft, in cgroup_file_name() argument 1589 struct cgroup_subsys *ss = cft->ss; in cgroup_file_name() 1591 if (cft->ss && !(cft->flags & CFTYPE_NO_PREFIX) && in cgroup_file_name() 1593 const char *dbg = (cft->flags & CFTYPE_DEBUG) ? ".__DEBUG__." : ""; in cgroup_file_name() 1597 cft->name); in cgroup_file_name() 1599 strscpy(buf, cft->name, CGROUP_FILE_NAME_MAX); in cgroup_file_name() 1610 static umode_t cgroup_file_mode(const struct cftype *cft) in cgroup_file_mode() argument [all …]
|
| H A D | debug.c | 35 struct cftype *cft) in debug_taskcount_read() argument 75 struct cftype *cft) in current_css_set_refcount_read() argument 267 static u64 releasable_read(struct cgroup_subsys_state *css, struct cftype *cft) in releasable_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 | 600 struct cftype *cft) in cgroup_read_notify_on_release() argument 606 struct cftype *cft, u64 val) in cgroup_write_notify_on_release() argument 616 struct cftype *cft) in cgroup_clone_children_read() argument 622 struct cftype *cft, u64 val) in cgroup_clone_children_write() argument
|
| /linux/kernel/sched/ |
| H A D | cpuacct.c | 177 struct cftype *cft) in cpuusage_user_read() argument 183 struct cftype *cft) in cpuusage_sys_read() argument 188 static u64 cpuusage_read(struct cgroup_subsys_state *css, struct cftype *cft) in cpuusage_read() argument 193 static int cpuusage_write(struct cgroup_subsys_state *css, struct cftype *cft, in cpuusage_write() argument
|
| H A D | core.c | 9426 struct cftype *cft) in cpu_shares_read_u64() argument 9700 struct cftype *cft) in cpu_period_read_u64() argument 9759 struct cftype *cft) in cpu_quota_read_s64() argument 9768 struct cftype *cft) in cpu_burst_read_u64() argument 9812 struct cftype *cft, s64 val) in cpu_rt_runtime_write() argument 9818 struct cftype *cft) in cpu_rt_runtime_read() argument 9830 struct cftype *cft) in cpu_rt_period_read_uint() argument 9838 struct cftype *cft) in cpu_idle_read_s64() argument 9844 struct cftype *cft, s64 idle) in cpu_idle_write_s64() argument 10008 struct cftype *cft) in cpu_weight_read_u64() argument [all …]
|
| /linux/include/linux/ |
| H A D | cgroup-defs.h | 720 u64 (*read_u64)(struct cgroup_subsys_state *css, struct cftype *cft); 724 s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft); 739 int (*write_u64)(struct cgroup_subsys_state *css, struct cftype *cft, 744 int (*write_s64)(struct cgroup_subsys_state *css, struct cftype *cft,
|
| /linux/net/core/ |
| H A D | netclassid_cgroup.c | 117 static u64 read_classid(struct cgroup_subsys_state *css, struct cftype *cft) in read_classid() argument 122 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
|
| /linux/mm/ |
| 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 | 4230 struct cftype *cft) in memory_current_read() argument 5303 struct cftype *cft) in swap_current_read() argument 5532 struct cftype *cft) in zswap_current_read() argument
|