Lines Matching refs:iov_iter_count
225 if (unlikely(iov_iter_count(iter))) { in __blkdev_direct_IO()
370 if (!iov_iter_count(iter)) in blkdev_direct_IO()
611 size_t count = iov_iter_count(from); in blkdev_direct_write()
628 iov_iter_revert(from, count - iov_iter_count(from)); in blkdev_direct_write()
659 if (!iov_iter_count(from)) in blkdev_write_iter()
669 if (iov_iter_count(from) > size) { in blkdev_write_iter()
670 shorted = iov_iter_count(from) - size; in blkdev_write_iter()
680 if (ret >= 0 && iov_iter_count(from)) in blkdev_write_iter()
689 iov_iter_reexpand(from, iov_iter_count(from) + shorted); in blkdev_write_iter()
702 if (unlikely(pos + iov_iter_count(to) > size)) { in blkdev_read_iter()
706 shorted = iov_iter_count(to) - size; in blkdev_read_iter()
710 count = iov_iter_count(to); in blkdev_read_iter()
725 iov_iter_revert(to, count - iov_iter_count(to)); in blkdev_read_iter()
734 iov_iter_reexpand(to, iov_iter_count(to) + shorted); in blkdev_read_iter()