Home
last modified time | relevance | path

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

/linux/kernel/cgroup/
H A Dcpuset-v1.c165 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()
179 pr_info_once("cpuset.%s is deprecated\n", cft->name); in cpuset_write_s64()
192 static s64 cpuset_read_s64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_s64() argument
195 cpuset_filetype_t type = cft->private; in cpuset_read_s64()
418 static u64 cpuset_read_u64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_u64() argument
421 cpuset_filetype_t type = cft->private; in cpuset_read_u64()
450 static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_u64() argument
454 cpuset_filetype_t type = cft->private; in cpuset_write_u64()
469 pr_info_once("cpuset.%s is deprecated\n", cft in cpuset_write_u64()
[all...]
H A Dcgroup.c659 struct cftype *cft = of_cft(of); in of_css() local
669 if (CGROUP_HAS_SUBSYS_CONFIG && cft->ss) in of_css()
670 return rcu_dereference_raw(cgrp->subsys[cft->ss->id]); in of_css()
1537 static char *cgroup_file_name(struct cgroup *cgrp, const struct cftype *cft, in cgroup_file_name() argument
1540 struct cgroup_subsys *ss = cft->ss; in cgroup_file_name()
1542 if (cft->ss && !(cft->flags & CFTYPE_NO_PREFIX) && in cgroup_file_name()
1544 const char *dbg = (cft->flags & CFTYPE_DEBUG) ? ".__DEBUG__." : ""; in cgroup_file_name()
1548 cft->name); in cgroup_file_name()
1550 strscpy(buf, cft in cgroup_file_name()
1561 cgroup_file_mode(const struct cftype * cft) cgroup_file_mode() argument
1695 cgroup_rm_file(struct cgroup * cgrp,const struct cftype * cft) cgroup_rm_file() argument
4130 struct cftype *cft = of_cft(of); cgroup_file_open() local
4155 struct cftype *cft = of_cft(of); cgroup_file_release() local
4169 struct cftype *cft = of_cft(of); cgroup_file_write() local
4219 struct cftype *cft = of_cft(of); cgroup_file_poll() local
4245 struct cftype *cft = seq_cft(m); cgroup_seqfile_show() local
4288 cgroup_add_file(struct cgroup_subsys_state * css,struct cgroup * cgrp,struct cftype * cft) cgroup_add_file() argument
4332 struct cftype *cft, *cft_end = NULL; cgroup_addrm_files() local
4394 struct cftype *cft; cgroup_exit_cftypes() local
4411 struct cftype *cft; cgroup_init_cftypes() local
4535 struct cftype *cft; cgroup_add_dfl_cftypes() local
4552 struct cftype *cft; cgroup_add_legacy_cftypes() local
7166 struct cftype *cft; show_delegatable_files() local
[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 Dlegacy_freezer.c438 struct cftype *cft) in freezer_self_freezing_read() argument
446 struct cftype *cft) in freezer_parent_freezing_read() argument
H A Dpids.c346 struct cftype *cft) in pids_current_read() argument
354 struct cftype *cft) in pids_peak_read() argument
H A Dcgroup-v1.c599 struct cftype *cft) in cgroup_read_notify_on_release() argument
605 struct cftype *cft, u64 val) in cgroup_write_notify_on_release() argument
615 struct cftype *cft) in cgroup_clone_children_read() argument
621 struct cftype *cft, u64 val) in cgroup_clone_children_write() argument
/linux/mm/
H A Dhugetlb_cgroup.c467 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_numa_stat() local
468 int idx = MEMFILE_IDX(cft->private); in hugetlb_cgroup_read_numa_stat()
518 struct cftype *cft) in hugetlb_cgroup_read_u64() argument
524 counter = &h_cg->hugepage[MEMFILE_IDX(cft->private)]; in hugetlb_cgroup_read_u64()
525 rsvd_counter = &h_cg->rsvd_hugepage[MEMFILE_IDX(cft->private)]; in hugetlb_cgroup_read_u64()
527 switch (MEMFILE_ATTR(cft->private)) { in hugetlb_cgroup_read_u64()
553 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_u64_max() local
558 idx = MEMFILE_IDX(cft->private); in hugetlb_cgroup_read_u64_max()
564 switch (MEMFILE_ATTR(cft->private)) { in hugetlb_cgroup_read_u64_max()
686 struct cftype *cft in __hugetlb_events_show() local
813 hugetlb_cgroup_cfttypes_init(struct hstate * h,struct cftype * cft,struct cftype * tmpl,int tmpl_size) hugetlb_cgroup_cfttypes_init() argument
[all...]
H A Dmemcontrol-v1.c405 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, u6 in mem_cgroup_swappiness_write() argument
1980 mem_cgroup_oom_control_write(struct cgroup_subsys_state * css,struct cftype * cft,u64 val) mem_cgroup_oom_control_write() argument
[all...]
H A Dmemcontrol.c4206 struct cftype *cft) in memory_current_read() argument
5255 struct cftype *cft) in swap_current_read() argument
5484 struct cftype *cft) in zswap_current_read() argument
/linux/include/linux/
H A Dcgroup-defs.h686 u64 (*read_u64)(struct cgroup_subsys_state *css, struct cftype *cft);
690 s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft);
705 int (*write_u64)(struct cgroup_subsys_state *css, struct cftype *cft,
710 int (*write_s64)(struct cgroup_subsys_state *css, struct cftype *cft,
717 * of_css/cft() to access the associated css and cft.
/linux/kernel/sched/
H A Dcpuacct.c177 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
/linux/net/core/
H A Dnetclassid_cgroup.c117 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 Dnetprio_cgroup.c178 static u64 read_prioidx(struct cgroup_subsys_state *css, struct cftype *cft) in read_prioidx() argument