Home
last modified time | relevance | path

Searched refs:cft (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/mm/
H A Dhugetlb_cgroup.c470 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_numa_stat() local
471 int idx = MEMFILE_IDX(cft->private); in hugetlb_cgroup_read_numa_stat()
472 bool legacy = MEMFILE_ATTR(cft->private); in hugetlb_cgroup_read_numa_stat()
521 struct cftype *cft) in hugetlb_cgroup_read_u64() argument
527 counter = &h_cg->hugepage[MEMFILE_IDX(cft->private)]; in hugetlb_cgroup_read_u64()
528 rsvd_counter = &h_cg->rsvd_hugepage[MEMFILE_IDX(cft->private)]; in hugetlb_cgroup_read_u64()
530 switch (MEMFILE_ATTR(cft->private)) { in hugetlb_cgroup_read_u64()
556 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_u64_max() local
561 idx = MEMFILE_IDX(cft->private); in hugetlb_cgroup_read_u64_max()
567 switch (MEMFILE_ATTR(cft->private)) { in hugetlb_cgroup_read_u64_max()
[all …]
H A Dmemcontrol.c3652 struct cftype *cft) in mem_cgroup_hierarchy_read() argument
3658 struct cftype *cft, u64 val) in mem_cgroup_hierarchy_write() argument
3701 struct cftype *cft) in mem_cgroup_read_u64() argument
3706 switch (MEMFILE_TYPE(cft->private)) { in mem_cgroup_read_u64()
3723 switch (MEMFILE_ATTR(cft->private)) { in mem_cgroup_read_u64()
3938 struct cftype *cft) in mem_cgroup_move_charge_read() argument
3945 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write() argument
3967 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write() argument
4182 struct cftype *cft) in mem_cgroup_swappiness_read() argument
4190 struct cftype *cft, u64 val) in mem_cgroup_swappiness_write() argument
[all …]
/openbmc/linux/kernel/cgroup/
H A Dcgroup.c637 struct cftype *cft = of_cft(of); in of_css() local
647 if (CGROUP_HAS_SUBSYS_CONFIG && cft->ss) in of_css()
648 return rcu_dereference_raw(cgrp->subsys[cft->ss->id]); in of_css()
1505 static char *cgroup_file_name(struct cgroup *cgrp, const struct cftype *cft, in cgroup_file_name() argument
1508 struct cgroup_subsys *ss = cft->ss; in cgroup_file_name()
1510 if (cft->ss && !(cft->flags & CFTYPE_NO_PREFIX) && in cgroup_file_name()
1512 const char *dbg = (cft->flags & CFTYPE_DEBUG) ? ".__DEBUG__." : ""; in cgroup_file_name()
1516 cft->name); in cgroup_file_name()
1518 strscpy(buf, cft->name, CGROUP_FILE_NAME_MAX); in cgroup_file_name()
1529 static umode_t cgroup_file_mode(const struct cftype *cft) in cgroup_file_mode() argument
[all …]
H A Ddebug.c35 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 Dpids.c327 struct cftype *cft) in pids_current_read() argument
335 struct cftype *cft) in pids_peak_read() argument
H A Dlegacy_freezer.c444 struct cftype *cft) in freezer_self_freezing_read() argument
452 struct cftype *cft) in freezer_parent_freezing_read() argument
H A Dcgroup-v1.c590 struct cftype *cft) in cgroup_read_notify_on_release() argument
596 struct cftype *cft, u64 val) in cgroup_write_notify_on_release() argument
606 struct cftype *cft) in cgroup_clone_children_read() argument
612 struct cftype *cft, u64 val) in cgroup_clone_children_write() argument
H A Dcpuset.c2768 static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_u64() argument
2772 cpuset_filetype_t type = cft->private; in cpuset_write_u64()
2817 static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_s64() argument
2821 cpuset_filetype_t type = cft->private; in cpuset_write_s64()
2951 static u64 cpuset_read_u64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_u64() argument
2954 cpuset_filetype_t type = cft->private; in cpuset_read_u64()
2982 static s64 cpuset_read_s64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_s64() argument
2985 cpuset_filetype_t type = cft->private; in cpuset_read_s64()
/openbmc/linux/include/linux/
H A Dcgroup-defs.h621 u64 (*read_u64)(struct cgroup_subsys_state *css, struct cftype *cft);
625 s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft);
640 int (*write_u64)(struct cgroup_subsys_state *css, struct cftype *cft,
645 int (*write_s64)(struct cgroup_subsys_state *css, struct cftype *cft,
/openbmc/linux/kernel/sched/
H A Dcpuacct.c175 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 Dcore.c10839 struct cftype *cft) in cpu_shares_read_u64() argument
11022 struct cftype *cft) in cpu_cfs_quota_read_s64() argument
11034 struct cftype *cft) in cpu_cfs_period_read_u64() argument
11046 struct cftype *cft) in cpu_cfs_burst_read_u64() argument
11198 struct cftype *cft, s64 val) in cpu_rt_runtime_write() argument
11204 struct cftype *cft) in cpu_rt_runtime_read() argument
11216 struct cftype *cft) in cpu_rt_period_read_uint() argument
11224 struct cftype *cft) in cpu_idle_read_s64() argument
11230 struct cftype *cft, s64 idle) in cpu_idle_write_s64() argument
11349 struct cftype *cft) in cpu_weight_read_u64() argument
11358 cpu_weight_write_u64(struct cgroup_subsys_state * css,struct cftype * cft,u64 weight) cpu_weight_write_u64() argument
11376 cpu_weight_nice_read_s64(struct cgroup_subsys_state * css,struct cftype * cft) cpu_weight_nice_read_s64() argument
11394 cpu_weight_nice_write_s64(struct cgroup_subsys_state * css,struct cftype * cft,s64 nice) cpu_weight_nice_write_s64() argument
[all...]
/openbmc/linux/net/core/
H A Dnetclassid_cgroup.c109 static u64 read_classid(struct cgroup_subsys_state *css, struct cftype *cft) in read_classid() argument
114 static int write_classid(struct cgroup_subsys_state *css, struct cftype *cft, in write_classid() argument
H A Dnetprio_cgroup.c178 static u64 read_prioidx(struct cgroup_subsys_state *css, struct cftype *cft) in read_prioidx() argument