Home
last modified time | relevance | path

Searched refs:wbytes (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dwrite_fifo.c58 int wbytes = 0; local
86 if ((wbytes = write(fifo, buf, size)) > 0)
87 if (wbytes != size)
90 return(wbytes);
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_logio.c67 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/vtfontcvt/
H A Dvtfontcvt.c284 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()
426 wbytes = howmany(width, 8); in set_width()
453 bytes = xmalloc(wbytes * height); in parse_hex()
454 bytes_r = xmalloc(wbytes * height); in parse_hex()
576 if ((i % wbytes) == 0) { in write_glyph_source()
[all …]
/illumos-gate/usr/src/cmd/ndmpstat/
H A Dndmpstat_main.c181 long wbytes; in dostats() local
207 wbytes = (DELTA(rtape) + DELTA(wdisk)) / 2; in dostats()
209 wbytes /= blksize; in dostats()
212 adjprintf(" %*lu", 4, wbytes); in dostats()
215 adjprintf(" %*lu", 2, wbytes / poll_interval); in dostats()
/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
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 Dcpr_dump.c962 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 Dmain.c1501 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()