Lines Matching refs:scratch
177 static int _logger_thread_parse_ise(logentry *e, char *scratch) { in _logger_thread_parse_ise() argument
191 total = snprintf(scratch, LOGGER_PARSE_SCRATCH, in _logger_thread_parse_ise()
198 static int _logger_thread_parse_ige(logentry *e, char *scratch) { in _logger_thread_parse_ige() argument
206 total = snprintf(scratch, LOGGER_PARSE_SCRATCH, in _logger_thread_parse_ige()
213 static int _logger_thread_parse_ee(logentry *e, char *scratch) { in _logger_thread_parse_ee() argument
218 total = snprintf(scratch, LOGGER_PARSE_SCRATCH, in _logger_thread_parse_ee()
229 char *scratch, int *scratch_len) { in logger_thread_parse_entry() argument
234 total = snprintf(scratch, LOGGER_PARSE_SCRATCH, "ts=%d.%d gid=%llu %s\n", in logger_thread_parse_entry()
239 total = _logger_thread_parse_ee(e, scratch); in logger_thread_parse_entry()
242 total = _logger_thread_parse_ige(e, scratch); in logger_thread_parse_entry()
245 total = _logger_thread_parse_ise(e, scratch); in logger_thread_parse_entry()
262 char *scratch, int scratch_len) { in logger_thread_write_entry() argument
301 bipbuf_offer(w->buf, (unsigned char *) scratch, scratch_len); in logger_thread_write_entry()
328 char scratch[LOGGER_PARSE_SCRATCH]; in logger_thread_read() local
344 ret = logger_thread_parse_entry(e, ls, scratch, &scratch_len); in logger_thread_read()
349 logger_thread_write_entry(e, ls, scratch, scratch_len); in logger_thread_read()