Lines Matching refs:padded_iov
250 struct iovec *padded_iov; in fuse_reply_iov() local
252 padded_iov = malloc((count + 1) * sizeof(struct iovec)); in fuse_reply_iov()
253 if (padded_iov == NULL) in fuse_reply_iov()
256 memcpy(padded_iov + 1, iov, count * sizeof(struct iovec)); in fuse_reply_iov()
259 res = send_reply_iov(req, 0, padded_iov, count); in fuse_reply_iov()
260 free(padded_iov); in fuse_reply_iov()
1117 struct iovec *padded_iov; in fuse_reply_ioctl_iov() local
1121 padded_iov = malloc((count + 2) * sizeof(struct iovec)); in fuse_reply_ioctl_iov()
1122 if (padded_iov == NULL) in fuse_reply_ioctl_iov()
1127 padded_iov[1].iov_base = &arg; in fuse_reply_ioctl_iov()
1128 padded_iov[1].iov_len = sizeof(arg); in fuse_reply_ioctl_iov()
1130 memcpy(&padded_iov[2], iov, count * sizeof(struct iovec)); in fuse_reply_ioctl_iov()
1132 res = send_reply_iov(req, 0, padded_iov, count + 2); in fuse_reply_ioctl_iov()
1133 free(padded_iov); in fuse_reply_ioctl_iov()