Home
last modified time | relevance | path

Searched refs:read_buffer (Results 1 – 19 of 19) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dbio_tfo_test.c63 char read_buffer[20]; in test_bio_tfo() local
176 || !TEST_true(BIO_read_ex(sbio, read_buffer, sizeof(read_buffer), &bytes)) in test_bio_tfo()
178 || !TEST_strn_eq(read_buffer, SOCKET_DATA, SOCKET_DATA_LEN)) { in test_bio_tfo()
211 char read_buffer[20]; in test_fd_tfo() local
385 bytes_read = readsocket(sfd, read_buffer, sizeof(read_buffer)); in test_fd_tfo()
387 || !TEST_strn_eq(read_buffer, SOCKET_DATA, SOCKET_DATA_LEN)) { in test_fd_tfo()
/freebsd/tools/test/stress2/misc/
H A Dsendfile26.sh173 void *read_buffer;
182 read_buffer = malloc(chunk_size);
191 ret = read(fd, read_buffer, chunk_size);
195 free(read_buffer);
202 ret = memcmp(buffer, read_buffer, chunk_size);
/freebsd/crypto/openssl/apps/
H A Dfipsinstall.c585 unsigned char *read_buffer = NULL; in fipsinstall_main() local
811 read_buffer = app_malloc(BUFSIZE, "I/O buffer"); in fipsinstall_main()
812 if (read_buffer == NULL) in fipsinstall_main()
851 if (!do_mac(ctx, read_buffer, module_bio, module_mac, &module_mac_len)) in fipsinstall_main()
861 if (!do_mac(ctx2, read_buffer, mem_bio, install_mac, &install_mac_len)) in fipsinstall_main()
924 OPENSSL_free(read_buffer); in fipsinstall_main()
/freebsd/sys/dev/xen/xenstore/
H A Dxenstore_dev.c83 char read_buffer[PAGE_SIZE]; member
99 u->read_buffer[MASK_READ_IDX(u->read_prod)] = data[i]; in xs_queue_reply()
101 KASSERT((u->read_prod - u->read_cons) <= sizeof(u->read_buffer), in xs_queue_reply()
246 error = uiomove(&u->read_buffer[MASK_READ_IDX(u->read_cons)], in xs_dev_read()
/freebsd/tests/sys/cam/ctl/
H A DMakefile10 ATF_TESTS_SH+= read_buffer
/freebsd/stand/forth/
H A Dsupport.4th396 string read_buffer
411 read_buffer .len @ read_buffer_ptr >
413 read_buffer .addr @ read_buffer_ptr + c@ lf = if
424 read_buffer .len @ r@ >
426 read_buffer .addr @ r@ + c@ lf = if
427 read_buffer .addr @ read_buffer_ptr + ( -- addr )
434 read_buffer .addr @ read_buffer_ptr + ( -- addr )
468 read_buffer .len @ read_buffer_ptr =
474 read_buffer .addr @ 0= if
476 read_buffer .addr !
[all …]
/freebsd/tools/tools/nvmf/nvmfd/
H A Ddevices.c214 read_buffer(int fd, void *buf, size_t len, off_t offset) in read_buffer() function
266 if (!read_buffer(dev->fd, p, len, off)) { in device_read()
/freebsd/sys/cam/ctl/
H A Dctl_util.h56 uint32_t data_len, int read_buffer,
H A Dctl_util.c212 uint32_t data_len, int read_buffer, uint8_t mode, in ctl_scsi_read_write_buffer()
225 if (read_buffer != 0) in ctl_scsi_read_write_buffer()
236 if (read_buffer != 0) in ctl_scsi_read_write_buffer()
211 ctl_scsi_read_write_buffer(union ctl_io * io,uint8_t * data_ptr,uint32_t data_len,int read_buffer,uint8_t mode,uint8_t buffer_id,uint32_t buffer_offset,ctl_tag_type tag_type,uint8_t control) ctl_scsi_read_write_buffer() argument
/freebsd/sys/fs/cuse/
H A Dcuse.c164 uint8_t read_buffer[CUSE_COPY_BUFFER_MAX] __aligned(4); member
1018 pccmd->client->read_buffer + offset, pchk->length); in cuse_server_data_copy_optimized_locked()
1696 temp = copyout(pcc->read_buffer, in cuse_client_read()
/freebsd/sys/dev/ixgbe/
H A Dixgbe_common.c82 eeprom->ops.read_buffer = ixgbe_read_eerd_buffer_generic; in ixgbe_init_ops_generic()
85 eeprom->ops.read_buffer = in ixgbe_init_ops_generic()
807 ret_val = hw->eeprom.ops.read_buffer(hw, IXGBE_PBANUM0_PTR, 2, in ixgbe_read_pba_raw()
834 ret_val = hw->eeprom.ops.read_buffer(hw, pba->word[1], in ixgbe_read_pba_raw()
934 ret_val = hw->eeprom.ops.read_buffer(hw, IXGBE_PBANUM0_PTR, 2, in ixgbe_get_pba_block_size()
H A Dixgbe_x540.c76 eeprom->ops.read_buffer = ixgbe_read_eerd_buffer_X540; in ixgbe_init_ops_X540()
H A Dixgbe_api.c904 return ixgbe_call_func(hw, hw->eeprom.ops.read_buffer, in ixgbe_read_eeprom_buffer()
H A Dixgbe_x550.c75 eeprom->ops.read_buffer = ixgbe_read_ee_hostif_buffer_X550; in ixgbe_init_ops_X550()
688 eeprom->ops.read_buffer = ixgbe_read_ee_hostif_buffer_X550; in ixgbe_init_ops_X550EM()
H A Dixgbe_82599.c394 eeprom->ops.read_buffer = ixgbe_read_eeprom_buffer_82599; in ixgbe_init_ops_82599()
H A Dixgbe_type.h4025 s32 (*read_buffer)(struct ixgbe_hw *, u16, u16, u16 *); member
H A Dixgbe_e610.c3894 eeprom->ops.read_buffer = ixgbe_read_ee_aci_buffer_E610; in ixgbe_init_ops_E610()
/freebsd/sys/contrib/zlib/doc/
H A Drfc1950.txt538 while (read_buffer(buffer, length) != EOF) {
H A Drfc1952.txt646 while (read_buffer(buffer, length) != EOF) {