Searched defs:nwrite (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Drandom.c113 ssize_t nwrite = 0, err; local
115 for (err = 0; left > 0 && nwrite != -1; marker += nwrite,
116 left -= nwrite) {
117 if ((nwrite = write(fd, marker, left)) < 0) {
119 nwrite = 0;
122 err = nwrite; /* hard error */
124 } else if (nwrite == 0) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_capture.c503 * Called if nwrite() encounters write problems.
521 nwrite(int fd, const void *buffer, size_t buflen) function
584 if (nwrite(capfile_out, snoop_id, snoop_idlen) == -1)
587 if (nwrite(capfile_out, &vers, sizeof (int)) == -1)
706 if (nwrite(capfile_out, &mac, sizeof (int)) == -1)
722 if (nwrite(capfile_out, &nhdr, sizeof (nhdr)) == -1)
725 if (nwrite(capfile_out, pktp, pktlen) == -1)
/illumos-gate/usr/src/grub/grub-0.97/grub/
H A Dasmstub.c860 nwrite (int fd, char *buf, size_t len) function
998 if (nwrite (fd, buf, nsec * SECTOR_SIZE) != nsec * SECTOR_SIZE)
1049 if (nwrite (serial_fd, &ch, 1) != 1)
/illumos-gate/usr/src/uts/common/os/
H A Ddumpsubr.c341 size_t nwrite; /* subtotal of bytes written */ member in struct:dumpsync
353 hrtime_t iotime; /* time spent writing nwrite bytes */
1320 dumpsync.nwrite += size;
2534 iorate = (ds->nwrite * 100000ULL) / ds->iotime;
2536 compress_ratio = 100LL * ds->npages / btopr(ds->nwrite + 1);
2573 P("..total bytes,%lld\n", (u_longlong_t)ds->nwrite);
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/sys/
H A Dvnode.h80 kstat_named_t nwrite; /* VOP_WRITE */ member in struct:vopstats
/illumos-gate/usr/src/uts/common/sys/
H A Dvnode.h79 kstat_named_t nwrite; /* VOP_WRITE */ member in struct:vopstats

Completed in 101 milliseconds