Searched refs:s_buf (Results 1 – 2 of 2) sorted by relevance
108 KASSERT(s->s_buf != NULL, in _assert_sbuf_integrity()176 memcpy(newbuf, s->s_buf, s->s_size); in sbuf_extend()178 SBFREE(s->s_buf); in sbuf_extend()181 s->s_buf = newbuf; in sbuf_extend()198 s->s_buf = buf; in sbuf_newbuf()206 if (s->s_buf != NULL) in sbuf_newbuf()212 s->s_buf = SBMALLOC(s->s_size); in sbuf_newbuf()213 if (s->s_buf == NULL) in sbuf_newbuf()266 *error = uiomove(s->s_buf, uio->uio_resid, uio);368 len = s->s_drain_func(s->s_drain_arg, s->s_buf, s->s_len); in sbuf_drain()[all …]
43 char *s_buf; /* storage buffer */ member