Home
last modified time | relevance | path

Searched refs:left (Results 1 – 5 of 5) sorted by relevance

/mm/
Diov_iter.c9 size_t skip, copy, left, wanted; in copy_to_iter_iovec() local
25 left = __copy_to_user(buf, from, copy); in copy_to_iter_iovec()
26 copy -= left; in copy_to_iter_iovec()
30 while (unlikely(!left && bytes)) { in copy_to_iter_iovec()
34 left = __copy_to_user(buf, from, copy); in copy_to_iter_iovec()
35 copy -= left; in copy_to_iter_iovec()
54 size_t skip, copy, left, wanted; in copy_from_iter_iovec() local
70 left = __copy_from_user(to, buf, copy); in copy_from_iter_iovec()
71 copy -= left; in copy_from_iter_iovec()
75 while (unlikely(!left && bytes)) { in copy_from_iter_iovec()
[all …]
Dfilemap_xip.c77 unsigned long nr, left; in do_xip_mapping_read() local
123 left = __copy_to_user(buf+copied, xip_mem+offset, nr); in do_xip_mapping_read()
125 left = __clear_user(buf + copied, nr); in do_xip_mapping_read()
127 if (left) { in do_xip_mapping_read()
132 copied += (nr - left); in do_xip_mapping_read()
133 offset += (nr - left); in do_xip_mapping_read()
Dmemblock.c1378 unsigned int left = 0, right = type->cnt; in memblock_search() local
1381 unsigned int mid = (right + left) / 2; in memblock_search()
1387 left = mid + 1; in memblock_search()
1390 } while (left < right); in memblock_search()
Dmmap.c1778 struct vm_area_struct *left = in unmapped_area() local
1781 if (left->rb_subtree_gap >= length) { in unmapped_area()
1782 vma = left; in unmapped_area()
1902 struct vm_area_struct *left = in unmapped_area_topdown() local
1905 if (left->rb_subtree_gap >= length) { in unmapped_area_topdown()
1906 vma = left; in unmapped_area_topdown()
Dshmem.c1640 loff_t isize, left; in shmem_file_splice_read() local
1655 left = isize - *ppos; in shmem_file_splice_read()
1656 if (unlikely(left < len)) in shmem_file_splice_read()
1657 len = left; in shmem_file_splice_read()