Lines Matching refs:res
1224 unsigned long res = 0; in iov_iter_alignment() local
1235 (res |= (unsigned long)v.iov_base | v.iov_len, 0), in iov_iter_alignment()
1236 res |= v.bv_offset | v.bv_len, in iov_iter_alignment()
1237 res |= (unsigned long)v.iov_base | v.iov_len in iov_iter_alignment()
1239 return res; in iov_iter_alignment()
1245 unsigned long res = 0; in iov_iter_gap_alignment() local
1254 (res |= (!res ? 0 : (unsigned long)v.iov_base) | in iov_iter_gap_alignment()
1256 (res |= (!res ? 0 : (unsigned long)v.bv_offset) | in iov_iter_gap_alignment()
1258 (res |= (!res ? 0 : (unsigned long)v.iov_base) | in iov_iter_gap_alignment()
1261 return res; in iov_iter_gap_alignment()
1325 int res; in iov_iter_get_pages()
1331 res = get_user_pages_fast(addr, n, in iov_iter_get_pages()
1334 if (unlikely(res <= 0)) in iov_iter_get_pages()
1335 return res; in iov_iter_get_pages()
1336 return (res == n ? len : res * PAGE_SIZE) - *start; in iov_iter_get_pages()
1406 int res; in iov_iter_get_pages_alloc()
1413 res = get_user_pages_fast(addr, n, in iov_iter_get_pages_alloc()
1415 if (unlikely(res <= 0)) { in iov_iter_get_pages_alloc()
1418 return res; in iov_iter_get_pages_alloc()
1421 return (res == n ? len : res * PAGE_SIZE) - *start; in iov_iter_get_pages_alloc()