Searched refs:fileio (Results 1 – 5 of 5) sorted by relevance
300 if (PAGE_ALIGN(queue->fileio.block_size) == PAGE_ALIGN(size)) in iio_dma_buffer_request_update()303 queue->fileio.block_size = size; in iio_dma_buffer_request_update()304 queue->fileio.active_block = NULL; in iio_dma_buffer_request_update()307 for (i = 0; i < ARRAY_SIZE(queue->fileio.blocks); i++) { in iio_dma_buffer_request_update()308 block = queue->fileio.blocks[i]; in iio_dma_buffer_request_update()325 for (i = 0; i < ARRAY_SIZE(queue->fileio.blocks); i++) { in iio_dma_buffer_request_update()326 if (queue->fileio.blocks[i]) { in iio_dma_buffer_request_update()327 block = queue->fileio.blocks[i]; in iio_dma_buffer_request_update()345 queue->fileio.blocks[i] = block; in iio_dma_buffer_request_update()493 if (!queue->fileio.active_block) { in iio_dma_buffer_read()[all …]
2538 if (q->is_output && q->fileio && q->queued_count < q->num_buffers) in vb2_core_poll()2627 struct vb2_fileio_data *fileio; in __vb2_init_fileio() local2659 fileio = kzalloc(sizeof(*fileio), GFP_KERNEL); in __vb2_init_fileio()2660 if (fileio == NULL) in __vb2_init_fileio()2663 fileio->read_once = q->fileio_read_once; in __vb2_init_fileio()2664 fileio->write_immediately = q->fileio_write_immediately; in __vb2_init_fileio()2670 fileio->count = count; in __vb2_init_fileio()2671 fileio->memory = VB2_MEMORY_MMAP; in __vb2_init_fileio()2672 fileio->type = q->type; in __vb2_init_fileio()2673 q->fileio = fileio; in __vb2_init_fileio()[all …]
1152 if (vdev->queue->fileio) in vb2_fop_write()1177 if (!vdev->queue->fileio) in vb2_fop_read()1192 void *fileio; in vb2_fop_poll() local1203 fileio = q->fileio; in vb2_fop_poll()1208 if (!fileio && q->fileio) in vb2_fop_poll()
112 struct iio_dma_buffer_queue_fileio fileio; member
643 struct vb2_fileio_data *fileio; member1139 return q->fileio; in vb2_fileio_is_active()