Lines Matching defs:wmistat_sbuf
74 struct sbuf wmistat_sbuf; /* sbuf for /dev/wmistat output */
315 sbuf_delete(&sc->wmistat_sbuf);
891 if (sbuf_new(&sc->wmistat_sbuf, NULL, 4096, SBUF_AUTOEXTEND)
925 sbuf_delete(&sc->wmistat_sbuf);
958 if (!sbuf_done(&sc->wmistat_sbuf)) {
959 sbuf_printf(&sc->wmistat_sbuf, "GUID "
964 sbuf_printf(&sc->wmistat_sbuf,
980 sbuf_printf(&sc->wmistat_sbuf,
985 sbuf_printf(&sc->wmistat_sbuf, "NO ");
986 sbuf_printf(&sc->wmistat_sbuf, "%-4s",
991 sbuf_printf(&sc->wmistat_sbuf,
997 sbuf_printf(&sc->wmistat_sbuf,
1002 sbuf_finish(&sc->wmistat_sbuf);
1004 if (sbuf_len(&sc->wmistat_sbuf) <= 0) {
1005 sbuf_delete(&sc->wmistat_sbuf);
1010 l = min(buf->uio_resid, sbuf_len(&sc->wmistat_sbuf) -
1012 ret = (l > 0)?uiomove(sbuf_data(&sc->wmistat_sbuf) +