sata_pmp_same_pmp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sata_pmp_same_pmp(9)

okay so bestie, welcome to the Kernel API Manual β€” this one's a little function from the kernel's SATA port-multiplier corner and honestly? it's giving "tiny but iconic" ✨


πŸŽ€ NAME πŸŽ€

sata_pmp_same_pmp β€” does new GSCR matches the configured PMP? like, is this the same PMP or not, iykyk


πŸ¦‹ SYNOPSIS πŸ¦‹

int sata_pmp_same_pmp (struct ata_device *dev , const u32 *new_gscr );

🌸 ARGUMENTS 🌸

  • dev β€” the PMP device we're comparing against 🫢 that's our main character right there
  • new_gscr β€” the GSCR block of the new device, aka the fresh vibe we're checking against

πŸ’– DESCRIPTION πŸ’–

So the whole plot: we take new_gscr, compare it against dev, and figure out whether dev is the PMP described by new_gscr. that's it. that's the function. no cap πŸ’…

LOCKING: None. nope, zero, nada β€” no locking happening here πŸ™ˆ

⭐ RETURN ⭐

1 if dev matches new_gscr, 0 otherwise. literally just a yes-or-no situation, very binary of it tbh πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/ata/libata-pmp.c β€” and here's the whole friend group, all of them linked up 🧚:


that's the whole page bestie, mwah πŸ’‹ the ./drivers/ata girlies from October 2026 said periodt, and this came straight out of the Kernel API Manual β€” go forth and compare your PMPs responsibly πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from