STRUCT UACCE_QUEUE(9)
π 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 touacce. 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, iykykqfrsβ pointer of qfr regions. pointer of qfr regions, and yes it's theUACCE_MAX_REGIONarray 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 byiommu_sva_bind_device. an iommu_sva handle returned byiommu_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
- 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