Searched refs:tslog_buf (Results 1 – 2 of 2) sorted by relevance
/freebsd/stand/libsa/ |
H A D | tslog.c | 38 static char * tslog_buf = NULL; variable 64 tslog_buf = (char *)buf; in tslog_setbuf() 73 *buf = (void *)tslog_buf; in tslog_getbuf() 89 if (tslog_buf == NULL) in tslog() 98 strcpy(&tslog_buf[tslog_bufpos], "0x0 "); in tslog() 100 tslog_bufpos += tsccat(&tslog_buf[tslog_bufpos], tsc); in tslog() 101 strcpy(&tslog_buf[tslog_bufpos], " "); in tslog() 103 strcpy(&tslog_buf[tslog_bufpos], type); in tslog() 105 strcpy(&tslog_buf[tslog_bufpos], " "); in tslog() 107 strcpy(&tslog_buf[tslog_bufpos], f); in tslog() [all …]
|
/freebsd/stand/common/ |
H A D | tslog.c | 41 void * tslog_buf; in tslog_init() local 44 if ((tslog_buf = malloc(LOADER_TSLOGSIZE)) == NULL) in tslog_init() 46 tslog_setbuf(tslog_buf, LOADER_TSLOGSIZE); in tslog_init() 63 void * tslog_buf; in tslog_publish() local 70 tslog_getbuf(&tslog_buf, &tslog_bufpos); in tslog_publish() 73 if (tslog_buf == NULL) in tslog_publish() 77 return (file_addbuf("TSLOG", "TSLOG data", tslog_bufpos, tslog_buf)); in tslog_publish()
|