Lines Matching refs:avail
3225 int avail = sizeof(value) - cursor; in stream_get_parameter_rates() local
3226 ret = snprintf(value + cursor, avail, "%s%d", in stream_get_parameter_rates()
3229 if (ret < 0 || ret >= avail) { in stream_get_parameter_rates()
3481 unsigned int avail; in out_write() local
3483 ret = compress_get_hpointer(out->compr, &avail, &tstamp); in out_write()
3486 avail = bytes; in out_write()
3488 if (avail == 0) { in out_write()
3493 if (!was_in_standby && avail == out->kernel_buffer_size) { in out_write()
3498 if (avail > bytes) { in out_write()
3499 avail = bytes; in out_write()
3501 ret = compress_write(out->compr, buffer, avail); in out_write()
3503 __func__, avail, ret); in out_write()
3747 unsigned int avail; in out_get_presentation_position() local
3748 if (pcm_get_htimestamp(out->pcm, &avail, timestamp) == 0) { in out_get_presentation_position()
3754 if (avail > out->kernel_buffer_size) { in out_get_presentation_position()
3756 __func__, avail, out->kernel_buffer_size); in out_get_presentation_position()
3757 avail = out->kernel_buffer_size; in out_get_presentation_position()
3760 out->last_fifo_frames_remaining = out->kernel_buffer_size - avail; in out_get_presentation_position()
3768 __func__, (long long)signed_frames, avail, out->kernel_buffer_size); in out_get_presentation_position()
4490 unsigned int avail; in in_get_capture_position() local
4491 if (pcm_get_htimestamp(in->pcm, &avail, ×tamp) == 0) { in in_get_capture_position()
4492 *frames = in->frames_read + avail; in in_get_capture_position()