Searched refs:available_at_end (Results 1 – 2 of 2) sorted by relevance
93 uint32_t available_at_end = in ring_buffer_write() local96 if (step_size > available_at_end) { in ring_buffer_write()97 uint32_t remaining = step_size - available_at_end; in ring_buffer_write()101 available_at_end); in ring_buffer_write()103 &r->buf[get_ring_pos(r->write_pos + available_at_end)], in ring_buffer_write()104 data_bytes + i * step_size + available_at_end, in ring_buffer_write()132 uint32_t available_at_end = in ring_buffer_read() local135 if (step_size > available_at_end) { in ring_buffer_read()136 uint32_t remaining = step_size - available_at_end; in ring_buffer_read()140 available_at_end); in ring_buffer_read()[all …]
79 uint32_t available_at_end = in ring_buffer_write() local82 if (step_size > available_at_end) { in ring_buffer_write()83 uint32_t remaining = step_size - available_at_end; in ring_buffer_write()87 available_at_end); in ring_buffer_write()89 &r->buf[get_ring_pos(r->write_pos + available_at_end)], in ring_buffer_write()90 data_bytes + i * step_size + available_at_end, in ring_buffer_write()118 uint32_t available_at_end = in ring_buffer_read() local121 if (step_size > available_at_end) { in ring_buffer_read()122 uint32_t remaining = step_size - available_at_end; in ring_buffer_read()126 available_at_end); in ring_buffer_read()[all …]