Lines Matching refs:buffer_sz
32 size_t buffer_sz; member
226 stream->buffer_sz = 0; in stream_clear()
236 free_pages_exact(stream->buffer, stream->buffer_sz); in stream_free()
440 size_t buffer_sz) in shbuf_setup_backstore() argument
444 stream->buffer = alloc_pages_exact(buffer_sz, GFP_KERNEL); in shbuf_setup_backstore()
448 stream->buffer_sz = buffer_sz; in shbuf_setup_backstore()
449 stream->num_pages = DIV_ROUND_UP(stream->buffer_sz, PAGE_SIZE); in shbuf_setup_backstore()
611 if (unlikely(pos + count > stream->buffer_sz)) in alsa_pb_copy_user()
626 if (unlikely(pos + count > stream->buffer_sz)) in alsa_pb_copy_kernel()
641 if (unlikely(pos + count > stream->buffer_sz)) in alsa_cap_copy_user()
659 if (unlikely(pos + count > stream->buffer_sz)) in alsa_cap_copy_kernel()
677 if (unlikely(pos + count > stream->buffer_sz)) in alsa_pb_fill_silence()