Searched refs:write_pos (Results 1 – 3 of 3) sorted by relevance
/device/generic/goldfish-opengl/android-emu/android/base/ |
D | ring_buffer.c | 55 r->write_pos = 0; in ring_buffer_init() 72 return get_ring_pos(read_view - r->write_pos - 1) >= bytes; in ring_buffer_can_write() 77 __atomic_load(&r->write_pos, &write_view, __ATOMIC_SEQ_CST); in ring_buffer_can_read() 94 RING_BUFFER_SIZE - get_ring_pos(r->write_pos); in ring_buffer_write() 99 &r->buf[get_ring_pos(r->write_pos)], in ring_buffer_write() 103 &r->buf[get_ring_pos(r->write_pos + available_at_end)], in ring_buffer_write() 108 &r->buf[get_ring_pos(r->write_pos)], in ring_buffer_write() 113 __atomic_add_fetch(&r->write_pos, step_size, __ATOMIC_SEQ_CST); in ring_buffer_write() 169 __atomic_add_fetch(&r->write_pos, step_size, __ATOMIC_SEQ_CST); in ring_buffer_advance_write() 246 v, read_view - r->write_pos - 1) >= bytes; in ring_buffer_view_can_write() [all …]
|
D | ring_buffer.h | 32 uint32_t write_pos; // Atomically updated for the consumer member
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/sys/xt-shmem/board-hikey/ |
D | dsp_driver_mailbox.h | 145 unsigned int write_pos; member
|