Home
last modified time | relevance | path

Searched refs:nbytes (Results 1 – 3 of 3) sorted by relevance

/mm/
Dhugetlb_cgroup.c289 char *buf, size_t nbytes, loff_t off) in hugetlb_cgroup_write() argument
316 return ret ?: nbytes; in hugetlb_cgroup_write()
320 char *buf, size_t nbytes, loff_t off) in hugetlb_cgroup_reset() argument
339 return ret ?: nbytes; in hugetlb_cgroup_reset()
Dmemcontrol.c3292 char *buf, size_t nbytes, in mem_cgroup_force_empty_write() argument
3299 return mem_cgroup_force_empty(memcg) ?: nbytes; in mem_cgroup_force_empty_write()
3613 char *buf, size_t nbytes, loff_t off) in mem_cgroup_write() argument
3653 return ret ?: nbytes; in mem_cgroup_write()
3657 size_t nbytes, loff_t off) in mem_cgroup_reset() argument
3690 return nbytes; in mem_cgroup_reset()
4624 char *buf, size_t nbytes, loff_t off) in memcg_write_event_control() argument
4738 return nbytes; in memcg_write_event_control()
6032 char *buf, size_t nbytes, loff_t off) in memory_min_write() argument
6045 return nbytes; in memory_min_write()
[all …]
Dmempolicy.c1393 unsigned int nbytes = BITS_TO_LONGS(nr_node_ids) * sizeof(long); in copy_nodes_to_user() local
1395 if (copy > nbytes) { in copy_nodes_to_user()
1398 if (clear_user((char __user *)mask + nbytes, copy - nbytes)) in copy_nodes_to_user()
1400 copy = nbytes; in copy_nodes_to_user()