STRUCT IIO_DMABUF(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct iio_dmabuf(9) πŸ’–

okay so this page comes from the Kernel API Manual, and it's all about one little struct that describes a DMABUF object. Bestie, it's short but it matters πŸ’…


✨ NAME ✨

struct iio_dmabuf - Descriptor for a single IIO DMABUF object. Like, literally the descriptor for one IIO DMABUF object, no cap 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

       struct iio_dmabuf {
           __u32 fd;
           __u32 flags;
           __u64 bytes_used;
        };

πŸŽ€ Members πŸŽ€

  • fd β€” file descriptor of the DMABUF object πŸ”₯
  • flags β€” one or more IIO_BUFFER_DMABUF_* flags πŸŽ€
  • bytes_used β€” number of bytes used in this DMABUF for the data transfer. It should generally be set to the DMABUF's size. Yes, that's the move πŸ’…

πŸ‘€ SEE ALSO πŸ‘€

  • Kernel file ./include/uapi/linux/iio/buffer.h β€” go peek at it, bestie, it's the reference 🌸

xoxo πŸ’‹ β€” from ./include/uapi/linux/iio (source/version), dated October 2026, and yes, the page is struct iio_dmabuf(9) 🫢✨

πŸ“¦ where this page comes from