Searched refs:iovecs (Results 1 - 6 of 6) sorted by relevance
/macosx-10.10.1/BerkeleyDB-21/db/repmgr/ |
H A D | repmgr_net.c | 37 * iovecs to point to the various pieces of the message. If that all works 51 * repeatedly, the iovecs is a template that must be copied, since in normal use 52 * the iovecs pointers and lengths get adjusted after every partial write. 55 REPMGR_IOVECS iovecs; member in struct:sending_msg 396 REPMGR_IOVECS iovecs; local 455 * of iovecs for our use, since we destroy it in the process of 458 memcpy(&iovecs, &msg->iovecs, sizeof(iovecs)); 460 while ((ret = __repmgr_writev(conn->fd, &iovecs [all...] |
H A D | repmgr_util.c | 74 __repmgr_iovec_init(&con->iovecs); 75 __repmgr_add_buffer(&con->iovecs, &con->msg_type, 77 __repmgr_add_buffer(&con->iovecs, &con->control_size_buf, 79 __repmgr_add_buffer(&con->iovecs, &con->rec_size_buf, 234 * Update a set of iovecs to reflect the number of bytes transferred in an I/O 235 * operation, so that the iovecs can be used to continue transferring where we
|
H A D | repmgr_sel.c | 706 &conn->iovecs.vectors[conn->iovecs.offset], 707 conn->iovecs.count - conn->iovecs.offset, &nr)) != 0) { 732 if (__repmgr_update_consumed(&conn->iovecs, nr)) 771 __repmgr_iovec_init(&conn->iovecs); 805 __repmgr_add_dbt(&conn->iovecs, 813 __repmgr_add_dbt(&conn->iovecs, 827 __repmgr_add_dbt(&conn->iovecs, dbt); 840 __repmgr_add_dbt(&conn->iovecs, db [all...] |
/macosx-10.10.1/xnu-2782.1.97/bsd/sys/ |
H A D | uio_internal.h | 134 union iovecs { union 142 union iovecs uio_iovs; /* current iovec */ 143 int uio_iovcnt; /* active iovecs */ 149 int uio_max_iovs; /* max number of iovecs this uio_t can hold */ 162 * contain the given number of iovecs. Use this macro to
|
/macosx-10.10.1/Heimdal-398.1.2/appl/push/ |
H A D | push.c | 149 struct iovec *iovecs; member in struct:write_state 164 w->iovecs = emalloc(w->allociovecs * sizeof(*w->iovecs)); 173 if(writev (w->fd, w->iovecs, w->niovecs) < 0) 178 w->iovecs = erealloc (w->iovecs, 179 w->allociovecs * sizeof(*w->iovecs)); 182 w->iovecs[w->niovecs].iov_base = v; 183 w->iovecs[w->niovecs].iov_len = len; 191 if (writev (w->fd, w->iovecs, [all...] |
/macosx-10.10.1/BerkeleyDB-21/db/dbinc/ |
H A D | repmgr.h | 269 REPMGR_IOVECS iovecs; member in struct:__repmgr_connection
|
Completed in 160 milliseconds