Home
last modified time | relevance | path

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

/netbsd-src/external/cddl/dtracetoolkit/dist/Bin/
H A Dnfswizard.d53 @rbytes = sum(args[0]->b_flags & B_READ ? args[0]->b_bcount : 0);
74 printa("Read: %@d bytes ", @rbytes);
75 normalize(@rbytes, 1000000);
76 printa("(%@d Mb)\n", @rbytes);
82 denormalize(@rbytes);
83 normalize(@rbytes, (timestamp - timestart) / 1000000);
84 printa("Read: %@d Kb/sec\n", @rbytes);
H A Drfileio.d62 @rbytes[self->pathname, "logical"] =
73 @rbytes[self->pathname, "physical"] = sum(args[0]->b_bcount);
80 trunc(@rbytes, 20);
85 printa("%-54s %10s %10@d\n", @rbytes);
88 trunc(@rbytes);
H A Drfsio.d69 @rbytes[self->fs_mount, "logical"] =
80 @rbytes[self->fs_mount, "physical"] = sum(args[0]->b_bcount);
87 trunc(@rbytes, 20);
92 printa("%-32s %10s %10@d\n", @rbytes);
95 trunc(@rbytes);
/netbsd-src/external/cddl/dtracetoolkit/dist/Apps/
H A Dnfswizard.d53 @rbytes = sum(args[0]->b_flags & B_READ ? args[0]->b_bcount : 0);
74 printa("Read: %@d bytes ", @rbytes);
75 normalize(@rbytes, 1000000);
76 printa("(%@d Mb)\n", @rbytes);
82 denormalize(@rbytes);
83 normalize(@rbytes, (timestamp - timestart) / 1000000);
84 printa("Read: %@d Kb/sec\n", @rbytes);
/netbsd-src/external/cddl/dtracetoolkit/dist/FS/
H A Drfileio.d62 @rbytes[self->pathname, "logical"] =
73 @rbytes[self->pathname, "physical"] = sum(args[0]->b_bcount);
80 trunc(@rbytes, 20);
85 printa("%-54s %10s %10@d\n", @rbytes);
88 trunc(@rbytes);
H A Drfsio.d69 @rbytes[self->fs_mount, "logical"] =
80 @rbytes[self->fs_mount, "physical"] = sum(args[0]->b_bcount);
87 trunc(@rbytes, 20);
92 printa("%-32s %10s %10@d\n", @rbytes);
95 trunc(@rbytes);
/netbsd-src/usr.sbin/dumplfs/
H A Dmisc.c55 int rbytes; in get() local
59 if ((rbytes = read(fd, p, len)) < 0) in get()
61 if (rbytes != len) in get()
62 errx(1, "%s: short read (%d, not %lu)", special, rbytes, in get()
/netbsd-src/lib/libisns/
H A Disns_thread.c130 ssize_t rbytes; in isns_kevent_pipe() local
137 rbytes = read(cfg_p->pipe_fds[0], &cmd_type, in isns_kevent_pipe()
139 if (rbytes < 0) { in isns_kevent_pipe()
145 pipe_nbytes -= (int)rbytes; in isns_kevent_pipe()
153 rbytes = read(cfg_p->pipe_fds[0], &trans_id, in isns_kevent_pipe()
155 if (rbytes < 0) in isns_kevent_pipe()
158 else if (rbytes != sizeof(trans_id)) in isns_kevent_pipe()
163 pipe_nbytes -= (int)rbytes; in isns_kevent_pipe()
/netbsd-src/libexec/httpd/
H A Dcgi-bozo.c119 ssize_t rbytes; in finish_cgi_output() local
186 while ((rbytes = read(in, buf, sizeof buf)) > 0) { in finish_cgi_output()
189 while (rbytes) { in finish_cgi_output()
191 (size_t)rbytes); in finish_cgi_output()
193 rbytes -= wbytes; in finish_cgi_output()
383 ssize_t rbytes; in bozo_process_cgi() local
655 while ((rbytes = bozo_read(httpd, STDIN_FILENO, buf, sizeof buf)) > 0) { in bozo_process_cgi()
658 while (rbytes) { in bozo_process_cgi()
659 wbytes = write(sv[0], buf, (size_t)rbytes); in bozo_process_cgi()
661 rbytes -= wbytes; in bozo_process_cgi()
/netbsd-src/usr.bin/vmstat/
H A Ddrvstats.c115 last.rbytes[i] = cur.rbytes[i]; in drvswap()
129 SWAP(rbytes[i]); in drvswap()
215 COPYF(rbytes, i, j); in drvreadstats()
347 cur.rbytes = calloc(ndrive, sizeof(u_int64_t)); in drvinit()
358 last.rbytes = calloc(ndrive, sizeof(u_int64_t)); in drvinit()
367 cur.seek == NULL || cur.rbytes == NULL || in drvinit()
373 last.seek == NULL || last.rbytes == NULL || in drvinit()
H A Ddrvstats.h46 u_int64_t *rbytes; /* # of bytes read. */ member
H A Dvmstat.c616 bytes = cur.rbytes[j] + cur.wbytes[j]; in choosedrives()
/netbsd-src/usr.sbin/iostat/
H A Diostat.c605 cur.rbytes[dn] == 0 && in drive_stats()
620 mbps = ((cur.rbytes[dn] + cur.wbytes[dn]) / in drive_stats()
633 mbps = (cur.rbytes[dn] + cur.wbytes[dn]) / in drive_stats()
669 cur.rbytes[dn] == 0 && in drive_stats2()
686 (cur.rbytes[dn] + cur.wbytes[dn]) / in drive_stats2()
711 if (cur.rbytes[dn] == 0 && cur.rxfer[dn] == 0 && in drive_statsx()
722 kbps = (cur.rbytes[dn] / 1024.0) / cur.rxfer[dn]; in drive_statsx()
739 cur.rbytes[dn] / (1024.0 * 1024) / dtime); in drive_statsx()
820 if (cur.rbytes[dn] == 0 && cur.rxfer[dn] == 0 && in drive_statsy()
838 drive_statsy_io(dtime, cur.rxfer[dn], cur.rbytes[dn]); in drive_statsy()
/netbsd-src/sys/sys/
H A Dtape.h54 uint64_t rbytes; member
69 uint64_t rbytes; /* total bytes read */ member
H A Diostat.h66 u_int64_t rbytes; member
/netbsd-src/external/cddl/osnet/dist/lib/libzpool/common/
H A Dutil.c76 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()
/netbsd-src/external/bsd/tre/dist/lib/
H A Dtre-match-parallel.c143 size_t tbytes, rbytes, pbytes, xbytes, total_bytes; in tre_tnfa_run_parallel() local
161 rbytes = sizeof(*reach_next) * (tnfa->num_states + 1); in tre_tnfa_run_parallel()
166 + (rbytes + xbytes * tnfa->num_states) * 2 + tbytes + pbytes; in tre_tnfa_run_parallel()
183 tmp_buf += rbytes; in tre_tnfa_run_parallel()
186 tmp_buf += rbytes; in tre_tnfa_run_parallel()
/netbsd-src/external/bsd/libarchive/dist/libarchive_fe/
H A Dpassphrase.c86 DWORD mode, rbytes; in readpassphrase() local
111 success = ReadFile(hStdin, buf, (DWORD)bufsiz - 1, &rbytes, NULL); in readpassphrase()
115 buf[rbytes] = '\0'; in readpassphrase()
/netbsd-src/usr.bin/gzip/
H A Dgzip.c1420 ssize_t rbytes; in file_uncompress() local
1455 rbytes = read(fd, fourbytes, sizeof fourbytes); in file_uncompress()
1456 if (rbytes != sizeof fourbytes) { in file_uncompress()
1462 if (rbytes == -1) in file_uncompress()
1468 infile_newdata(rbytes); in file_uncompress()
1495 rbytes = pread(fd, name, sizeof(name) - 1, GZIP_ORIGNAME); in file_uncompress()
1496 if (rbytes < 0) { in file_uncompress()
1504 name[rbytes] = '\0'; in file_uncompress()
1521 file, (int) rbytes, nf); in file_uncompress()
/netbsd-src/usr.bin/systat/
H A Diostat.c268 rwords = cur.rbytes[dn] / 1024.0; in stats()
H A Dvmstat.c899 puthumanint_sticky((cur.rbytes[dn] + cur.wbytes[dn]) / dtime + 0.5, in dinfo()
/netbsd-src/sys/kern/
H A Dsubr_iostat.c451 sdrive.rbytes = stats->io_rbytes; in sysctl_hw_iostats()