STRUCT VMD_IRQ_LIST(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct vmd_irq_list(9) ✨

okay so bestie, gather round, because today we're looking at struct vmd_irq_list from the kernel API manual πŸŽ€ β€” yes it's a kernel page, no it's not scary, i promise. it's literally just a lil struct that holds the list of driver-requested IRQs that get mapped to one VMD vector. that's the whole vibe. πŸ’…


🌸 NAME 🌸

struct vmd_irq_list β€” the list of driver requested IRQs mapping to a VMD vector πŸ¦‹


✨ SYNOPSIS ✨

struct vmd_irq_list {
    struct list_head        irq_list;
    struct srcu_struct      srcu;
    unsigned int            count;
    unsigned int            virq;
 };

like, look at her. four fields. main character energy, no cap πŸ‘‘


πŸ’– Members πŸ’–

  • irq_list β€” the list of irq's the VMD one demuxes to. that's it, that's the list 🫢
  • srcu β€” the SRCU struct for local synchronization. keeping things chill and in order locally, ngl πŸ”₯
  • count β€” number of child IRQs assigned to this vector; used to track sharing. so when multiple kiddos share the same vector, this is the counter keeping score πŸ“Š
  • virq β€” The underlying VMD Linux interrupt number. the real one underneath it all πŸ’€

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/pci/controller/vmd.c
  • struct vmd_irq(9)

πŸ’‘ friendly reminder: every field above is exact β€” irq_list, srcu, count, virq β€” don't go renaming things, bestie, the kernel will NOT be slaying if you do 😭

and that's the page!! mwah πŸ’‹ this was brought to you by ./drivers/pci/controller, the October 2026 era, and the one and only struct vmd_irq_list(9) β€” stan her, she's iconic πŸŒŸπŸ“πŸ§šπŸ’œ

πŸ“¦ where this page comes from