Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cdrw/
H A Dcopycd.c62 uint32_t blks_read, cblk, read_chunk, read_size; in read_data_track() local
103 read_size = read_chunk * blksize; in read_data_track()
104 if (read10(dev->d_fd, cblk, read_chunk, buf, read_size)) { in read_data_track()
105 if (h->bstr_write(h, buf, read_size) != read_size) { in read_data_track()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/psvcpolicy/
H A Dpsvcpolicy.c218 fru_data.read_size = 1; in find_segment()
240 fru_data.read_size = 2; in find_segment()
248 fru_data.read_size = sizeof (seg_desc_t); in find_segment()
305 fru_data.read_size = sizeof (data_offset); in psvc_update_thresholds_0()
320 fru_data.read_size = sizeof (temps); in psvc_update_thresholds_0()
354 fru_data.read_size = sizeof (part_no); in psvc_update_thresholds_0()
/illumos-gate/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.c1357 int read_size; in get_read_one_buf() local
1372 p = get_read_buffer(size - actual_size, error, &read_size, lc); in get_read_one_buf()
1373 len = min(size - actual_size, read_size); in get_read_one_buf()
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_nvm.c488 u16 read_size = *words; in i40e_read_nvm_buffer_aq() local
501 read_size = min(*words, in i40e_read_nvm_buffer_aq()
505 read_size = min((*words - words_read), in i40e_read_nvm_buffer_aq()
509 if ((words_read + read_size) >= *words) in i40e_read_nvm_buffer_aq()
512 ret_code = i40e_read_nvm_aq(hw, 0x0, offset, read_size, in i40e_read_nvm_buffer_aq()
520 words_read += read_size; in i40e_read_nvm_buffer_aq()
521 offset += read_size; in i40e_read_nvm_buffer_aq()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/psvcpolicy/
H A Dpsvcpolicy.c359 fru_data.read_size = 1; in update_thresholds()
369 fru_data.read_size = 2; in update_thresholds()
377 fru_data.read_size = sizeof (seg_desc_t); in update_thresholds()
394 fru_data.read_size = sizeof (temp_array); in update_thresholds()
2143 fru_data.read_size = 1; in psvc_update_cpu_module_card_node_0()
2154 fru_data.read_size = 2; in psvc_update_cpu_module_card_node_0()
2166 fru_data.read_size = sizeof (seg_desc_t); in psvc_update_cpu_module_card_node_0()
2183 fru_data.read_size = 1; in psvc_update_cpu_module_card_node_0()
/illumos-gate/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 …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcpolicy/
H A Dpsvcpolicy.c1766 fru_info.read_size = 8; in read_sc_segment()
1802 fru_info.read_size = 1; in update_disk_bp_temp_thresholds()
1815 fru_info.read_size = 1; in update_disk_bp_temp_thresholds()
1825 fru_info.read_size = 2; in update_disk_bp_temp_thresholds()
1834 fru_info.read_size = 2; in update_disk_bp_temp_thresholds()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/
H A Dpsvc_objects.h321 int32_t read_size; member
H A Dpsvcobj.c3759 data = (char *)malloc(fru_data->read_size); in i_psvc_get_reg_11_0()
3760 ret = read(fp, data, fru_data->read_size); in i_psvc_get_reg_11_0()
3768 memcpy(fru_data->buf, data, fru_data->read_size); in i_psvc_get_reg_11_0()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcpolicy/
H A Dpsvcpolicy.c240 fru_data.read_size = 1; in psvc_update_thresholds_0()
250 fru_data.read_size = 2; in psvc_update_thresholds_0()
258 fru_data.read_size = sizeof (seg_desc_t); in psvc_update_thresholds_0()
275 fru_data.read_size = sizeof (temp_array); in psvc_update_thresholds_0()
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_mover.c74 tlm_buffer_t *buf, long read_size);
2817 long read_size) in mover_socket_read_one_buf() argument
2823 for (index = 0, toread = read_size; toread > 0; ) { in mover_socket_read_one_buf()
2847 buf->tb_buffer_size = read_size; in mover_socket_read_one_buf()
2848 if (read_size > 0) in mover_socket_read_one_buf()
2850 read_size - index); in mover_socket_read_one_buf()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/hw/include/
H A Dhw_dump.h231 u32 read_size; member
/illumos-gate/usr/src/tools/smatch/src/smatch_data/
H A Dkernel.implicit_dependencies.v1168 …erf_event_attr)->pinned, (struct perf_event)->pmu, (struct perf_event)->read_size, (struct perf_ev…
H A Dkernel.implicit_dependencies.no_structs27 … perf_event_attr)->pinned, (union anonymous)->__c, (struct perf_event)->read_size, (struct perf_ev…
301 …>header_size, (struct perf_event)->id_header_size, (struct perf_event)->read_size, (struct hw_perf…
/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
8933 u8_t read_size /* Amount of bytes to read */; member
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/implicit_dependencies/with_structs/
H A Dimplicit_dependencies_verbose12518 ('perf_event', 'read_size'),