STRUCT MRAID_PCI_BLK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so bestie, welcome to the Kernel API Manual ✨ β€” today's main character is struct mraid_pci_blk, and honestly? she's giving "small but essential." no cap. πŸŽ€


🌸 NAME 🌸

struct mraid_pci_blk β€” a structure that holds DMA memory block info, and yes that's literally her whole job πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

struct mraid_pci_blk {
    caddr_t vaddr;
    dma_addr_t dma_addr;
};

look at her. two members. zero drama. periodt. πŸ‘‘


πŸŽ€ Members πŸŽ€

  • vaddr β€” the virtual address pointing at a memory block 🫢
  • dma_addr β€” the DMA handle to that memory block ✨

πŸ’œ Description πŸ’œ

okay so here's the tea: this structure gets filled up for the caller β€” like, you don't fill it in yourself, someone else does it for you, which is lowkey icon behavior 🧚

but here's the part where you gotta pay attention, bestie, because it's literally the responsibilty of the caller to allocate this array big enough to store addresses for all the requested elements 😭

fr fr do not skimp on the array size. if you under-allocate, that's on you, not on her. πŸ’€

⭐ SEE ALSO ⭐


and that's the whole vibe check, bestie πŸ’– this page came to you courtesy of ./drivers/scsi/megaraid, dated October 2026, and it's filed under struct mraid_pci_blk(9) in the Kernel API Manual β€” slay, go read some more man pages, ily πŸ«ΆπŸŒˆπŸ’…

πŸ“¦ where this page comes from