Home
last modified time | relevance | path

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

/mm/
Dhugetlb_cgroup.c265 struct cftype *cft) in hugetlb_cgroup_read_u64() argument
270 counter = &h_cg->hugepage[MEMFILE_IDX(cft->private)]; in hugetlb_cgroup_read_u64()
272 switch (MEMFILE_ATTR(cft->private)) { in hugetlb_cgroup_read_u64()
356 struct cftype *cft; in __hugetlb_cgroup_file_init() local
363 cft = &h->cgroup_files[0]; in __hugetlb_cgroup_file_init()
364 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.limit_in_bytes", buf); in __hugetlb_cgroup_file_init()
365 cft->private = MEMFILE_PRIVATE(idx, RES_LIMIT); in __hugetlb_cgroup_file_init()
366 cft->read_u64 = hugetlb_cgroup_read_u64; in __hugetlb_cgroup_file_init()
367 cft->write = hugetlb_cgroup_write; in __hugetlb_cgroup_file_init()
370 cft = &h->cgroup_files[1]; in __hugetlb_cgroup_file_init()
[all …]
Dmemcontrol.c3303 struct cftype *cft) in mem_cgroup_hierarchy_read() argument
3309 struct cftype *cft, u64 val) in mem_cgroup_hierarchy_write() argument
3365 struct cftype *cft) in mem_cgroup_read_u64() argument
3370 switch (MEMFILE_TYPE(cft->private)) { in mem_cgroup_read_u64()
3387 switch (MEMFILE_ATTR(cft->private)) { in mem_cgroup_read_u64()
3694 struct cftype *cft) in mem_cgroup_move_charge_read() argument
3701 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write() argument
3719 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write() argument
3933 struct cftype *cft) in mem_cgroup_swappiness_read() argument
3941 struct cftype *cft, u64 val) in mem_cgroup_swappiness_write() argument
[all …]