/titanic_41/usr/src/cmd/luxadm/ |
H A D | fabric_conf.c | 102 unsigned int bytes_read; in read_repos_file() local 138 bytes_read = 0; in read_repos_file() 139 while (bytes_read < filesize) { in read_repos_file() 141 while (bytes_read < filesize && *tmp_ptr != '\n') { in read_repos_file() 142 bytes_read++; in read_repos_file() 148 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()
|
/titanic_41/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()
|
/titanic_41/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()
|
/titanic_41/usr/src/uts/common/fs/ufs/ |
H A D | ufs_directio.c | 818 ssize_t resid, bytes_read; in ufs_directio_read() local 940 bytes_read = 0; in ufs_directio_read() 995 bytes_read += nbytes; in ufs_directio_read() 1034 newerror = directio_wait(tail, &bytes_read); in ufs_directio_read() 1048 uio->uio_resid -= bytes_read; in ufs_directio_read()
|
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | dmu_send.c | 1652 uint64_t bytes_read; /* bytes read from stream when record created */ member 1675 uint64_t bytes_read; /* bytes read when current record created */ member 1682 uint64_t bytes_read; member 1767 ra->bytes_read += len; in receive_read() 1882 ASSERT(rwa->bytes_read != 0); in save_resume_state() 1898 ASSERT3U(rwa->bytes_read, >=, in save_resume_state() 1903 rwa->os->os_dsl_dataset->ds_resume_bytes[txgoff] = rwa->bytes_read; in save_resume_state() 2308 ra->rrd->bytes_read = ra->bytes_read; in receive_read_payload_and_next_header() 2317 ra->next_rrd->bytes_read = ra->bytes_read; in receive_read_payload_and_next_header() 2525 ASSERT3U(rrd->bytes_read, >=, rwa->bytes_read); in receive_process_record() [all …]
|
/titanic_41/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;
|
/titanic_41/usr/src/cmd/utmpd/ |
H A D | utmpd.c | 647 int bytes_read; in drain_pipe() local 657 if ((bytes_read = read(Pfd, p, sizeof (struct pidrec))) != in drain_pipe() 663 if (bytes_read > 0) in drain_pipe()
|
/titanic_41/usr/src/cmd/hal/hald/ |
H A D | hald.c | 263 gsize bytes_read; in sigterm_iochn_data() local 267 g_io_channel_read_chars (source, data, 1, &bytes_read, &err)) { in sigterm_iochn_data()
|
/titanic_41/usr/src/cmd/vscan/vscand/ |
H A D | vs_icap.c | 1177 int bytes_read = 0; in vs_icap_read() local 1181 bytes_read = read(fd, ptr, resid); in vs_icap_read() 1182 if (bytes_read < 0) { in vs_icap_read() 1188 resid -= bytes_read; in vs_icap_read() 1189 ptr += bytes_read; in vs_icap_read()
|
/titanic_41/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()
|
/titanic_41/usr/src/uts/sun4v/io/ |
H A D | ldc.c | 3892 size_t len = 0, bytes_read = 0; in i_ldc_read_packet() local 4007 bytes_read = 0; in i_ldc_read_packet() 4053 bytes_read = 0; in i_ldc_read_packet() 4062 bytes_read = 0; in i_ldc_read_packet() 4116 bytes_read = 0; in i_ldc_read_packet() 4137 bytes_read, ldcp->last_msg_rcd, in i_ldc_read_packet() 4141 bytes_read = 0; in i_ldc_read_packet() 4152 if (len <= (*sizep - bytes_read)) { in i_ldc_read_packet() 4155 bytes_read += len; in i_ldc_read_packet() 4165 curr_head, *sizep, bytes_read+len); in i_ldc_read_packet() [all …]
|
/titanic_41/usr/src/lib/libsmedia/plugins/scsi/common/ |
H A D | s_generic.c | 300 int32_t ret_val, bytes_read; in _m_raw_read() local 353 bytes_read = retraw_read->nbytes; in _m_raw_read() 355 return (bytes_read); in _m_raw_read()
|
/titanic_41/usr/src/cmd/ssh/sftp-server/ |
H A D | sftp-server.c | 181 u_int64_t bytes_read, bytes_write; member 212 handles[i].bytes_read = handles[i].bytes_write = 0; in handle_new() 280 handles[handle].bytes_read += bytes; in handle_update_read() 294 return (handles[handle].bytes_read); in handle_bytes_read()
|
/titanic_41/usr/src/lib/libzfs/common/ |
H A D | libzfs_pool.c | 3608 zpool_history_unpack(char *buf, uint64_t bytes_read, uint64_t *leftover, in zpool_history_unpack() argument 3615 while (bytes_read > sizeof (reclen)) { in zpool_history_unpack() 3621 if (bytes_read < sizeof (reclen) + reclen) in zpool_history_unpack() 3627 bytes_read -= sizeof (reclen) + reclen; in zpool_history_unpack() 3639 *leftover = bytes_read; in zpool_history_unpack() 3660 uint64_t bytes_read = buflen; in zpool_get_history() local 3663 if ((err = get_history(zhp, buf, &off, &bytes_read)) != 0) in zpool_get_history() 3667 if (!bytes_read) in zpool_get_history() 3670 if ((err = zpool_history_unpack(buf, bytes_read, in zpool_get_history() 3674 if (leftover == bytes_read) { in zpool_get_history()
|
/titanic_41/usr/src/uts/common/io/hxge/ |
H A D | hxge_rxdma.c | 1662 uint32_t bytes_read; in hxge_receive_packet() local 1936 bytes_read = rcr_p->rcvd_pkt_bytes; in hxge_receive_packet() 1961 if (l2_len - bytes_read < bsize) { in hxge_receive_packet() 1963 &nmp->b_rptr[l2_len - bytes_read]; in hxge_receive_packet() 1976 l2_len - bytes_read < bsize ? in hxge_receive_packet() 1977 l2_len - bytes_read : bsize); in hxge_receive_packet() 1983 bytes_read = nmp->b_wptr - nmp->b_rptr; in hxge_receive_packet() 1985 bytes_read += nmp->b_wptr - nmp->b_rptr; in hxge_receive_packet() 2036 rcr_p->rcvd_pkt_bytes = bytes_read; in hxge_receive_packet()
|
/titanic_41/usr/src/uts/common/io/nxge/ |
H A D | nxge_rxdma.c | 2201 uint32_t bytes_read; in nxge_receive_packet() local 2584 bytes_read = rcr_p->rcvd_pkt_bytes; in nxge_receive_packet() 2601 if (l2_len - bytes_read < bsize) { in nxge_receive_packet() 2603 &nmp->b_rptr[l2_len - bytes_read]; in nxge_receive_packet() 2616 l2_len - bytes_read < bsize ? in nxge_receive_packet() 2617 l2_len - bytes_read : bsize); in nxge_receive_packet() 2635 bytes_read = nmp->b_wptr - nmp->b_rptr; in nxge_receive_packet() 2637 rdc_stats->ibytes += l2_len - bytes_read < bsize ? in nxge_receive_packet() 2638 l2_len - bytes_read : bsize; in nxge_receive_packet() 2639 bytes_read += nmp->b_wptr - nmp->b_rptr; in nxge_receive_packet() [all …]
|
/titanic_41/usr/src/uts/i86pc/os/ |
H A D | fakebop.c | 620 int bytes_read; in boot_prop_finish() local 647 bytes_read = BRD_READ(bfs_ops, fd, line + c, 1); in boot_prop_finish() 648 if (bytes_read == 0) { in boot_prop_finish()
|
/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystoreUtil.c | 1191 read_obj_data(int old_fd, char **buf, ssize_t *bytes_read) in read_obj_data() argument 1227 *bytes_read = nread; in read_obj_data()
|