Lines Matching refs:unroll
914 void iov_iter_revert(struct iov_iter *i, size_t unroll) in iov_iter_revert() argument
916 if (!unroll) in iov_iter_revert()
918 if (WARN_ON(unroll > MAX_RW_COUNT)) in iov_iter_revert()
920 i->count += unroll; in iov_iter_revert()
927 if (unroll < b->len) { in iov_iter_revert()
928 b->len -= unroll; in iov_iter_revert()
933 unroll -= b->len; in iov_iter_revert()
943 if (unroll <= i->iov_offset) { in iov_iter_revert()
944 i->iov_offset -= unroll; in iov_iter_revert()
947 unroll -= i->iov_offset; in iov_iter_revert()
958 if (unroll <= n) { in iov_iter_revert()
960 i->iov_offset = n - unroll; in iov_iter_revert()
963 unroll -= n; in iov_iter_revert()
970 if (unroll <= n) { in iov_iter_revert()
972 i->iov_offset = n - unroll; in iov_iter_revert()
975 unroll -= n; in iov_iter_revert()