Home
last modified time | relevance | path

Searched refs:cftype (Results 1 – 25 of 25) sorted by relevance

/linux/include/linux/
H A Dcgroup-defs.h695 struct cftype { struct
735 u64 (*read_u64)(struct cgroup_subsys_state *css, struct cftype *cft); argument
739 s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft); argument
754 int (*write_u64)(struct cgroup_subsys_state *css, struct cftype *cft, argument
759 int (*write_s64)(struct cgroup_subsys_state *css, struct cftype *cft, argument
856 struct cftype *dfl_cftypes; /* for the default hierarchy */
857 struct cftype *legacy_cftypes; /* for the legacy hierarchies */
/linux/mm/
H A Dhugetlb_cgroup.c32 static struct cftype *dfl_files;
33 static struct cftype *legacy_files;
459 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_numa_stat()
510 struct cftype *cft) in hugetlb_cgroup_read_u64()
545 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_u64_max()
678 struct cftype *cft = seq_cft(seq); in __hugetlb_events_show()
703 static struct cftype hugetlb_dfl_tmpl[] = {
750 static struct cftype hugetlb_legacy_tmpl[] = {
805 hugetlb_cgroup_cfttypes_init(struct hstate *h, struct cftype *cft, in hugetlb_cgroup_cfttypes_init()
806 struct cftype *tmpl, int tmpl_size) in hugetlb_cgroup_cfttypes_init()
[all …]
H A Dmemcontrol.c4637 struct cftype *cft) in memory_current_read()
5023 static struct cftype memory_files[] = {
5793 struct cftype *cft) in swap_current_read()
5876 static struct cftype swap_files[] = {
6032 struct cftype *cft) in zswap_current_read()
6088 static struct cftype zswap_files[] = {
/linux/net/core/
H A Dnetclassid_cgroup.c117 static u64 read_classid(struct cgroup_subsys_state *css, struct cftype *cft) in read_classid()
122 static int write_classid(struct cgroup_subsys_state *css, struct cftype *cft, in write_classid()
139 static struct cftype ss_files[] = {
H A Dnetprio_cgroup.c178 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 Ddebug.c35 struct cftype *cft) in debug_taskcount_read()
75 struct cftype *cft) in current_css_set_refcount_read()
267 static u64 releasable_read(struct cgroup_subsys_state *css, struct cftype *cft) in releasable_read()
273 static struct cftype debug_legacy_files[] = {
320 static struct cftype debug_files[] = {
H A Dpids.c346 struct cftype *cft) in pids_current_read()
354 struct cftype *cft) in pids_peak_read()
390 static struct cftype pids_files[] = {
422 static struct cftype pids_files_legacy[] = {
H A Dlegacy_freezer.c431 struct cftype *cft) in freezer_self_freezing_read()
439 struct cftype *cft) in freezer_parent_freezing_read()
446 static struct cftype files[] = {
H A Dcpuset-v1.c165 static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_s64()
190 static s64 cpuset_read_s64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_s64()
444 static u64 cpuset_read_u64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_u64()
476 static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_u64()
769 struct cftype cpuset1_files[] = {
H A Dcgroup.c253 static struct cftype cgroup_base_files[];
254 static struct cftype cgroup_psi_files[];
283 struct cgroup *cgrp, struct cftype cfts[],
659 struct cftype *cft = of_cft(of); in of_css()
1570 static char *cgroup_file_name(struct cgroup *cgrp, const struct cftype *cft, in cgroup_file_name()
1594 static umode_t cgroup_file_mode(const struct cftype *cft) in cgroup_file_mode()
1728 static void cgroup_rm_file(struct cgroup *cgrp, const struct cftype *cft) in cgroup_rm_file()
1755 struct cftype *cfts; in css_clear_dir()
1788 struct cftype *cfts, *failed_cfts; in css_populate_dir()
4353 struct cftype *cft = of_cft(of); in cgroup_file_open()
[all …]
H A Dcgroup-v1.c600 struct cftype *cft) in cgroup_read_notify_on_release()
606 struct cftype *cft, u64 val) in cgroup_write_notify_on_release()
616 struct cftype *cft) in cgroup_clone_children_read()
622 struct cftype *cft, u64 val) in cgroup_clone_children_write()
632 struct cftype cgroup1_base_files[] = {
H A Dcpuset-internal.h318 extern struct cftype cpuset1_files[];
H A Dmisc.c395 static struct cftype misc_cg_files[] = {
H A Ddmem.c1002 static struct cftype files[] = {
/linux/kernel/sched/
H A Dcpuacct.c177 struct cftype *cft) in cpuusage_user_read()
183 struct cftype *cft) in cpuusage_sys_read()
188 static u64 cpuusage_read(struct cgroup_subsys_state *css, struct cftype *cft) in cpuusage_read()
193 static int cpuusage_write(struct cgroup_subsys_state *css, struct cftype *cft, in cpuusage_write()
294 static struct cftype files[] = {
H A Dcore.c9825 struct cftype *cftype, u64 shareval) in cpu_shares_write_u64() argument
9839 struct cftype *cft) in cpu_shares_read_u64()
10116 struct cftype *cft) in cpu_period_read_u64()
10175 struct cftype *cft) in cpu_quota_read_s64()
10184 struct cftype *cft) in cpu_burst_read_u64()
10193 struct cftype *cftype, u64 period_us) in cpu_period_write_u64() argument
10203 struct cftype *cftype, s64 quota_us) in cpu_quota_write_s64() argument
10216 struct cftype *cftype, u64 burst_us) in cpu_burst_write_u64() argument
10228 struct cftype *cft, s64 val) in cpu_rt_runtime_write()
10234 struct cftype *cft) in cpu_rt_runtime_read()
[all …]
/linux/block/
H A Dblk-ioprio.c116 static struct cftype ioprio_files[] = {
H A Dblk-cgroup.h177 struct cftype *dfl_cftypes;
178 struct cftype *legacy_cftypes;
H A Dbfq-iosched.h1094 extern struct cftype bfq_blkcg_legacy_files[];
1095 extern struct cftype bfq_blkg_files[];
H A Dbfq-cgroup.c1034 struct cftype *cftype, in bfq_io_set_weight_legacy() argument
1279 struct cftype bfq_blkcg_legacy_files[] = {
1405 struct cftype bfq_blkg_files[] = {
H A Dblk-cgroup.c653 struct cftype *cftype, u64 val) in blkcg_reset_stats() argument
659 pr_info_once("blkio.%s is deprecated\n", cftype->name); in blkcg_reset_stats()
1204 static struct cftype blkcg_files[] = {
1212 static struct cftype blkcg_legacy_files[] = {
H A Dblk-throttle.c1440 static struct cftype throtl_legacy_files[] = {
1622 static struct cftype throtl_files[] = {
H A Dblk-iolatency.c1058 static struct cftype iolatency_files[] = {
H A Dblk-iocost.c3574 static struct cftype ioc_files[] = {
/linux/security/
H A Ddevice_cgroup.c790 static struct cftype dev_cgroup_files[] = {