Home
last modified time | relevance | path

Searched refs:rbytes (Results 1 – 25 of 61) sorted by relevance

123

/illumos-gate/usr/src/uts/common/syscall/
H A Dgetrandom.c43 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()
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_test/
H A Dmdb_test.c176 ssize_t rbytes; in cmd_vread() local
188 rbytes = mdb_vread(buf, nbytes, addr); in cmd_vread()
190 if (rbytes >= 0) { in cmd_vread()
192 nbytes, rbytes); in cmd_vread()
194 mdb_warn("mdb_vread returned %ld", rbytes); in cmd_vread()
204 ssize_t rbytes; in cmd_pread() local
218 if (rbytes >= 0) { in cmd_pread()
220 nbytes, rbytes); in cmd_pread()
232 ssize_t rbytes; in cmd_readsym() local
247 if (rbytes >= 0) { in cmd_readsym()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_logio.c47 ssize_t rbytes; in logio_read() local
50 rbytes = IOP_READ(io->io_next, buf, nbytes); in logio_read()
52 if (rbytes > 0) { in logio_read()
54 (void) IOP_WRITE(logio, buf, rbytes); in logio_read()
57 return (rbytes); in logio_read()
H A Dmdb_modapi.c172 if (rbytes > 0 && rbytes < nbytes) in mdb_vread()
173 return (set_errbytes(rbytes, nbytes)); in mdb_vread()
175 return (rbytes); in mdb_vread()
189 if (rbytes > 0 && rbytes < nbytes) in mdb_aread()
192 return (rbytes); in mdb_aread()
206 if (rbytes > 0 && rbytes < nbytes) in mdb_fread()
209 return (rbytes); in mdb_fread()
223 if (rbytes > 0 && rbytes < nbytes) in mdb_pread()
226 return (rbytes); in mdb_pread()
254 if (rbytes > 0 && rbytes < nbytes) in mdb_readsym()
[all …]
H A Dmdb_err.c250 set_errbytes(size_t rbytes, size_t nbytes) in set_errbytes() argument
252 errno_rbytes = rbytes; in set_errbytes()
H A Dmdb_rawfile.c115 ssize_t rbytes; in rf_read() local
123 if ((rbytes = IOP_READ(io, buf, nbytes)) == 0) in rf_read()
126 return (rbytes); in rf_read()
H A Dmdb_kproc.c1077 ssize_t rbytes = kp_vread(kpi->kpi_tgt, in kp_io_read() local
1080 if (rbytes >= 0) in kp_io_read()
1081 kpi->kpi_ptr += rbytes; in kp_io_read()
1083 return (rbytes); in kp_io_read()
/illumos-gate/usr/src/cmd/ndmpstat/
H A Dndmpstat_main.c180 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()
/illumos-gate/usr/src/cmd/lofiadm/
H A Dmain.c1377 ssize_t rbytes; in lofi_uncompress() local
1446 if (rbytes <= 0) in lofi_uncompress()
1449 if (write(uncompfd, buf, rbytes) != rbytes) { in lofi_uncompress()
1450 rbytes = -1; in lofi_uncompress()
1465 if (rbytes < 0) { in lofi_uncompress()
1624 if (rbytes <= 0) in lofi_compress()
1653 rbytes); in lofi_compress()
1667 rbytes = -1; in lofi_compress()
1679 if (rbytes < 0) in lofi_compress()
1741 if (rbytes <= 0) in lofi_compress()
[all …]
/illumos-gate/usr/src/lib/libzpool/common/
H A Dutil.c58 char rops[6], wops[6], rbytes[6], wbytes[6], rerr[6], werr[6], cerr[6]; in show_vdev_stats() local
94 nicenum(vs->vs_bytes[ZIO_TYPE_READ] / sec, rbytes, in show_vdev_stats()
95 sizeof (rbytes)); in show_vdev_stats()
109 rops, wops, rbytes, wbytes, rerr, werr, cerr); in show_vdev_stats()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvgen_stats.c79 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()
/illumos-gate/usr/src/cmd/sh/
H A Dblok.c71 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()
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvgen_stats.h43 uint64_t rbytes; /* # bytes received */ member
93 kstat_named_t rbytes; /* MIB - ifInOctets */ member
H A Dvnet.h73 uint64_t rbytes; /* # bytes received */ member
93 kstat_named_t rbytes; /* MIB - ifInOctets */ member
/illumos-gate/usr/src/uts/common/io/simnet/
H A Dsimnet_impl.h60 uint64_t rbytes; member
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_stat.c294 Adapter->rbytes += in e1000g_update_stats()
406 Adapter->rbytes += in e1000g_m_stat()
408 *val = Adapter->rbytes; in e1000g_m_stat()
959 Adapter->rbytes += in e1000g_rx_ring_stat()
961 *val = Adapter->rbytes; in e1000g_rx_ring_stat()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge_gld.c106 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()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlstat.c119 &stats->rbytes) < 0) { in dladm_get_stats()
121 &stats->rbytes) < 0) in dladm_get_stats()
233 s1->rbytes = s2->rbytes + s3->rbytes; in dladm_stats_total()
249 s1->rbytes = DIFF_STAT(s2->rbytes, s3->rbytes); in dladm_stats_diff()
764 rx_lane_stat_entry->rle_stats.rl_rbytes = stats.rbytes; in i_dlstat_legacy_rx_lane_stats()
H A Dlibdlstat.h262 uint64_t rbytes; member
/illumos-gate/usr/src/uts/common/io/ppp/sppp/
H A Dsppp.h98 kstat_named_t rbytes; member
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_data.c122 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()
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_kstats.c194 *val = rgep->stats.rbytes; in rge_m_stat()
H A Drge_rxtx.c260 rgep->stats.rbytes += packet_len; in rge_receive_packet()
280 rgep->stats.rbytes += VLAN_TAGSZ; in rge_receive_packet()
/illumos-gate/usr/src/uts/common/io/bfe/
H A Dbfe.h174 uint64_t rbytes; member
/illumos-gate/usr/src/uts/common/io/rtls/
H A Drtls.h128 uint64_t rbytes; member

123