STRUCT IIO_DMA_BUFFER_QUEUE_FILEIO(9)
π NAME π
struct iio_dma_buffer_queue_fileio β the FileIO state for the DMA buffer, bestie. This is the Kernel API Manual entry for struct iio_dma_buffer_queue_fileio(9), and it's giving βtiny struct, very specific jobβ energy. π«Ά
πΈ SYNOPSIS πΈ
struct iio_dma_buffer_queue_fileio {
struct iio_dma_buffer_block *blocks[2];
struct iio_dma_buffer_block *active_block;
size_t pos;
size_t block_size;
unsigned int next_dequeue;
bool enabled;
};
π Members π
blocksβ Buffer blocks used for fileio. It's literally an array of twostruct iio_dma_buffer_block *pointers, no cap. π§active_blockβ The block being used in read. She's the main character of the read path rn. πposβ Read offset in the active block. Like a little bookmark for where the read is at. πblock_sizeβ Size of each block. Gotta know the block math, bestie. πnext_dequeueβ Index of the next block that will be dequeued. The queue's next-up energy. βenabledβ Whether the buffer is operating in fileio mode. It's the on/off vibe check for fileio mode. π
π₯ SEE ALSO π₯
- Kernel file
./include/linux/iio/buffer-dma.h enum iio_block_state(9)struct iio_dma_buffer_block(9)struct iio_dma_buffer_queue(9)struct iio_dma_buffer_ops(9)
Okurrr, thatβs the whole page, bestie β signed off from source ./include/linux/iio, dated October 2026. Catch you in the kernel, mwah πβ¨π¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms