ipr_store_adapter_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

ipr_store_adapter_state β€” Change adapter state. That's the whole name, bestie, and yes this is the ipr_store_adapter_state(9) page from the Kernel API Manual πŸ’–


πŸ’– SYNOPSIS πŸ’–

okay so the signature is literally right here, no cap:

ssize_t ipr_store_adapter_state (struct device *dev , struct
       device_attribute *attr , const char *buf , size_t count );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” device struct. The device struct in question, slay.
  • attr β€” device attribute (unused). The page says unused, so we're not gonna pretend it does anything πŸ’€
  • buf β€” buffer. Yep, a buffer.
  • count β€” buffer size. The size of that buffer, periodt.

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so the whole vibe of this function is: it will change the adapter's state. That's it. That's the main character energy of this page ✨

Return value: count on success / other on failure. So success gives you count, and failure gives you other β€” that's literally what the page says, no extra lore 🫢


πŸ’… SEE ALSO πŸ’…

Kernel file ./drivers/scsi/ipr.c is the home base for this whole friend group, and here's the full roster in order β€” nobody gets left behind πŸ‘‘


okay that's the whole page, bestie 🫢 source/version: ./drivers/scsi ✨ date: October 2026 ✨ page: ipr_store_adapter_state(9) β€” byeeee πŸ’–

πŸ“¦ where this page comes from