MCPcopy Create free account
hub / github.com/F-Stack/f-stack / prf_putbuf

Function prf_putbuf

freebsd/kern/subr_prf.c:426–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424}
425
426static void
427prf_putbuf(char *bufr, int flags, int pri)
428{
429
430 if (flags & TOLOG)
431 msglogstr(bufr, pri, /*filter_cr*/1);
432
433 if (flags & TOCONS) {
434 if ((!KERNEL_PANICKED()) && (constty != NULL))
435 msgbuf_addstr(&consmsgbuf, -1,
436 bufr, /*filter_cr*/ 0);
437
438 if ((constty == NULL) ||(always_console_output))
439 cnputs(bufr);
440 }
441}
442
443static void
444putbuf(int c, struct putchar_arg *ap)

Callers 3

putbufFunction · 0.85
sbuf_putbufFunction · 0.85
sbuf_printf_drainFunction · 0.85

Calls 3

msglogstrFunction · 0.85
msgbuf_addstrFunction · 0.85
cnputsFunction · 0.85

Tested by

no test coverage detected