| /src/usr.sbin/dumplfs/ |
| misc.c | 55 int rbytes; local 59 if ((rbytes = read(fd, p, len)) < 0) 61 if (rbytes != len) 62 errx(1, "%s: short read (%d, not %lu)", special, rbytes,
|
| /src/sys/sys/ |
| tape.h | 54 uint64_t rbytes; member in struct:tape_sysctl 69 uint64_t rbytes; /* total bytes read */ member in struct:tape
|
| iostat.h | 66 u_int64_t rbytes; member in struct:io_sysctl
|
| /src/usr.bin/vmstat/ |
| drvstats.h | 46 u_int64_t *rbytes; /* # of bytes read. */ member in struct:_drive
|
| drvstats.c | 115 last.rbytes[i] = cur.rbytes[i]; 129 SWAP(rbytes[i]); 215 COPYF(rbytes, i, j); 347 cur.rbytes = calloc(ndrive, sizeof(u_int64_t)); 358 last.rbytes = calloc(ndrive, sizeof(u_int64_t)); 367 cur.seek == NULL || cur.rbytes == NULL || 373 last.seek == NULL || last.rbytes == NULL ||
|
| vmstat.c | 616 bytes = cur.rbytes[j] + cur.wbytes[j];
|
| /src/lib/libisns/ |
| isns_thread.c | 130 ssize_t rbytes; local 137 rbytes = read(cfg_p->pipe_fds[0], &cmd_type, 139 if (rbytes < 0) { 145 pipe_nbytes -= (int)rbytes; 153 rbytes = read(cfg_p->pipe_fds[0], &trans_id, 155 if (rbytes < 0) 158 else if (rbytes != sizeof(trans_id)) 163 pipe_nbytes -= (int)rbytes;
|
| /src/libexec/httpd/ |
| cgi-bozo.c | 119 ssize_t rbytes; local 186 while ((rbytes = read(in, buf, sizeof buf)) > 0) { 189 while (rbytes) { 191 (size_t)rbytes); 193 rbytes -= wbytes; 383 ssize_t rbytes; local 655 while ((rbytes = bozo_read(httpd, STDIN_FILENO, buf, sizeof buf)) > 0) { 658 while (rbytes) { 659 wbytes = write(sv[0], buf, (size_t)rbytes); 661 rbytes -= wbytes [all...] |
| /src/usr.sbin/iostat/ |
| iostat.c | 606 cur.rbytes[dn] == 0 && 621 mbps = ((cur.rbytes[dn] + cur.wbytes[dn]) / 634 mbps = (cur.rbytes[dn] + cur.wbytes[dn]) / 670 cur.rbytes[dn] == 0 && 687 (cur.rbytes[dn] + cur.wbytes[dn]) / 712 if (cur.rbytes[dn] == 0 && cur.rxfer[dn] == 0 && 723 kbps = (cur.rbytes[dn] / 1024.0) / cur.rxfer[dn]; 740 cur.rbytes[dn] / (1024.0 * 1024) / dtime); 821 if (cur.rbytes[dn] == 0 && cur.rxfer[dn] == 0 && 839 drive_statsy_io(dtime, cur.rxfer[dn], cur.rbytes[dn]) [all...] |
| /src/usr.bin/gzip/ |
| gzip.c | 1422 ssize_t rbytes; local 1457 rbytes = read(fd, fourbytes, sizeof fourbytes); 1458 if (rbytes != sizeof fourbytes) { 1464 if (rbytes == -1) 1470 infile_newdata(rbytes); 1497 rbytes = pread(fd, name, sizeof(name) - 1, GZIP_ORIGNAME); 1498 if (rbytes < 0) { 1506 name[rbytes] = '\0'; 1523 file, (int) rbytes, nf);
|
| /src/usr.bin/systat/ |
| iostat.c | 268 rwords = cur.rbytes[dn] / 1024.0;
|
| vmstat.c | 899 puthumanint_sticky((cur.rbytes[dn] + cur.wbytes[dn]) / dtime + 0.5,
|
| /src/sys/kern/ |
| subr_iostat.c | 454 sdrive.rbytes = stats->io_rbytes;
|