Lines Matching refs:add_iov
102 static int add_iov(conn *c, const void *buf, int len);
292 return add_iov(c, NULL, UDP_HEADER_SIZE); in add_msghdr()
834 static int add_iov(conn *c, const void *buf, int len) { in add_iov() function
888 if (add_iov(c, ch->data, todo) != 0) { in add_chunked_item_iovs()
1164 add_iov(c, c->wbuf, sizeof(header->response)); in add_bin_header()
1219 add_iov(c, errstr, len); in write_bin_error()
1236 add_iov(c, d, dlen); in write_bin_response()
1498 add_iov(c, &rsp->message.body, sizeof(rsp->message.body)); in process_bin_get_or_touch()
1501 add_iov(c, ITEM_key(it), nkey); in process_bin_get_or_touch()
1507 add_iov(c, ITEM_data(it), it->nbytes - 2); in process_bin_get_or_touch()
1542 add_iov(c, ofs, nkey); in process_bin_get_or_touch()
1946 add_iov(c, out, outlen); in process_bin_complete_sasl_auth()
3229 if (add_iov(c, "VALUE ", 6) != 0 || in process_get_command()
3230 add_iov(c, ITEM_key(it), it->nkey) != 0 || in process_get_command()
3231 add_iov(c, ITEM_suffix(it), it->nsuffix - 2) != 0 || in process_get_command()
3232 add_iov(c, suffix, suffix_len) != 0) in process_get_command()
3238 add_iov(c, ITEM_data(it), it->nbytes); in process_get_command()
3248 if (add_iov(c, "VALUE ", 6) != 0 || in process_get_command()
3249 add_iov(c, ITEM_key(it), it->nkey) != 0) in process_get_command()
3256 if (add_iov(c, ITEM_suffix(it), it->nsuffix + it->nbytes) != 0) in process_get_command()
3261 } else if (add_iov(c, ITEM_suffix(it), it->nsuffix) != 0 || in process_get_command()
3324 if (key_token->value != NULL || add_iov(c, "END\r\n", 5) != 0 in process_get_command()
4738 if (add_iov(c, c->wcurr, c->wbytes) != 0) { in drive_machine()