/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | fastlz_api.c | 235 unsigned int bytes_read; in compress_buff() local 247 if (bytes_read < 32) in compress_buff() 264 bytes_read); in compress_buff() 283 bytes_read); in compress_buff() 290 bytes_read); in compress_buff() 309 size_t bytes_read; in detect_magic() local 315 if (bytes_read < 8) in detect_magic() 422 if (bytes_read == 0) in decompress_buffer() 474 bytes_read = in decompress_buffer() 486 bytes_read); in decompress_buffer() [all …]
|
H A D | cudbg_lib.c | 2558 unsigned long bytes_read = 0; in read_fw_mem() local 2580 rc = t4_memory_rw(padap, MEMWIN_NIC, mem_type, bytes_read, in read_fw_mem() 2597 bytes_read += bytes; in read_fw_mem() 2825 unsigned long bytes_read = 0; in collect_reg_dump() local 2853 ((char *)scratch_buff.data) + bytes_read; in collect_reg_dump() 2858 bytes_read += bytes; in collect_reg_dump()
|
/illumos-gate/usr/src/lib/libzutil/common/ |
H A D | zutil_pool.c | 108 zpool_history_unpack(char *buf, uint64_t bytes_read, uint64_t *leftover, in zpool_history_unpack() argument 116 while (bytes_read > sizeof (reclen)) { in zpool_history_unpack() 122 if (bytes_read < sizeof (reclen) + reclen) in zpool_history_unpack() 128 bytes_read -= sizeof (reclen) + reclen; in zpool_history_unpack() 146 *leftover = bytes_read; in zpool_history_unpack()
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | fabric_conf.c | 101 unsigned int bytes_read; in read_repos_file() local 135 bytes_read = 0; in read_repos_file() 136 while (bytes_read < filesize) { in read_repos_file() 138 while (bytes_read < filesize && *tmp_ptr != '\n') { in read_repos_file() 139 bytes_read++; in read_repos_file() 145 bytes_read++; in read_repos_file()
|
H A D | fcalupdate.c | 137 int fbuf_idx, fd1, bytes_read; in fcal_update() local 164 while (!strfound && ((bytes_read = read(fd1, in fcal_update() 166 for (fbuf_idx = 0; fbuf_idx < bytes_read; in fcal_update()
|
/illumos-gate/usr/src/test/zfs-tests/cmd/mkholes/ |
H A D | mkholes.c | 153 off_t bytes_read = 0; in main() local 166 while (bytes_read < len) { in main() 178 bytes_read += bytes; in main()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | nvfile.c | 1084 int bytes_read; in nvf_parse() local 1105 bytes_read = nvf_read(file, (char *)&hdr, sizeof (hdr)); in nvf_parse() 1106 if (bytes_read != sizeof (hdr)) { in nvf_parse() 1141 bytes_read = nvf_read(file, buf, hdr.nvfh_size); in nvf_parse() 1142 if (bytes_read != hdr.nvfh_size) { in nvf_parse() 1145 if (bytes_read < 0) { in nvf_parse() 1147 "to read %s bytes:%d", filename, bytes_read); in nvf_parse() 1151 bytes_read, (longlong_t)hdr.nvfh_size); in nvf_parse() 1159 bytes_read = nvf_read(file, &overfill, 1); in nvf_parse() 1161 if (bytes_read > 0) { in nvf_parse()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | qemu_fwcfg.c | 556 ssize_t bytes_read; in qemu_fwcfg_parse_cmdline_arg() local 636 bytes_read = read(fd, fwcfg_file->data, sb.st_size); in qemu_fwcfg_parse_cmdline_arg() 637 if (bytes_read < 0 || bytes_read != sb.st_size) { in qemu_fwcfg_parse_cmdline_arg() 643 fwcfg_file->size = bytes_read; in qemu_fwcfg_parse_cmdline_arg()
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_directio.c | 801 ssize_t resid, bytes_read; in ufs_directio_read() local 923 bytes_read = 0; in ufs_directio_read() 978 bytes_read += nbytes; in ufs_directio_read() 1017 newerror = directio_wait(tail, &bytes_read); in ufs_directio_read() 1031 uio->uio_resid -= bytes_read; in ufs_directio_read()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu_recv.c | 834 uint64_t bytes_read; /* bytes read when current record created */ member 867 uint64_t bytes_read; member 956 ra->bytes_read += len; in receive_read() 1082 ASSERT(rwa->bytes_read != 0); in save_resume_state() 1098 ASSERT3U(rwa->bytes_read, >=, in save_resume_state() 1103 rwa->os->os_dsl_dataset->ds_resume_bytes[txgoff] = rwa->bytes_read; in save_resume_state() 1912 ra->rrd->bytes_read = ra->bytes_read; in receive_read_payload_and_next_header() 1921 ra->next_rrd->bytes_read = ra->bytes_read; in receive_read_payload_and_next_header() 2228 ASSERT3U(rrd->bytes_read, >=, rwa->bytes_read); in receive_process_record() 2229 rwa->bytes_read = rrd->bytes_read; in receive_process_record() [all …]
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_form.c | 1233 Dwarf_Unsigned *bytes_read, in _dwarf_formudata_internal() argument 1244 *bytes_read = 1; in _dwarf_formudata_internal() 1255 *bytes_read = 2; in _dwarf_formudata_internal() 1265 *bytes_read = DWARF_32BIT_SIZE;; in _dwarf_formudata_internal() 1275 *bytes_read = DWARF_64BIT_SIZE; in _dwarf_formudata_internal() 1287 *bytes_read = leblen; in _dwarf_formudata_internal() 1310 Dwarf_Unsigned bytes_read = 0; in dwarf_formudata() local 1324 &bytes_read, error); in dwarf_formudata()
|
H A D | dwarf_opaque.h | 984 Dwarf_Unsigned *bytes_read,
|
H A D | dwarf_die_deliv.c | 680 Dwarf_Unsigned bytes_read = 0; in _dwarf_make_CU_Context() local 746 &bytes_read,error); in _dwarf_make_CU_Context() 752 cu_ptr += bytes_read; in _dwarf_make_CU_Context()
|
/illumos-gate/usr/src/cmd/gencat/ |
H A D | gencat.c | 417 int nbytes, bytes_read; local 424 bytes_read = READ(fd, p + nbytes, n - nbytes); 425 if (bytes_read < 0) { 431 } else if (bytes_read == 0) 434 nbytes += bytes_read;
|
/illumos-gate/usr/src/cmd/utmpd/ |
H A D | utmpd.c | 648 int bytes_read; in drain_pipe() local 658 if ((bytes_read = read(Pfd, p, sizeof (struct pidrec))) != in drain_pipe() 664 if (bytes_read > 0) in drain_pipe()
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | hald.c | 262 gsize bytes_read; in sigterm_iochn_data() local 266 g_io_channel_read_chars (source, data, 1, &bytes_read, &err)) { in sigterm_iochn_data()
|
/illumos-gate/usr/src/boot/common/ |
H A D | load_elf_obj.c | 91 ssize_t bytes_read; in __elfN() local 105 bytes_read = read(ef.fd, hdr, sizeof(*hdr)); in __elfN() 106 if (bytes_read != sizeof(*hdr)) { in __elfN()
|
H A D | load_elf.c | 92 ssize_t bytes_read; in __elfN() local 108 bytes_read = read(ef->fd, ef->firstpage, PAGE_SIZE); in __elfN() 109 ef->firstlen = (size_t)bytes_read; in __elfN() 110 if (bytes_read < 0 || ef->firstlen <= sizeof (Elf_Ehdr)) { in __elfN()
|
/illumos-gate/usr/src/cmd/vscan/vscand/ |
H A D | vs_icap.c | 1176 int bytes_read = 0; in vs_icap_read() local 1180 bytes_read = read(fd, ptr, resid); in vs_icap_read() 1181 if (bytes_read < 0) { in vs_icap_read() 1187 resid -= bytes_read; in vs_icap_read() 1188 ptr += bytes_read; in vs_icap_read()
|
/illumos-gate/usr/src/cmd/rmvolmgr/ |
H A D | rmvolmgr.c | 278 gsize bytes_read; in sigexit_ioch_func() local 281 if (g_io_channel_read_chars(source, buf, 1, &bytes_read, &error) != in sigexit_ioch_func()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | ldc.c | 3875 size_t len = 0, bytes_read = 0; in i_ldc_read_packet() local 3990 bytes_read = 0; in i_ldc_read_packet() 4036 bytes_read = 0; in i_ldc_read_packet() 4045 bytes_read = 0; in i_ldc_read_packet() 4099 bytes_read = 0; in i_ldc_read_packet() 4124 bytes_read = 0; in i_ldc_read_packet() 4138 bytes_read += len; in i_ldc_read_packet() 4152 bytes_read = 0; in i_ldc_read_packet() 4180 bytes_read = 0; in i_ldc_read_packet() 4182 *sizep = bytes_read; in i_ldc_read_packet() [all …]
|
/illumos-gate/usr/src/lib/libsmedia/plugins/scsi/common/ |
H A D | s_generic.c | 297 int32_t ret_val, bytes_read; in _m_raw_read() local 350 bytes_read = retraw_read->nbytes; in _m_raw_read() 352 return (bytes_read); in _m_raw_read()
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_rxdma.c | 1653 uint32_t bytes_read; in hxge_receive_packet() local 1917 bytes_read = rcr_p->rcvd_pkt_bytes; in hxge_receive_packet() 1942 if (l2_len - bytes_read < bsize) { in hxge_receive_packet() 1944 &nmp->b_rptr[l2_len - bytes_read]; in hxge_receive_packet() 1957 l2_len - bytes_read < bsize ? in hxge_receive_packet() 1958 l2_len - bytes_read : bsize); in hxge_receive_packet() 1964 bytes_read = nmp->b_wptr - nmp->b_rptr; in hxge_receive_packet() 1966 bytes_read += nmp->b_wptr - nmp->b_rptr; in hxge_receive_packet() 2017 rcr_p->rcvd_pkt_bytes = bytes_read; in hxge_receive_packet()
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_rxdma.c | 2183 uint32_t bytes_read; in nxge_receive_packet() local 2556 bytes_read = rcr_p->rcvd_pkt_bytes; in nxge_receive_packet() 2573 if (l2_len - bytes_read < bsize) { in nxge_receive_packet() 2575 &nmp->b_rptr[l2_len - bytes_read]; in nxge_receive_packet() 2588 l2_len - bytes_read < bsize ? in nxge_receive_packet() 2589 l2_len - bytes_read : bsize); in nxge_receive_packet() 2607 bytes_read = nmp->b_wptr - nmp->b_rptr; in nxge_receive_packet() 2609 rdc_stats->ibytes += l2_len - bytes_read < bsize ? in nxge_receive_packet() 2610 l2_len - bytes_read : bsize; in nxge_receive_packet() 2611 bytes_read += nmp->b_wptr - nmp->b_rptr; in nxge_receive_packet() [all …]
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | fakebop.c | 679 int bytes_read; in read_bootenvrc() local 707 bytes_read = BRD_READ(bfs_ops, fd, line + c, 1); in read_bootenvrc() 708 if (bytes_read == 0) { in read_bootenvrc()
|