Lines Matching full:serror
88 if (sbuf_done(req->serror)) { in gctl_error()
100 if (sbuf_len(req->serror) > 0) in gctl_error()
101 sbuf_cat(req->serror, "\n\t"); in gctl_error()
103 sbuf_vprintf(req->serror, fmt, ap); in gctl_error()
131 if (sbuf_done(req->serror)) { in gctl_msg()
140 if (sbuf_len(req->serror) > 0) in gctl_msg()
141 sbuf_cat(req->serror, "\n\t"); in gctl_msg()
143 sbuf_vprintf(req->serror, fmt, ap); in gctl_msg()
154 if (sbuf_done(req->serror)) { in gctl_post_messages()
160 sbuf_finish(req->serror); in gctl_post_messages()
163 sbuf_data(req->serror)); in gctl_post_messages()
277 sbuf_delete(req->serror); in gctl_free()
300 if (sbuf_len(req->serror) > 0) in gctl_dump()
301 printf(" error:\t\"%s\"\n", sbuf_data(req->serror)); in gctl_dump()
597 req->serror = sbuf_new_auto(); in g_ctl_ioctl_ctl()
618 if (sbuf_done(req->serror)) { in g_ctl_ioctl_ctl()
619 nerror = copyout(sbuf_data(req->serror), req->error, in g_ctl_ioctl_ctl()
620 imin(req->lerror, sbuf_len(req->serror) + 1)); in g_ctl_ioctl_ctl()