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.c2680 char *buf, size_t nbytes, in mem_cgroup_force_empty_write() argument
2687 return mem_cgroup_force_empty(memcg) ?: nbytes; in mem_cgroup_force_empty_write()
2980 char *buf, size_t nbytes, loff_t off) in mem_cgroup_write() argument
3017 return ret ?: nbytes; in mem_cgroup_write()
3021 size_t nbytes, loff_t off) in mem_cgroup_reset() argument
3054 return nbytes; in mem_cgroup_reset()
3788 char *buf, size_t nbytes, loff_t off) in memcg_write_event_control() argument
3902 return nbytes; in memcg_write_event_control()
5057 char *buf, size_t nbytes, loff_t off) in memory_low_write() argument
5070 return nbytes; in memory_low_write()
[all …]
Dmempolicy.c1314 const int nbytes = BITS_TO_LONGS(MAX_NUMNODES) * sizeof(long); in copy_nodes_to_user() local
1316 if (copy > nbytes) { in copy_nodes_to_user()
1319 if (clear_user((char __user *)mask + nbytes, copy - nbytes)) in copy_nodes_to_user()
1321 copy = nbytes; in copy_nodes_to_user()