STRUCT UACCE_QUEUE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this is struct uacce_queue(9), and it comes from the Kernel API Manual, bestie. We're folding that manual name in right here so the header line can stay un-copied, periodt. πŸ’…

struct uacce_queue β€” (the source leaves the description after the dash blank, and I am not gonna invent one, no cap).


✨ SYNOPSIS ✨

Here's the exact struct, copied character-for-character, no vibes-based renaming, fr fr:

       struct uacce_queue {
           struct uacce_device *uacce;
           void *priv;
           wait_queue_head_t wait;
           struct list_head list;
           struct uacce_qfile_region *qfrs[UACCE_MAX_REGION];
           struct mutex mutex;
           enum uacce_q_state state;
           u32 pasid;
           struct iommu_sva *handle;
           struct address_space *mapping;
        };

πŸŽ€ Members πŸŽ€

  • uacce β€” pointer to uacce. literally just a pointer to it, bestie 🫢
  • priv β€” private pointer. your lil private pointer moment πŸ™ˆ
  • wait β€” wait queue head. the wait queue head is here, slay ✨
  • list β€” index into uacce queues list. it's an index into the uacce queues list, iykyk
  • qfrs β€” pointer of qfr regions. pointer of qfr regions, and yes it's the UACCE_MAX_REGION array situation from up top πŸ‘€
  • mutex β€” protects queue state. this mutex protects queue state, periodt πŸ”₯
  • state β€” queue state machine. queue state machine energy πŸ’…
  • pasid β€” pasid associated to the mm. pasid associated to the mm, exactly that πŸ¦‹
  • handle β€” iommu_sva handle returned by iommu_sva_bind_device. an iommu_sva handle returned by iommu_sva_bind_device πŸŽ€
  • mapping β€” user space mapping of the queue. user space mapping of the queue, iconic 🌸

πŸ”₯ SEE ALSO πŸ”₯

Go read these too, bestie:

  • Kernel file ./include/linux/uacce.h
  • struct uacce_qfile_region(9)
  • struct uacce_ops(9)
  • struct uacce_interface(9)
  • struct uacce_device(9)

okay bye bestie β€” this page's source/version is ./include/linux, it's dated October 2026, and the main character is struct uacce_queue(9). πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from