Searched defs:read_size (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/encr/
H A Dencr.c134 int read_size; local
157 read_size = ENCR_BUF_LEN / ch->blocklen * ch->blocklen;
158 while ((i = read(STDIN_FILENO, buf, read_size)) > 0) {
/illumos-gate/usr/src/cmd/cdrw/
H A Dcopycd.c64 uint32_t blks_read, cblk, read_chunk, read_size; local
105 read_size = read_chunk * blksize;
106 if (read10(dev->d_fd, cblk, read_chunk, buf, read_size)) {
107 if (h->bstr_write(h, buf, read_size) != read_size) {
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_nvm.c368 u16 read_size = *words; local
381 read_size = min(*words,
385 read_size = min((*words - words_read),
389 if ((words_read + read_size) >= *words)
392 ret_code = i40e_read_nvm_aq(hw, 0x0, offset, read_size,
400 words_read += read_size;
401 offset += read_size;
/illumos-gate/usr/src/cmd/pcitool/
H A Dpcitool.c1035 int read_size = input_args_p->size; local
1038 int wrap_size = DUMP_BUF_SIZE / read_size;
1088 next = skip_begin / read_size;
1131 * Shift the right number of error bits ((1 << read_size) - 1)
1132 * into the right place (next * read_size)
1136 ((1 << read_size) - 1) << (next * read_size);
1140 switch (read_size) {
1162 dump_curr += read_size;
1167 bzero(&buffer.bytes[next * read_size],
[all...]
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_mover.c74 tlm_buffer_t *buf, long read_size);
2807 * read_size (input) - size to be read
2815 long read_size)
2821 for (index = 0, toread = read_size; toread > 0; ) {
2845 buf->tb_buffer_size = read_size;
2846 if (read_size > 0)
2848 read_size - index);
2814 mover_socket_read_one_buf(ndmpd_session_t *session, tlm_buffer_t *buf, long read_size) argument
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_backup_reader.c746 int read_size; local
790 read_size = min(section_size, actual_size);
791 if ((actual_size = read(afd, buf, read_size)) < 0)
795 if (get_write_one_buf(buf, rec, read_size,
1011 int read_size; local
1041 read_size = min(section_size, actual_size);
1042 actual_size = read(fd, buf, read_size);
H A Dtlm_restore_writer.c1356 int read_size; local
1371 p = get_read_buffer(size - actual_size, error, &read_size, lc);
1372 len = min(size - actual_size, read_size);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/
H A Dpsvc_objects.h323 int32_t read_size; member in struct:__anon1167
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/hw/include/
H A Dhw_dump.h231 u32 read_size; member in struct:vfc_read_write_vector
/illumos-gate/usr/src/uts/sun4v/io/
H A Dds_common.c532 size_t read_size; local
569 read_size = DS_HDR_SZ;
573 if ((rv = ds_recv_msg(port, currp, &read_size)) != 0) {
577 if (read_size < DS_HDR_SZ) {
582 if (read_size != 0) {
585 DS_EOL, PORTID(port), read_size, DS_HDR_SZ);
591 read_size = ((ds_hdr_t *)hbuf)->payload_len;
592 msglen = DS_HDR_SZ + read_size;
601 PORTID(port), __func__, (int)read_size);
608 if ((rv = ds_recv_msg(port, currp, &read_size)) !
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/fw/
H A D5710_hsi.h8931 u8_t read_size /* Amount of bytes to read */; member in struct:t_measure_pci_latency_ctrl
8933 u8_t read_size /* Amount of bytes to read */; member in struct:t_measure_pci_latency_ctrl

Completed in 168 milliseconds