__lpfc_sli_get_iocbq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __lpfc_sli_get_iocbq(9) πŸ’…

okay so this page is straight out of the Kernel API Manual, and it’s giving β€œsmall function, huge friend group” energy. buckle up, bestie 🫢

πŸ’– NAME πŸ’–

__lpfc_sli_get_iocbq β€” literally allocates an iocb object from iocb pool. that’s the whole flex. no cap ✨

✨ SYNOPSIS ✨

struct lpfc_iocbq * __lpfc_sli_get_iocbq (struct lpfc_hba *phba );

copy that exactly, bestie β€” spaces and all πŸ’…

πŸŽ€ ARGUMENTS πŸŽ€

  • phba β€” a pointer to HBA context object. that’s it. that’s the whole argument. iconic.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so real talk: this function is called with hbalock held. do not forget the lock, bestie β€” that’s the vibe check πŸ”’

it allocates a new driver iocb object from the iocb pool. if the allocation is successful, it returns a pointer to the newly allocated iocb object; otherwise it returns NULL. so like, either you get your cute new object or you get NULL and you move on. periodt πŸ’…

🌈 SEE ALSO 🌈

okay this is where the friend group gets absolutely huge. the kernel file ./drivers/scsi/lpfc/lpfc_sli.c is in the mix, and so are all of these icons β€” every single one, fr fr:


okay bye bestie 🫢 this cute little page lives under ./drivers/scsi/lpfc, it’s dated October 2026, and yes β€” it’s still the __lpfc_sli_get_iocbq(9) show. mwah πŸ’‹

πŸ“¦ where this page comes from