Searched refs:candidate_step (Results 1 – 1 of 1) sorted by relevance
/device/generic/goldfish-opengl/android-emu/android/base/ |
D | ring_buffer.c | 494 uint32_t candidate_step = get_step_size(r, v, bytes); in ring_buffer_write_fully_with_abort() local 500 if (bytes - processed < candidate_step) { in ring_buffer_write_fully_with_abort() 501 candidate_step = bytes - processed; in ring_buffer_write_fully_with_abort() 505 ring_buffer_wait_write(r, v, candidate_step, (uint64_t)(-1)); in ring_buffer_write_fully_with_abort() 508 processed_here = ring_buffer_view_write(r, v, dst + processed, candidate_step, 1); in ring_buffer_write_fully_with_abort() 510 processed_here = ring_buffer_write(r, dst + processed, candidate_step, 1); in ring_buffer_write_fully_with_abort() 513 processed += processed_here ? candidate_step : 0; in ring_buffer_write_fully_with_abort() 531 uint32_t candidate_step = get_step_size(r, v, bytes); in ring_buffer_read_fully_with_abort() local 538 if (bytes - processed < candidate_step) { in ring_buffer_read_fully_with_abort() 539 candidate_step = bytes - processed; in ring_buffer_read_fully_with_abort() [all …]
|