Searched refs:iov (Results 1 – 7 of 7) sorted by relevance
| /xen/tools/xenstore/ |
| A D | xs.c | 783 if (!iov[i+1].iov_base) in xs_set_permissions() 790 free(iov[i+1].iov_base); in xs_set_permissions() 813 struct iovec iov[2]; in xs_watch() local 985 struct iovec iov[2]; in xs_unwatch() local 1094 struct iovec iov[3]; in xs_introduce_domain() local 1102 iov[1].iov_base = mfn_str; in xs_introduce_domain() 1116 struct iovec iov[2]; in xs_set_target() local 1218 struct iovec iov[2]; in xs_control_command() local 1222 iov[1].iov_base = data; in xs_control_command() 1223 iov[1].iov_len = len; in xs_control_command() [all …]
|
| /xen/tools/libxl/ |
| A D | libxl_colo_proxy.c | 44 struct iovec iov; in colo_proxy_send() local 63 iov.iov_base = &msg; in colo_proxy_send() 64 iov.iov_len = msg.nlmsg_len; in colo_proxy_send() 68 mh.msg_iov = &iov; in colo_proxy_send() 145 struct iovec iov; in colo_proxy_recv() local 149 .msg_iov = &iov, in colo_proxy_recv() 166 iov.iov_base = tmp; in colo_proxy_recv() 167 iov.iov_len = size; in colo_proxy_recv() 180 iov.iov_base = tmp + len; in colo_proxy_recv() 181 iov.iov_len = size - len; in colo_proxy_recv()
|
| A D | libxl_utils.c | 1071 struct iovec iov; in libxl__sendmsg_fds() local 1074 iov.iov_base = (void*)&data; in libxl__sendmsg_fds() 1075 iov.iov_len = datalen; in libxl__sendmsg_fds() 1078 msg.msg_iov = &iov; in libxl__sendmsg_fds() 1122 struct iovec iov; in libxl__recvmsg_fds() local 1125 iov.iov_base = databuf; in libxl__recvmsg_fds() 1126 iov.iov_len = datalen; in libxl__recvmsg_fds() 1128 msg.msg_iov = &iov; in libxl__recvmsg_fds()
|
| /xen/tools/libxc/ |
| A D | xc_sr_save.c | 99 struct iovec *iov = NULL; int iovcnt = 0; in write_batch() local 118 iov = malloc((nr_pfns + 4) * sizeof(*iov)); in write_batch() 232 iov[0].iov_base = &rec.type; in write_batch() 233 iov[0].iov_len = sizeof(rec.type); in write_batch() 235 iov[1].iov_base = &rec.length; in write_batch() 236 iov[1].iov_len = sizeof(rec.length); in write_batch() 238 iov[2].iov_base = &hdr; in write_batch() 239 iov[2].iov_len = sizeof(hdr); in write_batch() 241 iov[3].iov_base = rec_pfns; in write_batch() 260 if ( writev_exact(ctx->fd, iov, iovcnt) ) in write_batch() [all …]
|
| A D | xc_private.c | 666 int writev_exact(int fd, const struct iovec *iov, int iovcnt) in writev_exact() argument 672 rc = write_exact(fd, iov[i].iov_base, iov[i].iov_len); in writev_exact() 680 int writev_exact(int fd, const struct iovec *iov, int iovcnt) in writev_exact() argument 695 while ( iov[iov_idx].iov_len == 0 ) in writev_exact() 699 len = writev(fd, &iov[iov_idx], min(iovcnt - iov_idx, IOV_MAX)); in writev_exact() 713 if ( len >= iov[iov_idx].iov_len ) in writev_exact() 714 len -= iov[iov_idx++].iov_len; in writev_exact() 721 local_iov = malloc(iovcnt * sizeof(*iov)); in writev_exact() 729 iov = memcpy(local_iov, iov, iovcnt * sizeof(*iov)); in writev_exact()
|
| A D | xc_sr_restore.c | 454 struct iovec *iov = NULL; in send_checkpoint_dirty_pfn_list() local 501 iov = malloc(3 * sizeof(*iov)); in send_checkpoint_dirty_pfn_list() 502 if ( !iov ) in send_checkpoint_dirty_pfn_list() 510 iov[0].iov_base = &rec.type; in send_checkpoint_dirty_pfn_list() 511 iov[0].iov_len = sizeof(rec.type); in send_checkpoint_dirty_pfn_list() 513 iov[1].iov_base = &rec.length; in send_checkpoint_dirty_pfn_list() 514 iov[1].iov_len = sizeof(rec.length); in send_checkpoint_dirty_pfn_list() 516 iov[2].iov_base = pfns; in send_checkpoint_dirty_pfn_list() 517 iov[2].iov_len = count * sizeof(*pfns); in send_checkpoint_dirty_pfn_list() 519 if ( writev_exact(ctx->restore.send_back_fd, iov, 3) ) in send_checkpoint_dirty_pfn_list() [all …]
|
| A D | xc_private.h | 409 int writev_exact(int fd, const struct iovec *iov, int iovcnt);
|
Completed in 22 milliseconds