Lines Matching refs:size_to_copy
1311 size_t size_to_copy = size; in kpb_buffer_data() local
1339 while (size_to_copy) { in kpb_buffer_data()
1369 if (size_to_copy > space_avail) { in kpb_buffer_data()
1378 size_to_copy = size_to_copy - space_avail; in kpb_buffer_data()
1389 size_to_copy, sample_width); in kpb_buffer_data()
1391 buff->w_ptr = (char *)buff->w_ptr + size_to_copy; in kpb_buffer_data()
1393 size_to_copy = 0; in kpb_buffer_data()
1675 size_t size_to_copy; in kpb_draining_task() local
1728 size_to_copy = drain_req; in kpb_draining_task()
1730 size_to_copy = audio_stream_get_free_bytes(&sink->stream); in kpb_draining_task()
1733 size_to_copy = drain_req; in kpb_draining_task()
1735 size_to_copy = size_to_read; in kpb_draining_task()
1740 kpb_drain_samples(buff->r_ptr, &sink->stream, size_to_copy, in kpb_draining_task()
1743 buff->r_ptr = (char *)buff->r_ptr + (uint32_t)size_to_copy; in kpb_draining_task()
1744 drain_req -= size_to_copy; in kpb_draining_task()
1745 drained += size_to_copy; in kpb_draining_task()
1746 period_bytes += size_to_copy; in kpb_draining_task()
1748 kpb->hd.free, size_to_copy); in kpb_draining_task()
1756 if (size_to_copy) { in kpb_draining_task()
1757 comp_update_buffer_produce(sink, size_to_copy); in kpb_draining_task()