Lines Matching refs:pca
171 struct putchar_arg pca; in uprintf() local
197 pca.tty = p->p_session->s_ttyp; in uprintf()
200 if (pca.tty == NULL) { in uprintf()
204 pca.flags = TOTTY; in uprintf()
205 pca.p_bufr = NULL; in uprintf()
207 tty_lock(pca.tty); in uprintf()
209 retval = kvprintf(fmt, putchar, &pca, 10, ap); in uprintf()
210 tty_unlock(pca.tty); in uprintf()
234 struct putchar_arg pca; in vtprintf() local
254 pca.pri = pri; in vtprintf()
255 pca.tty = tp; in vtprintf()
256 pca.flags = flags; in vtprintf()
257 pca.p_bufr = NULL; in vtprintf()
258 if (pca.tty != NULL) in vtprintf()
259 tty_lock(pca.tty); in vtprintf()
261 kvprintf(fmt, putchar, &pca, 10, ap); in vtprintf()
262 if (pca.tty != NULL) in vtprintf()
263 tty_unlock(pca.tty); in vtprintf()
272 struct putchar_arg pca; in _vprintf() local
279 pca.tty = NULL; in _vprintf()
280 pca.pri = level; in _vprintf()
281 pca.flags = flags; in _vprintf()
283 pca.p_bufr = bufr; in _vprintf()
284 pca.p_next = pca.p_bufr; in _vprintf()
285 pca.n_bufr = sizeof(bufr); in _vprintf()
286 pca.remain = sizeof(bufr); in _vprintf()
287 *pca.p_next = '\0'; in _vprintf()
290 pca.p_bufr = NULL; in _vprintf()
293 retval = kvprintf(fmt, putchar, &pca, 10, ap); in _vprintf()
297 if (*pca.p_bufr != '\0') in _vprintf()
298 prf_putbuf(pca.p_bufr, flags, level); in _vprintf()