lpfc_get_hba_info(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… lpfc_get_hba_info(9) πŸ’…

okay bestie, this is the Kernel API Manual page for lpfc_get_hba_info(9), and we're giving it main character energy while keeping every fact exactly where it belongs. 🫢✨


🌸 NAME 🌸

lpfc_get_hba_info β€” Return various bits of informaton about the adapter

(yes, β€œinformaton” is literally how it's spelled here β€” not me, I'm just the messenger πŸ’€)


πŸ¦‹ SYNOPSIS πŸ¦‹

int lpfc_get_hba_info (struct lpfc_hba *phba , uint32_t *mxri , uint32_t *axri , uint32_t *mrpi , uint32_t *arpi , uint32_t *mvpi , uint32_t *avpi );

πŸŽ€ ARGUMENTS πŸŽ€

  • phba β€” pointer to the adapter structure.
  • mxri β€” max xri count.
  • axri β€” available xri count.
  • mrpi β€” max rpi count.
  • arpi β€” available rpi count.
  • mvpi β€” max vpi count.
  • avpi β€” available vpi count.

✨ DESCRIPTION ✨

the whole vibe is honestly so simple: if an integer pointer for an count is not null then the value for the count is returned. that's the description, bestie β€” no cap, that's it. πŸ’–


πŸ”₯ RETURN πŸ”₯

zero on error one for success β€” yes, zero is error and one is success here. not me side-eyeing the counterintuitive one, but that's literally what it says. πŸ’€βœ¨


πŸ”Ž SEE ALSO πŸ”Ž

the full squad, no cuts, no edits, all references present and accounted for:


xoxo, your kernel bestie πŸ’– β€” source/version: ./drivers/scsi/lpfc β€’ date: October 2026 β€’ page: lpfc_get_hba_info(9) πŸŽ€

πŸ“¦ where this page comes from