Searched refs:s_drain_func (Results 1 – 2 of 2) sorted by relevance
352 KASSERT(func == s->s_drain_func || s->s_len == 0, in sbuf_set_drain()354 s->s_drain_func = func; in sbuf_set_drain()368 len = s->s_drain_func(s->s_drain_arg, s->s_buf, s->s_len); in sbuf_drain()411 if (s->s_drain_func != NULL) in sbuf_put_bytes()461 KASSERT(s->s_drain_func == NULL, in sbuf_bcopyin()521 KASSERT(s->s_drain_func == NULL,638 if (s->s_drain_func != NULL && s->s_len > 0) in sbuf_vprintf()708 KASSERT(s->s_drain_func == NULL, in sbuf_trim()746 if (s->s_drain_func != NULL) { in sbuf_finish()771 KASSERT(s->s_drain_func == NULL, in sbuf_data()[all …]
44 sbuf_drain_func *s_drain_func; /* drain function */ member