Searched refs:buffer_write (Results 1 – 2 of 2) sorted by relevance
36 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()58 if ( (logbuf.roll_over) && (logbuf.buffer_read < (logbuf.buffer_write) ) ) in whd_buffer_printf()[all …]
126 uint32_t buffer_write; member