Lines Matching refs:avail
2428 int avail = sizeof(value) - cursor; in stream_get_parameter_rates() local
2429 ret = snprintf(value + cursor, avail, "%s%d", in stream_get_parameter_rates()
2432 if (ret < 0 || ret >= avail) { in stream_get_parameter_rates()
2644 unsigned int avail; in out_write() local
2646 ret = compress_get_hpointer(out->compr, &avail, &tstamp); in out_write()
2649 avail = bytes; in out_write()
2651 if (avail == 0) { in out_write()
2654 if (avail > bytes) { in out_write()
2655 avail = bytes; in out_write()
2657 ret = compress_write(out->compr, buffer, avail); in out_write()
2659 __func__, avail, ret); in out_write()
2806 unsigned int avail; in out_get_presentation_position() local
2807 if (pcm_get_htimestamp(out->pcm, &avail, timestamp) == 0) { in out_get_presentation_position()
2809 int64_t signed_frames = out->written - kernel_buffer_size + avail; in out_get_presentation_position()
3436 unsigned int avail; in in_get_capture_position() local
3437 if (pcm_get_htimestamp(in->pcm, &avail, ×tamp) == 0) { in in_get_capture_position()
3438 *frames = in->frames_read + avail; in in_get_capture_position()