Searched refs:iovecs (Results 1 – 7 of 7) sorted by relevance
/freebsd/crypto/heimdal/appl/push/ |
H A D | push.c | 149 struct iovec *iovecs; member 164 w->iovecs = emalloc(w->allociovecs * sizeof(*w->iovecs)); in write_state_init() 173 if(writev (w->fd, w->iovecs, w->niovecs) < 0) in write_state_add() 178 w->iovecs = erealloc (w->iovecs, in write_state_add() 179 w->allociovecs * sizeof(*w->iovecs)); in write_state_add() 182 w->iovecs[w->niovecs].iov_base = v; in write_state_add() 183 w->iovecs[w->niovecs].iov_len = len; in write_state_add() 191 if (writev (w->fd, w->iovecs, w->niovecs) < 0) in write_state_flush() 200 free (w->iovecs); in write_state_destroy()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zio_crypt.c | 433 iovec_t iovecs[4]; in zio_crypt_key_wrap() local 455 iovecs[1].iov_base = keydata_out; in zio_crypt_key_wrap() 456 iovecs[1].iov_len = keydata_len; in zio_crypt_key_wrap() 457 iovecs[2].iov_base = hmac_keydata_out; in zio_crypt_key_wrap() 458 iovecs[2].iov_len = SHA512_HMAC_KEYLEN; in zio_crypt_key_wrap() 459 iovecs[3].iov_base = mac; in zio_crypt_key_wrap() 460 iovecs[3].iov_len = WRAPPING_MAC_LEN; in zio_crypt_key_wrap() 478 iovecs[0].iov_base = aad; in zio_crypt_key_wrap() 479 iovecs[0].iov_len = aad_len; in zio_crypt_key_wrap() 482 GET_UIO_STRUCT(&cuio)->uio_iov = iovecs; in zio_crypt_key_wrap() [all …]
|
/freebsd/sys/contrib/openzfs/config/ |
H A D | kernel-vfs-iov_iter.m4 | 109 dnl # As of the 4.9 kernel support is provided for iovecs, kvecs,
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | regress_buffer.c | 501 struct evbuffer_iovec iovecs[2]; in test_evbuffer_remove_buffer_adjust_last_with_datap_with_empty() local 503 tt_int_op(evbuffer_reserve_space(buf1, 971, iovecs, 2), ==, 2); in test_evbuffer_remove_buffer_adjust_last_with_datap_with_empty() 504 tt_int_op(iovecs[0].iov_len, >=, 1); in test_evbuffer_remove_buffer_adjust_last_with_datap_with_empty() 505 tt_int_op(iovecs[1].iov_len, >=, 1); in test_evbuffer_remove_buffer_adjust_last_with_datap_with_empty() 506 tt_assert(*(char *)(iovecs[0].iov_base) = 'b'); in test_evbuffer_remove_buffer_adjust_last_with_datap_with_empty() 507 tt_assert(iovecs[0].iov_len = 1); in test_evbuffer_remove_buffer_adjust_last_with_datap_with_empty() 508 tt_int_op(evbuffer_commit_space(buf1, iovecs, 1), ==, 0); in test_evbuffer_remove_buffer_adjust_last_with_datap_with_empty()
|
/freebsd/contrib/libevent/test/ |
H A D | regress_buffer.c | 501 struct evbuffer_iovec iovecs[2]; in test_evbuffer_remove_buffer_adjust_last_with_datap_with_empty() local 503 tt_int_op(evbuffer_reserve_space(buf1, 971, iovecs, 2), ==, 2); in test_evbuffer_remove_buffer_adjust_last_with_datap_with_empty() 504 tt_int_op(iovecs[0].iov_len, >=, 1); in test_evbuffer_remove_buffer_adjust_last_with_datap_with_empty() 505 tt_int_op(iovecs[1].iov_len, >=, 1); in test_evbuffer_remove_buffer_adjust_last_with_datap_with_empty() 506 tt_assert(*(char *)(iovecs[0].iov_base) = 'b'); in test_evbuffer_remove_buffer_adjust_last_with_datap_with_empty() 507 tt_assert(iovecs[0].iov_len = 1); in test_evbuffer_remove_buffer_adjust_last_with_datap_with_empty() 508 tt_int_op(evbuffer_commit_space(buf1, iovecs, 1), ==, 0); in test_evbuffer_remove_buffer_adjust_last_with_datap_with_empty()
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | ChangeLog-2.0 | 735 o Allow evbuffer_read() to split across more than 2 iovecs (e470ad3)
|
/freebsd/contrib/libevent/ |
H A D | ChangeLog-2.0 | 735 o Allow evbuffer_read() to split across more than 2 iovecs (e470ad3)
|