mpt3sas_con...t_number_pds(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ mpt3sas_config_get_number_pds πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this page is literally the whole vibe check for mpt3sas_config_get_number_pds, and i promise it's not as scary as the name looks 🫢


🌸 NAME 🌸

mpt3sas_config_get_number_pds β€” obtain number of phys disk assigned to volume ✨

like, you give it a volume, it tells you how many physical disks are linked to it. that's the whole gig. no cap πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

int mpt3sas_config_get_number_pds (struct MPT3SAS_ADAPTER *ioc , u16
handle , u8 *num_pds );

so yeah. three args, returns an int, iconic behaviour πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ioc β€” per adapter object πŸ’œ this is your adapter baddie, the main character.
  • handle β€” volume handle 🌈 the specific volume we're asking about.
  • num_pds β€” returns pds count ✨ note the "returns" β€” this one's the output, it gets filled in for you, iykyk.

😴 CONTEXT 😴

sleep.

periodt. it's a sleepy girl πŸ’€ β€” call it in a context where sleeping is allowed, fr fr.


πŸ”₯ RETURN πŸ”₯

0 for success, non-zero for failure. that's it, that's the tea πŸ“


πŸ‘‘ SEE ALSO πŸ‘‘

okay this list is LONG, so buckle up bestie β€” every single one, in order, no skipping πŸ™ˆ

go read those, bestie, they're all eating πŸ’…


ngl the section list on this page stops at SEE ALSO β€” there's no OPTIONS, no EXAMPLES, no BUGS, no AUTHOR block hiding at the bottom. that's the whole menu, no crumbs left πŸ“

and that's the page!! mwah πŸ’‹ this little number lives in ./drivers/scsi/mpt3sas and it's dated October 2026 β€” so yeah, she's from the future, main character energy only πŸ‘‘βœ¨πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from