lpfc_idiag_extacc_avail_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

lpfc_idiag_extacc_avail_get β€” bestie, this is the one that grabs the available extents info for you ✨

So like, quick vibe check: this whole page lives in the Kernel API Manual, okurrr? Now let's get into it 🫢


🌸 SYNOPSIS 🌸

int lpfc_idiag_extacc_avail_get (struct lpfc_hba *phba , char *pbuffer ,
int len );

That's the whole signature, no cap. Three args, returns an int, slay πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • phba β€” pointer to the lpfc hba data structure. like, the whole adapter's lore lives in there πŸ‘‘
  • pbuffer β€” pointer to the internal buffer. that's where the data goes, bestie 🧺
  • len β€” the length into the internal buffer that data has been copied. so how much we already poured in πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so real talk: this routine is literally here to get the available extent information. That's the whole job. It's giving "small function, big purpose" energy ⭐ Not me being obsessed with a getter lmaooo but she ate πŸ’€


🌈 RETURN 🌈

It returns the overall length of the data read into the internal buffer. So yeah, len in, length out, iconic behavior honestly πŸŽ€βœ¨


πŸ’œ SEE ALSO πŸ’œ

The kernel file you wanna peek at:

./drivers/scsi/lpfc/lpfc_debugfs.c

And now, the friend group 😭 β€” every single one of these, no skipping, I promised:


ngl the SEE ALSO list is longer than the function itself and honestly? respect 😭 she's connected πŸ’…

✨ ok that's the whole page, mwah ✨ β€” this cutie lives over in ./drivers/scsi/lpfc, and the version/date tag on the original footer is October 2026 (same page name in the corner: lpfc_idiag_extacc_avail_get(9)). bye bestie, go read some extents πŸ¦‹πŸ’–

πŸ“¦ where this page comes from