Searched refs:read_view (Results 1 – 1 of 1) sorted by relevance
70 uint32_t read_view; in ring_buffer_can_write() local71 __atomic_load(&r->read_pos, &read_view, __ATOMIC_SEQ_CST); in ring_buffer_can_write()72 return get_ring_pos(read_view - r->write_pos - 1) >= bytes; in ring_buffer_can_write()243 uint32_t read_view; in ring_buffer_view_can_write() local244 __atomic_load(&r->read_pos, &read_view, __ATOMIC_SEQ_CST); in ring_buffer_view_can_write()246 v, read_view - r->write_pos - 1) >= bytes; in ring_buffer_view_can_write()