Searched refs:seg (Results 1 – 1 of 1) sorted by relevance
1718 unsigned long seg; in copy_iovec_from_user() local1722 for (seg = 0; seg < nr_segs; seg++) { in copy_iovec_from_user()1723 if ((ssize_t)iov[seg].iov_len < 0) in copy_iovec_from_user()1770 unsigned long seg; in __import_iovec() local1787 for (seg = 0; seg < nr_segs; seg++) { in __import_iovec()1788 ssize_t len = (ssize_t)iov[seg].iov_len; in __import_iovec()1790 if (!access_ok(iov[seg].iov_base, len)) { in __import_iovec()1799 iov[seg].iov_len = len; in __import_iovec()