Lines Matching refs:ivec
1041 struct iotlb_vec *ivec, u32 perm)
1055 if (unlikely(ret >= ivec->count)) {
1074 struct iovec *iovec = ivec->iov.iovec;
1080 struct bio_vec *bvec = ivec->iov.bvec;
1104 struct iotlb_vec ivec;
1111 ivec.iov.iovec = iov.iovec;
1112 ivec.count = IOTLB_IOV_STRIDE;
1121 &ivec, VHOST_MAP_RO);
1128 iov_iter_init(&iter, ITER_SOURCE, ivec.iov.iovec, ret,
1131 iov_iter_bvec(&iter, ITER_SOURCE, ivec.iov.bvec, ret,
1150 struct iotlb_vec ivec;
1157 ivec.iov.iovec = iov.iovec;
1158 ivec.count = IOTLB_IOV_STRIDE;
1167 &ivec, VHOST_MAP_WO);
1174 iov_iter_init(&iter, ITER_DEST, ivec.iov.iovec, ret,
1177 iov_iter_bvec(&iter, ITER_DEST, ivec.iov.bvec, ret,
1196 struct iotlb_vec ivec;
1204 ivec.iov.iovec = iov.iovec;
1205 ivec.count = 1;
1209 NULL, &ivec, VHOST_MAP_RO);
1214 ret = __get_user(tmp, (__virtio16 __user *)ivec.iov.iovec[0].iov_base);
1218 __virtio16 *from = bvec_kmap_local(&ivec.iov.bvec[0]);
1232 struct iotlb_vec ivec;
1240 ivec.iov.iovec = &iov.iovec;
1241 ivec.count = 1;
1245 NULL, &ivec, VHOST_MAP_RO);
1252 ret = __put_user(tmp, (__virtio16 __user *)ivec.iov.iovec[0].iov_base);
1256 __virtio16 *to = bvec_kmap_local(&ivec.iov.bvec[0]);