pm8001_bytes_dmaed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– pm8001_bytes_dmaed(9) β€” the kernel API tea β˜•βœ¨

okay so bestie, gather round, because this one is a function from the Kernel API Manual and it's literally the little messenger that tells libsas "hey girl, the party's happening, come look" πŸŽ€ No cap, it's giving ✨glue code✨ in the best way possible.


🌸 NAME 🌸

pm8001_bytes_dmaed β€” one of the interface function communication with libsas 🫢


✨ SYNOPSIS ✨

void pm8001_bytes_dmaed (struct pm8001_hba_info *pm8001_ha , int i );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • pm8001_ha β€” our hba card information πŸ’³ (yes, our card, we're emotionally attached now)
  • i β€” which phy that received the event πŸ‘€ like, specifically that phy, the one that got the event

πŸ’… DESCRIPTION πŸ’…

okay so here's the vibe check: when the HBA driver receives the identify done event, or the initiate FIS received event (that's the one for SATA, iykyk), it invokes this function to notify the sas layer that the sas topology has formed 😀 and it's like "please discover the whole sas domain, go off queen πŸ—ΊοΈβœ¨".

But wait β€” plot twist πŸŒ€ β€” when it receives a broadcast(change) primitive, it just tells the sas layer to discover the changed domain rather than the whole domain. Like, no need to redo the entire sweep, bestie, just the one part that changed. Efficiency slay πŸ’€πŸ”₯


🌈 SEE ALSO 🌈


and that's the whole page, bestie β€” go read the source, it's right there in ./drivers/scsi/pm8001 if you wanna see the main character in action πŸ’œ

shoutout to the October 2026 release for dropping this banger πŸ—“οΈβœ¨ mwah, sending you good vibes and clean builds πŸ«ΆπŸ’–

πŸ“¦ where this page comes from