Searched refs:LOGGING_BUFFER_SIZE (Results 1 – 2 of 2) sorted by relevance
25 #ifndef LOGGING_BUFFER_SIZE26 #error LOGGING_BUFFER_SIZE is not defined37 … (size_t)(LOGGING_BUFFER_SIZE - (logbuf.buffer_write) ) + 1, format, args); in whd_buffer_printf()39 if (potential_num_written > (int)(LOGGING_BUFFER_SIZE - (logbuf.buffer_write) ) ) in whd_buffer_printf()44 …memset(&(logbuf.buffer[logbuf.buffer_write]), 0xf, (size_t)(LOGGING_BUFFER_SIZE - (logbuf.buffer_w… in whd_buffer_printf()48 … (size_t)(LOGGING_BUFFER_SIZE - (logbuf.buffer_write) ) + 1, format, args); in whd_buffer_printf()51 logbuf.buffer_write %= LOGGING_BUFFER_SIZE; in whd_buffer_printf()71 if ( (logbuf.buffer_write) >= LOGGING_BUFFER_SIZE ) in whd_buffer_printf()73 logbuf.buffer_write %= LOGGING_BUFFER_SIZE; in whd_buffer_printf()103 logbuf.buffer_read = (logbuf.buffer_read + 1) % LOGGING_BUFFER_SIZE; in whd_print_logbuffer()[all …]
121 #define LOGGING_BUFFER_SIZE (4 * 1024) macro128 char buffer[LOGGING_BUFFER_SIZE + 1];