Home
last modified time | relevance | path

Searched refs:read_size (Results 1 – 16 of 16) sorted by relevance

/titanic_44/usr/src/cmd/cdrw/
H A Dcopycd.c64 uint32_t blks_read, cblk, read_chunk, read_size; in read_data_track() local
105 read_size = read_chunk * blksize; in read_data_track()
106 if (read10(dev->d_fd, cblk, read_chunk, buf, read_size)) { in read_data_track()
107 if (h->bstr_write(h, buf, read_size) != read_size) { in read_data_track()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/wanboot/encr/
H A Dencr.c134 int read_size; in encr_gen() local
157 read_size = ENCR_BUF_LEN / ch->blocklen * ch->blocklen; in encr_gen()
158 while ((i = read(STDIN_FILENO, buf, read_size)) > 0) { in encr_gen()
/titanic_44/usr/src/cmd/pcitool/
H A Dpcitool.c1035 int read_size = input_args_p->size; in bytedump_get() local
1038 int wrap_size = DUMP_BUF_SIZE / read_size; in bytedump_get()
1088 next = skip_begin / read_size; in bytedump_get()
1136 ((1 << read_size) - 1) << (next * read_size); in bytedump_get()
1140 switch (read_size) { in bytedump_get()
1162 dump_curr += read_size; in bytedump_get()
1167 bzero(&buffer.bytes[next * read_size], in bytedump_get()
1168 (wrap_size - next) * read_size); in bytedump_get()
1169 skip_end = (wrap_size - next) * read_size; in bytedump_get()
/titanic_44/usr/src/cmd/picl/plugins/sun4u/littleneck/psvcpolicy/
H A Dpsvcpolicy.c220 fru_data.read_size = 1; in find_segment()
242 fru_data.read_size = 2; in find_segment()
250 fru_data.read_size = sizeof (seg_desc_t); in find_segment()
307 fru_data.read_size = sizeof (data_offset); in psvc_update_thresholds_0()
322 fru_data.read_size = sizeof (temps); in psvc_update_thresholds_0()
356 fru_data.read_size = sizeof (part_no); in psvc_update_thresholds_0()
/titanic_44/usr/src/uts/common/io/i40e/core/
H A Di40e_nvm.c428 u16 read_size = *words; in i40e_read_nvm_buffer_aq() local
441 read_size = min(*words, in i40e_read_nvm_buffer_aq()
445 read_size = min((*words - words_read), in i40e_read_nvm_buffer_aq()
449 if ((words_read + read_size) >= *words) in i40e_read_nvm_buffer_aq()
452 ret_code = i40e_read_nvm_aq(hw, 0x0, offset, read_size, in i40e_read_nvm_buffer_aq()
460 words_read += read_size; in i40e_read_nvm_buffer_aq()
461 offset += read_size; in i40e_read_nvm_buffer_aq()
/titanic_44/usr/src/cmd/ndmpd/tlm/
H A Dtlm_backup_reader.c746 int read_size; in tlm_output_xattr() local
790 read_size = min(section_size, actual_size); in tlm_output_xattr()
791 if ((actual_size = read(afd, buf, read_size)) < 0) in tlm_output_xattr()
795 if (get_write_one_buf(buf, rec, read_size, in tlm_output_xattr()
1011 int read_size; in tlm_output_file() local
1041 read_size = min(section_size, actual_size); in tlm_output_file()
1042 actual_size = read(fd, buf, read_size); in tlm_output_file()
H A Dtlm_restore_writer.c1356 int read_size; in get_read_one_buf() local
1371 p = get_read_buffer(size - actual_size, error, &read_size, lc); in get_read_one_buf()
1372 len = min(size - actual_size, read_size); in get_read_one_buf()
/titanic_44/usr/src/cmd/picl/plugins/sun4u/daktari/psvcpolicy/
H A Dpsvcpolicy.c361 fru_data.read_size = 1; in update_thresholds()
371 fru_data.read_size = 2; in update_thresholds()
379 fru_data.read_size = sizeof (seg_desc_t); in update_thresholds()
396 fru_data.read_size = sizeof (temp_array); in update_thresholds()
2146 fru_data.read_size = 1; in psvc_update_cpu_module_card_node_0()
2157 fru_data.read_size = 2; in psvc_update_cpu_module_card_node_0()
2169 fru_data.read_size = sizeof (seg_desc_t); in psvc_update_cpu_module_card_node_0()
2186 fru_data.read_size = 1; in psvc_update_cpu_module_card_node_0()
/titanic_44/usr/src/uts/sun4v/io/
H A Dds_common.c532 size_t read_size; in ds_handle_recv() local
569 read_size = DS_HDR_SZ; in ds_handle_recv()
573 if ((rv = ds_recv_msg(port, currp, &read_size)) != 0) { in ds_handle_recv()
577 if (read_size < DS_HDR_SZ) { in ds_handle_recv()
582 if (read_size != 0) { in ds_handle_recv()
585 DS_EOL, PORTID(port), read_size, DS_HDR_SZ); in ds_handle_recv()
591 read_size = ((ds_hdr_t *)hbuf)->payload_len; in ds_handle_recv()
592 msglen = DS_HDR_SZ + read_size; in ds_handle_recv()
601 PORTID(port), __func__, (int)read_size); in ds_handle_recv()
608 if ((rv = ds_recv_msg(port, currp, &read_size)) != 0) { in ds_handle_recv()
[all …]
/titanic_44/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/
H A Dpsvc_objects.h323 int32_t read_size; member
H A Dpsvcobj.c3761 data = (char *)malloc(fru_data->read_size); in i_psvc_get_reg_11_0()
3762 ret = read(fp, data, fru_data->read_size); in i_psvc_get_reg_11_0()
3770 memcpy(fru_data->buf, data, fru_data->read_size); in i_psvc_get_reg_11_0()
/titanic_44/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcpolicy/
H A Dpsvcpolicy.c1768 fru_info.read_size = 8; in read_sc_segment()
1804 fru_info.read_size = 1; in update_disk_bp_temp_thresholds()
1817 fru_info.read_size = 1; in update_disk_bp_temp_thresholds()
1827 fru_info.read_size = 2; in update_disk_bp_temp_thresholds()
1836 fru_info.read_size = 2; in update_disk_bp_temp_thresholds()
/titanic_44/usr/src/cmd/picl/plugins/sun4u/psvc/psvcpolicy/
H A Dpsvcpolicy.c242 fru_data.read_size = 1; in psvc_update_thresholds_0()
252 fru_data.read_size = 2; in psvc_update_thresholds_0()
260 fru_data.read_size = sizeof (seg_desc_t); in psvc_update_thresholds_0()
277 fru_data.read_size = sizeof (temp_array); in psvc_update_thresholds_0()
/titanic_44/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_mover.c74 tlm_buffer_t *buf, long read_size);
2815 long read_size) in mover_socket_read_one_buf() argument
2821 for (index = 0, toread = read_size; toread > 0; ) { in mover_socket_read_one_buf()
2845 buf->tb_buffer_size = read_size; in mover_socket_read_one_buf()
2846 if (read_size > 0) in mover_socket_read_one_buf()
2848 read_size - index); in mover_socket_read_one_buf()
/titanic_44/usr/src/uts/common/io/bnxe/577xx/hsi/hw/include/
H A Dhw_dump.h231 u32 read_size; member
/titanic_44/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
8933 u8_t read_size /* Amount of bytes to read */; member