Searched refs:cur_size (Results 1 – 3 of 3) sorted by relevance
114 rb->cur_size = rb->wr; in esp_apptrace_rb_produce()117 if (rb->rd == rb->cur_size) { in esp_apptrace_rb_produce()119 if (rb->cur_size < rb->size) { in esp_apptrace_rb_produce()120 rb->cur_size = rb->size; in esp_apptrace_rb_produce()149 if (rb->rd + size > rb->cur_size) { in esp_apptrace_rb_consume()151 } else if (rb->rd + size == rb->cur_size) { in esp_apptrace_rb_consume()153 if (rb->cur_size < rb->size) { in esp_apptrace_rb_consume()154 rb->cur_size = rb->size; in esp_apptrace_rb_consume()172 size = rb->cur_size - rb->rd; in esp_apptrace_rb_read_size_get()
199 proto->rb_down.cur_size, size); in esp_apptrace_membufs_down_buffer_write_nolock()237 …alloc pend buf 1: w-r-s %d-%d-%d!", proto->rb_pend.wr, proto->rb_pend.rd, proto->rb_pend.cur_size); in esp_apptrace_membufs_wait4buf()248 …alloc pend buf 2: w-r-s %d-%d-%d!", proto->rb_pend.wr, proto->rb_pend.rd, proto->rb_pend.cur_size); in esp_apptrace_membufs_wait4buf()
102 volatile uint32_t cur_size; ///< current size of data storage member117 rb->size = rb->cur_size = size; in esp_apptrace_rb_init()