Lines Matching refs:ivec
1117 struct iotlb_vec *ivec, u32 perm)
1131 if (unlikely(ret >= ivec->count)) {
1150 struct iovec *iovec = ivec->iov.iovec;
1156 struct bio_vec *bvec = ivec->iov.bvec;
1180 struct iotlb_vec ivec;
1187 ivec.iov.iovec = iov.iovec;
1188 ivec.count = IOTLB_IOV_STRIDE;
1197 &ivec, VHOST_MAP_RO);
1204 iov_iter_init(&iter, ITER_SOURCE, ivec.iov.iovec, ret,
1207 iov_iter_bvec(&iter, ITER_SOURCE, ivec.iov.bvec, ret,
1226 struct iotlb_vec ivec;
1233 ivec.iov.iovec = iov.iovec;
1234 ivec.count = IOTLB_IOV_STRIDE;
1243 &ivec, VHOST_MAP_WO);
1250 iov_iter_init(&iter, ITER_DEST, ivec.iov.iovec, ret,
1253 iov_iter_bvec(&iter, ITER_DEST, ivec.iov.bvec, ret,
1272 struct iotlb_vec ivec;
1280 ivec.iov.iovec = iov.iovec;
1281 ivec.count = 1;
1285 NULL, &ivec, VHOST_MAP_RO);
1290 ret = __get_user(tmp, (__virtio16 __user *)ivec.iov.iovec[0].iov_base);
1294 void *kaddr = kmap_local_page(ivec.iov.bvec[0].bv_page);
1295 void *from = kaddr + ivec.iov.bvec[0].bv_offset;
1309 struct iotlb_vec ivec;
1317 ivec.iov.iovec = &iov.iovec;
1318 ivec.count = 1;
1322 NULL, &ivec, VHOST_MAP_RO);
1329 ret = __put_user(tmp, (__virtio16 __user *)ivec.iov.iovec[0].iov_base);
1333 void *kaddr = kmap_local_page(ivec.iov.bvec[0].bv_page);
1334 void *to = kaddr + ivec.iov.bvec[0].bv_offset;