Home
last modified time | relevance | path

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

/lib/
Dscatterlist.c1138 size_t seg = min_t(size_t, PAGE_SIZE - off, len); in extract_user_to_sg() local
1141 sg_set_page(sg, page, seg, off); in extract_user_to_sg()
1144 len -= seg; in extract_user_to_sg()
1222 size_t off, len, seg; in extract_kvec_to_sg() local
1238 seg = min_t(size_t, len, PAGE_SIZE - off); in extract_kvec_to_sg()
1249 len -= seg; in extract_kvec_to_sg()
Diov_iter.c1461 unsigned long seg; in __import_iovec() local
1481 for (seg = 0; seg < nr_segs; seg++) { in __import_iovec()
1482 ssize_t len = (ssize_t)iov[seg].iov_len; in __import_iovec()
1484 if (!access_ok(iov[seg].iov_base, len)) { in __import_iovec()
1493 iov[seg].iov_len = len; in __import_iovec()
1728 size_t seg = min_t(size_t, len, PAGE_SIZE); in iov_iter_extract_kvec_pages() local
1736 len -= seg; in iov_iter_extract_kvec_pages()