/illumos-gate/usr/src/test/zfs-tests/cmd/mkholes/ |
H A D | mkholes.c | 153 off_t bytes_read = 0; local 166 while (bytes_read < len) { 178 bytes_read += bytes;
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | fabric_conf.c | 102 unsigned int bytes_read; local 138 bytes_read = 0; 139 while (bytes_read < filesize) { 141 while (bytes_read < filesize && *tmp_ptr != '\n') { 142 bytes_read++; 148 bytes_read++;
|
H A D | fcalupdate.c | 137 int fbuf_idx, fd1, bytes_read; local 164 while (!strfound && ((bytes_read = read(fd1, 166 for (fbuf_idx = 0; fbuf_idx < bytes_read;
|
/illumos-gate/usr/src/lib/libsmedia/plugins/scsi/common/ |
H A D | s_generic.c | 300 int32_t ret_val, bytes_read; local 353 bytes_read = retraw_read->nbytes; 355 return (bytes_read);
|
/illumos-gate/usr/src/cmd/rmvolmgr/ |
H A D | rmvolmgr.c | 278 gsize bytes_read; local 281 if (g_io_channel_read_chars(source, buf, 1, &bytes_read, &error) !=
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | hald.c | 263 gsize bytes_read; local 267 g_io_channel_read_chars (source, data, 1, &bytes_read, &err)) {
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | load_elf_obj.c | 91 ssize_t bytes_read; local 105 bytes_read = read(ef.fd, hdr, sizeof(*hdr)); 106 if (bytes_read != sizeof(*hdr)) {
|
H A D | load_elf.c | 92 ssize_t bytes_read; local 108 bytes_read = read(ef->fd, ef->firstpage, PAGE_SIZE); 109 ef->firstlen = (size_t)bytes_read; 110 if (bytes_read < 0 || ef->firstlen <= sizeof(Elf_Ehdr)) {
|
/illumos-gate/usr/src/cmd/utmpd/ |
H A D | utmpd.c | 647 int bytes_read; local 657 if ((bytes_read = read(Pfd, p, sizeof (struct pidrec))) != 663 if (bytes_read > 0)
|
/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/uts/common/fs/ufs/ |
H A D | ufs_directio.c | 818 ssize_t resid, bytes_read; local 940 bytes_read = 0; 995 bytes_read += nbytes; 1034 newerror = directio_wait(tail, &bytes_read); 1048 uio->uio_resid -= bytes_read;
|
/illumos-gate/usr/src/cmd/vscan/vscand/ |
H A D | vs_icap.c | 1169 * Returns: bytes_read (== len unless EOF hit before len bytes read) 1177 int bytes_read = 0; local 1181 bytes_read = read(fd, ptr, resid); 1182 if (bytes_read < 0) { 1188 resid -= bytes_read; 1189 ptr += bytes_read;
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | nvfile.c | 1084 int bytes_read; local 1105 bytes_read = nvf_read(file, (char *)&hdr, sizeof (hdr)); 1106 if (bytes_read != sizeof (hdr)) { 1141 bytes_read = nvf_read(file, buf, hdr.nvfh_size); 1142 if (bytes_read != hdr.nvfh_size) { 1145 if (bytes_read < 0) { 1147 "to read %s bytes:%d", filename, bytes_read); 1151 bytes_read, (longlong_t)hdr.nvfh_size); 1159 bytes_read = nvf_read(file, &overfill, 1); 1161 if (bytes_read > [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystoreUtil.c | 1186 * in the argument "bytes_read" 1191 read_obj_data(int old_fd, char **buf, ssize_t *bytes_read) argument 1227 *bytes_read = nread;
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_rxdma.c | 1662 uint32_t bytes_read; local 1936 bytes_read = rcr_p->rcvd_pkt_bytes; 1961 if (l2_len - bytes_read < bsize) { 1963 &nmp->b_rptr[l2_len - bytes_read]; 1976 l2_len - bytes_read < bsize ? 1977 l2_len - bytes_read : bsize); 1983 bytes_read = nmp->b_wptr - nmp->b_rptr; 1985 bytes_read += nmp->b_wptr - nmp->b_rptr; 2036 rcr_p->rcvd_pkt_bytes = bytes_read;
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | ldc.c | 3892 size_t len = 0, bytes_read = 0; local 4007 bytes_read = 0; 4053 bytes_read = 0; 4062 bytes_read = 0; 4116 bytes_read = 0; 4137 bytes_read, ldcp->last_msg_rcd, 4141 bytes_read = 0; 4152 if (len <= (*sizep - bytes_read)) { 4155 bytes_read += len; 4165 curr_head, *sizep, bytes_read [all...] |
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_rxdma.c | 2201 uint32_t bytes_read; local 2584 bytes_read = rcr_p->rcvd_pkt_bytes; 2601 if (l2_len - bytes_read < bsize) { 2603 &nmp->b_rptr[l2_len - bytes_read]; 2616 l2_len - bytes_read < bsize ? 2617 l2_len - bytes_read : bsize); 2635 bytes_read = nmp->b_wptr - nmp->b_rptr; 2637 rdc_stats->ibytes += l2_len - bytes_read < bsize ? 2638 l2_len - bytes_read : bsize; 2639 bytes_read [all...] |
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | fakebop.c | 569 int bytes_read; local 596 bytes_read = BRD_READ(bfs_ops, fd, line + c, 1); 597 if (bytes_read == 0) {
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu_send.c | 1779 uint64_t bytes_read; /* bytes read from stream when record created */ member in struct:receive_record_arg 1802 uint64_t bytes_read; /* bytes read when current record created */ member in struct:receive_writer_arg 1823 uint64_t bytes_read; member in struct:receive_arg 1906 ra->bytes_read += len; 2022 ASSERT(rwa->bytes_read != 0); 2038 ASSERT3U(rwa->bytes_read, >=, 2043 rwa->os->os_dsl_dataset->ds_resume_bytes[txgoff] = rwa->bytes_read; 2450 ra->rrd->bytes_read = ra->bytes_read; 2459 ra->next_rrd->bytes_read [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_pool.c | 3663 zpool_history_unpack(char *buf, uint64_t bytes_read, uint64_t *leftover, argument 3670 while (bytes_read > sizeof (reclen)) { 3676 if (bytes_read < sizeof (reclen) + reclen) 3682 bytes_read -= sizeof (reclen) + reclen; 3694 *leftover = bytes_read; 3715 uint64_t bytes_read = buflen; local 3718 if ((err = get_history(zhp, buf, &off, &bytes_read)) != 0) 3722 if (!bytes_read) 3725 if ((err = zpool_history_unpack(buf, bytes_read, 3729 if (leftover == bytes_read) { [all...] |