Lines Matching defs:cpout
382 cbuf_t *cpin, *cpout, *cperr; /* cbuf objects in process */
1979 if (hp->cpout == NULL) {
1981 hp->cpout = CQ_GET(freebufq);
1983 ps->avail_out = hp->cpout->size - CSIZE;
1984 ps->next_out = hp->cpout->buf + CSIZE;
2002 csize = hp->cpout->size - CSIZE - ps->avail_out;
2005 (void) memcpy(hp->cpout->buf, &cs, CSIZE);
2006 dumpsys_swrite(hp, hp->cpout, csize + CSIZE);
2007 hp->cpout = NULL;
2030 if (hp->cpout != NULL) {
2031 hp->cpout->used = 0;
2032 CQ_PUT(mainq, hp->cpout, CBUF_ERRMSG);
2033 hp->cpout = NULL;
2048 hp->cpout = NULL;
2073 ASSERT(hp->cpin == NULL && hp->cpout == NULL && hp->cperr == NULL);
2084 * hp->cpout is the buffer we are flushing or filling
2097 if (size == 0 && hp->cpout == NULL)
2100 /* If flush, or cpout is full, write it out */
2102 hp->cpout != NULL && hp->out + osize > hp->cpout->size) {
2106 (void) memcpy(hp->cpout->buf, &cs, CSIZE);
2109 dumpsys_swrite(hp, hp->cpout, hp->out);
2112 hp->cpout = NULL;
2120 if (hp->cpout == NULL) {
2122 hp->cpout = CQ_GET(freebufq);
2130 (void) memcpy(hp->cpout->buf + hp->out, &cs, CSIZE);
2135 (void) memcpy(hp->cpout->buf + hp->out, buf, size);
2150 hp->cpout = NULL;
2184 ASSERT(hp->cpin == NULL && hp->cpout == NULL && hp->cperr == NULL);