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 …]
2480 if (q->is_output && q->fileio && q->queued_count < q->num_buffers) in vb2_core_poll()2569 struct vb2_fileio_data *fileio; in __vb2_init_fileio() local2601 fileio = kzalloc(sizeof(*fileio), GFP_KERNEL); in __vb2_init_fileio()2602 if (fileio == NULL) in __vb2_init_fileio()2605 fileio->read_once = q->fileio_read_once; in __vb2_init_fileio()2606 fileio->write_immediately = q->fileio_write_immediately; in __vb2_init_fileio()2612 fileio->count = count; in __vb2_init_fileio()2613 fileio->memory = VB2_MEMORY_MMAP; in __vb2_init_fileio()2614 fileio->type = q->type; in __vb2_init_fileio()2615 q->fileio = fileio; in __vb2_init_fileio()[all …]
1149 if (vdev->queue->fileio) in vb2_fop_write()1173 if (vdev->queue->fileio) in vb2_fop_read()1188 void *fileio; in vb2_fop_poll() local1199 fileio = q->fileio; in vb2_fop_poll()1204 if (!fileio && q->fileio) in vb2_fop_poll()
117 struct iio_dma_buffer_queue_fileio fileio; member
624 struct vb2_fileio_data *fileio; member1115 return q->fileio; in vb2_fileio_is_active()