/titanic_41/usr/src/uts/common/syscall/ |
H A D | getrandom.c | 43 uint8_t rbytes[128]; in getrandom() local 57 size_t len = MIN(sizeof (rbytes), buflen - out); in getrandom() 61 err = random_get_bytes(rbytes, len); in getrandom() 63 err = random_get_blocking_bytes(rbytes, len); in getrandom() 65 err = random_get_pseudo_bytes(rbytes, len); in getrandom() 69 if (ddi_copyout(rbytes, buf + out, len, 0) != 0) in getrandom()
|
/titanic_41/usr/src/cmd/ssh/libssh/common/ |
H A D | proxy-io.c | 15 int rbytes, bytes_to_write, bytes_written; in proxy_read_write_loop() local 19 rbytes = read(readfd, readbuf, sizeof (readbuf)); in proxy_read_write_loop() 21 if (rbytes > 0) { in proxy_read_write_loop() 22 bytes_to_write = rbytes; in proxy_read_write_loop() 33 } else if (rbytes <= 0) { in proxy_read_write_loop()
|
/titanic_41/usr/src/cmd/mdb/common/modules/mdb_test/ |
H A D | mdb_test.c | 178 ssize_t rbytes; in cmd_vread() local 190 rbytes = mdb_vread(buf, nbytes, addr); in cmd_vread() 192 if (rbytes >= 0) { in cmd_vread() 194 nbytes, rbytes); in cmd_vread() 196 mdb_warn("mdb_vread returned %ld", rbytes); in cmd_vread() 206 ssize_t rbytes; in cmd_pread() local 218 rbytes = mdb_pread(buf, nbytes, mdb_get_dot()); in cmd_pread() 220 if (rbytes >= 0) { in cmd_pread() 222 nbytes, rbytes); in cmd_pread() 224 mdb_warn("mdb_pread returned %ld", rbytes); in cmd_pread() [all …]
|
/titanic_41/usr/src/lib/lvm/libsvm/common/ |
H A D | start_svm.c | 241 ssize_t rbytes; in copyfile() local 264 rbytes = read(fromfd, buf, sizeof (buf)); in copyfile() 269 if (rbytes == 0) in copyfile() 271 if (write(tofd, buf, rbytes) != rbytes) { in copyfile() 272 rbytes = -1; in copyfile() 279 if (rbytes < 0) { in copyfile()
|
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_modapi.c | 59 ssize_t rbytes = mdb_tgt_vread(mdb.m_target, buf, nbytes, addr); in mdb_vread() local 61 if (rbytes > 0 && rbytes < nbytes) in mdb_vread() 62 return (set_errbytes(rbytes, nbytes)); in mdb_vread() 64 return (rbytes); in mdb_vread() 76 ssize_t rbytes = mdb_tgt_aread(mdb.m_target, as, buf, nbytes, addr); in mdb_aread() local 78 if (rbytes > 0 && rbytes < nbytes) in mdb_aread() 79 return (set_errbytes(rbytes, nbytes)); in mdb_aread() 81 return (rbytes); in mdb_aread() 93 ssize_t rbytes = mdb_tgt_fread(mdb.m_target, buf, nbytes, addr); in mdb_fread() local 95 if (rbytes > 0 && rbytes < nbytes) in mdb_fread() [all …]
|
H A D | mdb_logio.c | 49 ssize_t rbytes; in logio_read() local 52 rbytes = IOP_READ(io->io_next, buf, nbytes); in logio_read() 54 if (rbytes > 0) { in logio_read() 56 (void) IOP_WRITE(logio, buf, rbytes); in logio_read() 59 return (rbytes); in logio_read()
|
H A D | mdb_err.c | 250 set_errbytes(size_t rbytes, size_t nbytes) in set_errbytes() argument 252 errno_rbytes = rbytes; in set_errbytes()
|
H A D | mdb_rawfile.c | 114 ssize_t rbytes; in rf_read() local 122 if ((rbytes = IOP_READ(io, buf, nbytes)) == 0) in rf_read() 125 return (rbytes); in rf_read()
|
H A D | mdb_kproc.c | 1075 ssize_t rbytes = kp_vread(kpi->kpi_tgt, in kp_io_read() local 1078 if (rbytes >= 0) in kp_io_read() 1079 kpi->kpi_ptr += rbytes; in kp_io_read() 1081 return (rbytes); in kp_io_read()
|
/titanic_41/usr/src/cmd/ndmpstat/ |
H A D | ndmpstat_main.c | 180 long rbytes; in dostats() local 206 rbytes = (DELTA(wtape) + DELTA(rdisk)) / 2; in dostats() 208 rbytes /= blksize; in dostats() 211 adjprintf(" %*lu", 4, rbytes); in dostats() 214 adjprintf(" %*lu", 3, rbytes / poll_interval); in dostats()
|
/titanic_41/usr/src/cmd/lofiadm/ |
H A D | main.c | 1295 ssize_t rbytes; in lofi_uncompress() local 1362 rbytes = read(compfd, buf, sizeof (buf)); in lofi_uncompress() 1364 if (rbytes <= 0) in lofi_uncompress() 1367 if (write(uncompfd, buf, rbytes) != rbytes) { in lofi_uncompress() 1368 rbytes = -1; in lofi_uncompress() 1383 if (rbytes < 0) { in lofi_uncompress() 1419 ssize_t rbytes, wbytes, lastread; in lofi_compress() local 1540 rbytes = read(uncompfd, uncompressed_seg, segsize); in lofi_compress() 1542 if (rbytes <= 0) in lofi_compress() 1554 (void) li->l_compress(uncompressed_seg, rbytes, in lofi_compress() [all …]
|
/titanic_41/usr/src/lib/libzpool/common/ |
H A D | util.c | 76 char rops[6], wops[6], rbytes[6], wbytes[6], rerr[6], werr[6], cerr[6]; in show_vdev_stats() local 102 nicenum(vs->vs_bytes[ZIO_TYPE_READ] / sec, rbytes); in show_vdev_stats() 115 rops, wops, rbytes, wbytes, rerr, werr, cerr); in show_vdev_stats()
|
/titanic_41/usr/src/uts/sun4v/io/ |
H A D | vgen_stats.c | 79 kstat_named_init(&ldckp->rbytes, "rbytes", in vgen_setup_kstats() 186 ldckp->rbytes.value.ul = (uint32_t)statsp->rbytes + in vgen_kstat_update() 188 ldckp->rbytes64.value.ull = statsp->rbytes + in vgen_kstat_update() 238 statsp->rbytes = ldckp->rbytes64.value.ull; in vgen_kstat_update()
|
/titanic_41/usr/src/cmd/sh/ |
H A D | blok.c | 71 size_t rbytes = round(nbytes + ALIGNSIZ, ALIGNSIZ); in alloc() local 87 if ((char *)q - (char *)p >= rbytes) { in alloc() 89 ((char *)p + rbytes); in alloc() 103 addblok(rbytes); in alloc()
|
/titanic_41/usr/src/uts/sun4v/sys/ |
H A D | vgen_stats.h | 43 uint64_t rbytes; /* # bytes received */ member 93 kstat_named_t rbytes; /* MIB - ifInOctets */ member
|
H A D | vnet.h | 73 uint64_t rbytes; /* # bytes received */ member 93 kstat_named_t rbytes; /* MIB - ifInOctets */ member
|
/titanic_41/usr/src/uts/common/io/simnet/ |
H A D | simnet_impl.h | 57 uint64_t rbytes; member
|
/titanic_41/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_stat.c | 294 Adapter->rbytes += in e1000g_update_stats() 406 Adapter->rbytes += in e1000g_m_stat() 408 *val = Adapter->rbytes; in e1000g_m_stat() 978 Adapter->rbytes += in e1000g_rx_ring_stat() 980 *val = Adapter->rbytes; in e1000g_rx_ring_stat()
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlge/ |
H A D | qlge_gld.c | 106 qlge->stats.rbytes = 0; in ql_m_start() 314 cur_stats->rbytes = 0; in ql_m_getstat() 317 cur_stats->rbytes += rx_ring->rx_bytes; in ql_m_getstat() 319 val = cur_stats->rbytes; in ql_m_getstat()
|
/titanic_41/usr/src/lib/libdladm/common/ |
H A D | libdlstat.c | 156 ikbs = fcurr->diffstats.rbytes * 8 / dlt / 1024; in print_flow_stats() 242 ikbs = (double)fcurr->diffstats.rbytes * 8 / dlt / 1024; in print_link_stats() 484 ikbs = totalstats.rbytes / dlt / 1024; in stat_report() 593 &stats->rbytes) < 0) { in dladm_get_stats() 595 &stats->rbytes) < 0) in dladm_get_stats() 707 s1->rbytes = s2->rbytes + s3->rbytes; in dladm_stats_total() 723 s1->rbytes = DIFF_STAT(s2->rbytes, s3->rbytes); in dladm_stats_diff() 1239 rx_lane_stat_entry->rle_stats.rl_rbytes = stats.rbytes; in i_dlstat_legacy_rx_lane_stats()
|
H A D | libdlstat.h | 258 uint64_t rbytes; member
|
/titanic_41/usr/src/uts/common/io/ppp/sppp/ |
H A D | sppp.h | 98 kstat_named_t rbytes; member
|
/titanic_41/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_data.c | 122 uint_t rbytes; in eib_data_rx_comp_handler() local 151 rbytes = ipkts = 0; in eib_data_rx_comp_handler() 166 rbytes += wc->wc_bytes_xfer; in eib_data_rx_comp_handler() 201 EIB_UPDATE_COUNTER(&stats->st_rbytes, rbytes); in eib_data_rx_comp_handler()
|
/titanic_41/usr/src/uts/common/io/rge/ |
H A D | rge_kstats.c | 196 *val = rgep->stats.rbytes; in rge_m_stat()
|
/titanic_41/usr/src/uts/common/io/bfe/ |
H A D | bfe.h | 174 uint64_t rbytes; member
|