Searched refs:wbytes (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_logio.c | 67 ssize_t wbytes; in logio_write() local 70 wbytes = IOP_WRITE(io->io_next, buf, nbytes); in logio_write() 72 if (wbytes > 0) in logio_write() 73 (void) IOP_WRITE(logio, buf, wbytes); in logio_write() 75 return (wbytes); in logio_write()
|
/illumos-gate/usr/src/cmd/lp/lib/msgs/ |
H A D | write_fifo.c | 58 int wbytes = 0; local 86 if ((wbytes = write(fifo, buf, size)) > 0) 87 if (wbytes != size) 90 return(wbytes);
|
/illumos-gate/usr/src/cmd/vtfontcvt/ |
H A D | vtfontcvt.c | 52 static unsigned int width = 8, wbytes, height = 16; variable 275 hash = fnv_32_buf(bytes, wbytes * height, FNV1_32_INIT) % FONTCVT_NHASH; in add_glyph() 277 if (memcmp(gl->g_data, bytes, wbytes * height) == 0) { in add_glyph() 284 gl->g_data = xmalloc(wbytes * height); in add_glyph() 285 memcpy(gl->g_data, bytes, wbytes * height); in add_glyph() 365 if (wbytes == 1) { in parse_bitmap_line() 367 } else if (wbytes == 2) { in parse_bitmap_line() 371 errx(1, "Unsupported wbytes %u!", wbytes); in parse_bitmap_line() 384 uint8_t bytes[wbytes * height], bytes_r[wbytes * height]; in parse_bdf() 403 if (parse_bitmap_line(bytes + i * wbytes, in parse_bdf() [all …]
|
/illumos-gate/usr/src/cmd/ndmpstat/ |
H A D | ndmpstat_main.c | 180 long wbytes; in dostats() 206 wbytes = (DELTA(rtape) + DELTA(wdisk)) / 2; in dostats() 208 wbytes /= blksize; in dostats() 211 adjprintf(" %*lu", 4, wbytes); in dostats() 214 adjprintf(" %*lu", 2, wbytes / poll_interval); in dostats() 181 long wbytes; dostats() local
|
/illumos-gate/usr/src/lib/libzpool/common/ |
H A D | util.c | 58 char rops[6], wops[6], rbytes[6], wbytes[6], rerr[6], werr[6], cerr[6]; in show_vdev_stats() local 96 nicenum(vs->vs_bytes[ZIO_TYPE_WRITE] / sec, wbytes, in show_vdev_stats() 97 sizeof (wbytes)); in show_vdev_stats() 109 rops, wops, rbytes, wbytes, rerr, werr, cerr); in show_vdev_stats()
|
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_dump.c | 962 size_t bytes, wbytes; in cpr_write() local 988 wbytes = dbtob(cpr_file_bn + cpr_buf_blocks); in cpr_write() 990 if (wbytes > cpr_dev_space) in cpr_write() 993 if (wbytes > VTOI(vp)->i_size) in cpr_write()
|
/illumos-gate/usr/src/cmd/lofiadm/ |
H A D | main.c | 1501 ssize_t rbytes, wbytes, lastread; in lofi_compress() local 1665 wbytes = write(tfd, compressed_seg, len_compressed + SEGHDR); in lofi_compress() 1666 if (wbytes != (len_compressed + SEGHDR)) { in lofi_compress() 1672 offset += wbytes; in lofi_compress() 1736 rbytes = wbytes = 0; in lofi_compress()
|