STRUCT IIO_DMA_BUFFER_QUEUE_FILEIO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 two struct 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