SBUF_AUTOEXTEND
sb = sbuf_new(NULL, NULL, sizehint, SBUF_AUTOEXTEND);
SBUF_AUTOEXTEND | SBUF_INCLUDENUL);
if (sbuf_new(&sb, NULL, 128, SBUF_AUTOEXTEND) == NULL) {
sbuf_new(&sesname, NULL, 16, SBUF_AUTOEXTEND);
sbuf_new(&name, NULL, 16, SBUF_AUTOEXTEND);
sbuf_new(&out, NULL, 512, SBUF_AUTOEXTEND);
sb = sbuf_new(NULL, NULL, 20 + la.nlen * 5, SBUF_AUTOEXTEND);
NULL, NULL, size, SBUF_AUTOEXTEND);
if (sbuf_new(&sc->hpcmi_sbuf, NULL, 4096, SBUF_AUTOEXTEND)
if (sbuf_new(&sb, NULL, 128, SBUF_AUTOEXTEND) == NULL)
if (sbuf_new(&sc->wmistat_sbuf, NULL, 4096, SBUF_AUTOEXTEND)
sbuf_new(&sb, NULL, 32, SBUF_AUTOEXTEND);
if (sbuf_new(&sb, NULL, 128, SBUF_AUTOEXTEND) == NULL)
if (sbuf_new(&sb, NULL, 4096, SBUF_AUTOEXTEND) != &sb) {
if (sbuf_new(&sb, NULL, 4096, SBUF_AUTOEXTEND) != &sb) {
sbuf_new(&sb, NULL, 128, SBUF_AUTOEXTEND);
sbuf_new(&sb, NULL, 256, SBUF_AUTOEXTEND | SBUF_INCLUDENUL);
if (sbuf_new(&sb, NULL, 0, SBUF_AUTOEXTEND | SBUF_NOWAIT) == NULL)
if (sbuf_new(&sb, NULL, 0, SBUF_AUTOEXTEND | SBUF_NOWAIT) == NULL)
if (sbuf_new(&s, NULL, 1024, SBUF_NOWAIT | SBUF_AUTOEXTEND) == NULL) {
if (sbuf_new(&s, NULL, 1024, SBUF_NOWAIT | SBUF_AUTOEXTEND) == NULL) {
sbuf_new(&pf->sbuf, NULL, 4096, SBUF_AUTOEXTEND);
sbuf_new(&sb, NULL, 4096, SBUF_AUTOEXTEND);
sbuf_new(&sb, NULL, 1, SBUF_AUTOEXTEND);
sb = sbuf_new(NULL, NULL, *hint, SBUF_AUTOEXTEND |
sbuf = sbuf_new(NULL, NULL, 0, SBUF_AUTOEXTEND);
sb = sbuf_new(NULL, NULL, CNDEVPATHMAX * 2, SBUF_AUTOEXTEND |
sbuf_new(&sb, NULL, 128, SBUF_AUTOEXTEND);
sbuf_new(&sb, NULL, 128, SBUF_AUTOEXTEND);
sbuf_new(&sb, NULL, 256, SBUF_AUTOEXTEND | SBUF_INCLUDENUL);
s = sbuf_new(&sm, NULL, sb_len, maxlen == -1 ? SBUF_AUTOEXTEND :
sb_check = sbuf_new(&sb, NULL, 1024, SBUF_AUTOEXTEND);
sb_check = sbuf_new(&sb, NULL, 1024, SBUF_AUTOEXTEND);
sb = sbuf_new(NULL, NULL, 0, SBUF_AUTOEXTEND |
sb = sbuf_new(NULL, NULL, 0, SBUF_AUTOEXTEND |
sbuf_new(&sb, NULL, 32, SBUF_AUTOEXTEND);
KASSERT((flags & SBUF_AUTOEXTEND) || length >= SBUF_MINSIZE,
#define SBUF_CANEXTEND(s) ((s)->s_flags & SBUF_AUTOEXTEND)
sb = sbuf_new(NULL, NULL, badstack_sbuf_size, SBUF_AUTOEXTEND);
sbuf_new(&sb, NULL, 256, SBUF_AUTOEXTEND | SBUF_INCLUDENUL);
if ((s = sbuf_new(NULL, NULL, 200, SBUF_AUTOEXTEND)) == NULL)
sbuf_new(&sb, NULL, 0, SBUF_AUTOEXTEND);
sbuf_new(&subjlabel_sb, NULL, 0, SBUF_AUTOEXTEND);
sbuf_new(&subjtext_sb, NULL, 0, SBUF_AUTOEXTEND);
sbuf_new(&objlabel_sb, NULL, 0, SBUF_AUTOEXTEND);
sbuf_new(&sb, NULL, 128, SBUF_AUTOEXTEND);
sbuf_new(&sb, NULL, 128, SBUF_AUTOEXTEND);
sbuf_new(NULL, NULL, 0, SBUF_AUTOEXTEND)
sb = sbuf_new(&sbs, NULL, 0, SBUF_AUTOEXTEND);
if (mode == POLLED && sbuf_new(&sb, NULL, 512, SBUF_AUTOEXTEND) != NULL)
sbuf_new(&sb, NULL, 256, SBUF_AUTOEXTEND);
sbuf_new(&sb, NULL, 256, SBUF_AUTOEXTEND);
cmdbuf = sbuf_new(NULL, NULL, 1024, SBUF_AUTOEXTEND);