diag_trigger_mpi_store(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… diag_trigger_mpi_store πŸ’…

okay bestie, welcome to the Kernel API Manual entry for diag_trigger_mpi_store(9) β€” yes that's a mouthful, yes it's iconic, and yes we're gonna get through it together 🫢


✨ NAME ✨

diag_trigger_mpi_store β€” literally the function that stores the diag_trigger_mpi attribute. that's the whole vibe. no notes. πŸ’…


🌸 SYNOPSIS 🌸

ssize_t diag_trigger_mpi_store (struct device *cdev , struct
       device_attribute *attr , const char *buf , size_t count );

like… look at that signature. four whole arguments. she's doing a lot but she's slaying it ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • cdev β€” pointer to embedded class device. that's the main character right there πŸ‘‘
  • attr β€” ?. and honestly? same. the manpage said "?" and we respect the mystery πŸ•΅οΈβ€β™€οΈ (ngl the source doesn't say, so we're not making anything up about it)
  • buf β€” the buffer returned. that's where the goods live πŸ“
  • count β€” ?. again, the manpage is being mysterious about it. we simply don't know and we're not gonna pretend we do πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

so what is she? she's a sysfs 'read/write' shost attribute. periodt. that's the description. that's all the manpage gives us and we are not about to start inventing lore πŸ’€

so basically: 'read/write', attribute, shost flavored. that's it. that's the entire description. short and serving 🌈


πŸ”₯ SEE ALSO πŸ”₯

okay this is the part where the manpage decides to list the ENTIRE friend group at once. we love a full roster. deep breath bestie, here we go 😭

Kernel file ./drivers/scsi/mpt3sas/mpt3sas_ctl.c and then β€” hold on β€” the whole crew:

and that's the whole squad, no cap. lowkey obsessed with how thorough that list is πŸ’œ

also!! don't forget her sibling diag_trigger_mpi_show(9) is in there β€” the show to this store, iykyk πŸ‘€

okay that's the whole page bestie, you ate that πŸ’…βœ¨ just so you know where this came from: it lives under ./drivers/scsi/mpt3sas and it's dated October 2026. mwah, go forth and store your attributes πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from