Searched refs:logbuf (Results 1 – 1 of 1) sorted by relevance
28 whd_logging_t logbuf; variable36 potential_num_written = vsnprintf (&(logbuf.buffer[logbuf.buffer_write]), in whd_buffer_printf()37 … (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()46 logbuf.buffer_write = 0; in whd_buffer_printf()47 potential_num_written = vsnprintf (&(logbuf.buffer[logbuf.buffer_write]), in whd_buffer_printf()48 … (size_t)(LOGGING_BUFFER_SIZE - (logbuf.buffer_write) ) + 1, format, args); in whd_buffer_printf()50 logbuf.buffer_write += (unsigned)potential_num_written; in whd_buffer_printf()51 logbuf.buffer_write %= LOGGING_BUFFER_SIZE; in whd_buffer_printf()[all …]