Lines Matching full:bytes_used
72 * Prior to this it must set the bytes_used field of the block contains
76 * either case it is expected that bytes_used is a multiple of the bytes per
82 * before the block transfer was started. In this case it should set bytes_used
260 * stopped. This will set bytes_used to 0 for each block in the list and then
275 block->bytes_used = 0; in iio_dma_buffer_block_list_abort()
399 * block->bytes_used may have been modified previously, e.g. by in iio_dma_buffer_request_update()
403 block->bytes_used = block->size; in iio_dma_buffer_request_update()
597 if (n > block->bytes_used - queue->fileio.pos) in iio_dma_buffer_io()
598 n = block->bytes_used - queue->fileio.pos; in iio_dma_buffer_io()
612 if (queue->fileio.pos == block->bytes_used) { in iio_dma_buffer_io()
775 block->bytes_used = size; in iio_dma_buffer_enqueue_dmabuf()