Lines Matching refs:block_size
379 int block_size = num_bytes - count;
383 if (block_size > buf_end)
384 block_size = buf_end;
388 block_size, async->munge_chan);
396 async->munge_chan += block_size / num_sample_bytes;
398 async->munge_count += block_size;
399 async->munge_ptr += block_size;
401 count += block_size;
564 unsigned int block_size;
567 block_size = async->prealloc_bufsz - write_ptr;
569 block_size = num_bytes;
571 memcpy(async->prealloc_buf + write_ptr, data, block_size);
573 data += block_size;
574 num_bytes -= block_size;
588 unsigned int block_size;
593 block_size = async->prealloc_bufsz - read_ptr;
595 block_size = nbytes;
597 memcpy(dest, src, block_size);
598 nbytes -= block_size;
599 dest += block_size;