Home
last modified time | relevance | path

Searched refs:read_view (Results 1 – 1 of 1) sorted by relevance

/device/generic/goldfish-opengl/android-emu/android/base/
Dring_buffer.c70 uint32_t read_view; in ring_buffer_can_write() local
71 __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() local
244 __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()