Searched refs:buf_writable_bytes (Results 1 – 3 of 3) sorted by relevance
44 static inline unsigned int buf_writable_bytes(struct byte_buffer *buf) in buf_writable_bytes() function103 *writeable = buf_writable_bytes(buf); in buf_write_pointer_size()
67 frames_to_copy = MIN(buf_writable_bytes(sbuf) / frame_bytes, nframes); in sample_hook()135 frames_to_fill = MIN(buf_writable_bytes(sbuf) / frame_bytes, in frames_queued()
365 *frames = MIN(*frames, buf_writable_bytes(a2dpio->pcm_buf) / in get_buffer()384 if (written_bytes > buf_writable_bytes(a2dpio->pcm_buf)) in put_buffer()