Lines Matching defs:bytes
116 ssize_t bytes;
146 bytes = vringh_iov_pull_iotlb(&vq->vring, &vq->out_iov, &hdr,
148 if (bytes != sizeof(hdr)) {
153 to_pull -= bytes;
179 bytes = vringh_iov_push_iotlb(&vq->vring, &vq->in_iov,
182 if (bytes < 0) {
185 bytes, offset, to_push);
190 pushed += bytes;
202 bytes = vringh_iov_pull_iotlb(&vq->vring, &vq->out_iov,
205 if (bytes < 0) {
208 bytes, offset, to_pull);
215 bytes = vringh_iov_push_iotlb(&vq->vring, &vq->in_iov,
218 if (bytes < 0) {
220 "vringh_iov_push_iotlb() error: %zd\n", bytes);
225 pushed += bytes;
245 bytes = vringh_iov_pull_iotlb(&vq->vring, &vq->out_iov, &range,
247 if (bytes < 0) {
250 bytes, offset, to_pull);
300 /* If some operations fail, we need to skip the remaining bytes
307 bytes = vringh_iov_push_iotlb(&vq->vring, &vq->in_iov, &status, 1);
308 if (bytes != 1)
311 pushed += bytes;