Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/android-emu/android/base/
Dring_buffer.c76 uint32_t write_view; in ring_buffer_can_read() local
77 __atomic_load(&r->write_pos, &write_view, __ATOMIC_SEQ_CST); in ring_buffer_can_read()
78 return get_ring_pos(write_view - r->read_pos) >= bytes; in ring_buffer_can_read()
253 uint32_t write_view; in ring_buffer_view_can_read() local
254 __atomic_load(&r->write_pos, &write_view, __ATOMIC_SEQ_CST); in ring_buffer_view_can_read()
256 v, write_view - r->read_pos) >= bytes; in ring_buffer_view_can_read()
262 uint32_t write_view; in ring_buffer_available_read() local
263 __atomic_load(&r->write_pos, &write_view, __ATOMIC_SEQ_CST); in ring_buffer_available_read()
266 v, write_view - r->read_pos); in ring_buffer_available_read()
268 return get_ring_pos(write_view - r->read_pos); in ring_buffer_available_read()