/linux/include/linux/ |
H A D | cgroup-defs.h | 599 struct cftype { struct 640 u64 (*read_u64)(struct cgroup_subsys_state *css, struct cftype *cft); argument 644 s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft); argument 659 int (*write_u64)(struct cgroup_subsys_state *css, struct cftype *cft, argument 664 int (*write_s64)(struct cgroup_subsys_state *css, struct cftype *cft, argument 763 struct cftype *dfl_cftypes; /* for the default hierarchy */ 764 struct cftype *legacy_cftypes; /* for the legacy hierarchies */
|
H A D | cgroup.h | 114 int cgroup_add_dfl_cftypes(struct cgroup_subsys *ss, struct cftype *cfts); 115 int cgroup_add_legacy_cftypes(struct cgroup_subsys *ss, struct cftype *cfts); 116 int cgroup_rm_cftypes(struct cftype *cfts); 569 static inline struct cftype *of_cft(struct kernfs_open_file *of) in of_cft() 577 static inline struct cftype *seq_cft(struct seq_file *seq) in seq_cft()
|
H A D | hugetlb.h | 703 struct cftype cgroup_files_dfl[8]; 704 struct cftype cgroup_files_legacy[10];
|
/linux/net/core/ |
H A D | netclassid_cgroup.c | 115 static u64 read_classid(struct cgroup_subsys_state *css, struct cftype *cft) in read_classid() 120 static int write_classid(struct cgroup_subsys_state *css, struct cftype *cft, in write_classid() 137 static struct cftype ss_files[] = {
|
H A D | netprio_cgroup.c | 178 static u64 read_prioidx(struct cgroup_subsys_state *css, struct cftype *cft) in read_prioidx() 243 static struct cftype ss_files[] = {
|
/linux/kernel/cgroup/ |
H A 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[] = {
|
H A D | pids.c | 325 struct cftype *cft) in pids_current_read() 333 struct cftype *cft) in pids_peak_read() 348 static struct cftype pids_files[] = {
|
H A D | legacy_freezer.c | 443 struct cftype *cft) in freezer_self_freezing_read() 451 struct cftype *cft) in freezer_parent_freezing_read() 458 static struct cftype files[] = {
|
H A D | cgroup.c | 639 struct cftype *cft = of_cft(of); in of_css() 1698 struct cftype *cfts; in css_clear_dir() 4034 struct cftype *cft = of_cft(of); in cgroup_file_open() 4059 struct cftype *cft = of_cft(of); in cgroup_file_release() 4073 struct cftype *cft = of_cft(of); in cgroup_file_write() 4192 struct cftype *cft) in cgroup_add_file() 4298 struct cftype *cft; in cgroup_exit_cftypes() 4315 struct cftype *cft; in cgroup_init_cftypes() 4439 struct cftype *cft; in cgroup_add_dfl_cftypes() 4456 struct cftype *cft; in cgroup_add_legacy_cftypes() [all …]
|
H A D | cgroup-v1.c | 590 struct cftype *cft) in cgroup_read_notify_on_release() 596 struct cftype *cft, u64 val) in cgroup_write_notify_on_release() 606 struct cftype *cft) in cgroup_clone_children_read() 612 struct cftype *cft, u64 val) in cgroup_clone_children_write() 622 struct cftype cgroup1_base_files[] = {
|
H A D | cgroup-internal.h | 283 extern struct cftype cgroup1_base_files[];
|
H A D | misc.c | 349 static struct cftype misc_cg_files[] = {
|
H A D | rdma.c | 547 static struct cftype rdmacg_files[] = {
|
H A D | cpuset.c | 3497 static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_u64() 3546 static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_s64() 3691 static u64 cpuset_read_u64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_u64() 3722 static s64 cpuset_read_s64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_s64() 3804 static struct cftype legacy_files[] = { 3911 static struct cftype dfl_files[] = {
|
/linux/kernel/sched/ |
H A D | cpuacct.c | 175 struct cftype *cft) in cpuusage_user_read() 181 struct cftype *cft) in cpuusage_sys_read() 186 static u64 cpuusage_read(struct cgroup_subsys_state *css, struct cftype *cft) in cpuusage_read() 191 static int cpuusage_write(struct cgroup_subsys_state *css, struct cftype *cft, in cpuusage_write() 292 static struct cftype files[] = {
|
H A D | core.c | 10783 struct cftype *cftype, u64 shareval) in cpu_shares_write_u64() argument 10791 struct cftype *cft) in cpu_shares_read_u64() 10974 struct cftype *cft) in cpu_cfs_quota_read_s64() 10980 struct cftype *cftype, s64 cfs_quota_us) in cpu_cfs_quota_write_s64() argument 10986 struct cftype *cft) in cpu_cfs_period_read_u64() 10992 struct cftype *cftype, u64 cfs_period_us) in cpu_cfs_period_write_u64() argument 10998 struct cftype *cft) in cpu_cfs_burst_read_u64() 11004 struct cftype *cftype, u64 cfs_burst_us) in cpu_cfs_burst_write_u64() argument 11158 struct cftype *cftype, u64 rt_period_us) in cpu_rt_period_write_uint() argument 11164 struct cftype *cft) in cpu_rt_period_read_uint() [all …]
|
/linux/mm/ |
H A D | hugetlb_cgroup.c | 461 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_numa_stat() 512 struct cftype *cft) in hugetlb_cgroup_read_u64() 547 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_u64_max() 680 struct cftype *cft = seq_cft(seq); in __hugetlb_events_show() 708 struct cftype *cft; in __hugetlb_cgroup_file_dfl_init() 779 struct cftype *cft; in __hugetlb_cgroup_file_legacy_init() 894 static struct cftype hugetlb_files[] = {
|
H A D | memcontrol.c | 4047 struct cftype *cft) in mem_cgroup_hierarchy_read() 4053 struct cftype *cft, u64 val) in mem_cgroup_hierarchy_write() 4096 struct cftype *cft) in mem_cgroup_read_u64() 4335 struct cftype *cft) in mem_cgroup_move_charge_read() 4342 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write() 4364 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write() 4579 struct cftype *cft) in mem_cgroup_swappiness_read() 4587 struct cftype *cft, u64 val) in mem_cgroup_swappiness_write() 4939 struct cftype *cft, u64 val) in mem_cgroup_oom_control_write() 5335 * to be done via struct cftype bu in memcg_write_event_control() [all...] |
/linux/block/ |
H A D | blk-ioprio.c | 167 static struct cftype ioprio_files[] = { 172 static struct cftype ioprio_legacy_files[] = {
|
H A D | blk-cgroup.h | 173 struct cftype *dfl_cftypes; 174 struct cftype *legacy_cftypes;
|
H A D | bfq-iosched.h | 1098 extern struct cftype bfq_blkcg_legacy_files[]; 1099 extern struct cftype bfq_blkg_files[];
|
H A D | bfq-cgroup.c | 1073 struct cftype *cftype, in bfq_io_set_weight_legacy() argument 1309 struct cftype bfq_blkcg_legacy_files[] = { 1435 struct cftype bfq_blkg_files[] = {
|
H A D | blk-cgroup.c | 656 struct cftype *cftype, u64 val) in blkcg_reset_stats() argument 1215 static struct cftype blkcg_files[] = { 1223 static struct cftype blkcg_legacy_files[] = {
|
H A D | blk-throttle.c | 1340 static struct cftype throtl_legacy_files[] = { 1520 static struct cftype throtl_files[] = {
|
/linux/security/ |
H A D | device_cgroup.c | 796 static struct cftype dev_cgroup_files[] = {
|