Searched refs:iovecs (Results 1 - 6 of 6) sorted by relevance

/macosx-10.10.1/BerkeleyDB-21/db/repmgr/
H A Drepmgr_net.c37 * 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 Drepmgr_util.c74 __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 Drepmgr_sel.c706 &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 Duio_internal.h134 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 Dpush.c149 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 Drepmgr.h269 REPMGR_IOVECS iovecs; member in struct:__repmgr_connection

Completed in 160 milliseconds