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

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/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...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/
H A Dbio.c150 * @nr_iovecs: number of iovecs to pre-allocate
158 * allocate bio and iovecs from the memory pools specified by the
455 struct bio_vec *iovecs; member in struct:bio_map_data
461 memcpy(bmd->iovecs, bio->bi_io_vec, sizeof(struct bio_vec) * bio->bi_vcnt);
467 kfree(bmd->iovecs);
478 bmd->iovecs = kmalloc(sizeof(struct bio_vec) * nr_segs, GFP_KERNEL);
479 if (bmd->iovecs)
502 unsigned int len = bmd->iovecs[i].bv_len;
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/dbinc/
H A Drepmgr.h269 REPMGR_IOVECS iovecs; member in struct:__repmgr_connection

Completed in 158 milliseconds