lpfc_els_hbq_alloc(9)
π lpfc_els_hbq_alloc(9) β the kernel API manual, bestie edition π
Okay so you're out here in <cyan>lpfc_els_hbq_alloc(9)</cyan> territory, the kernel API manual zone, and honestly? This one's a little cutie. Let's get into it. π
β¨ NAME β¨
lpfc_els_hbq_alloc β Allocate an HBQ buffer π¦
πΈ SYNOPSIS πΈ
struct hbq_dmabuf * lpfc_els_hbq_alloc (struct lpfc_hba *phba );
π ARGUMENTS π
phbaβ the HBA you're allocating that HBQ buffer for, periodt.
π§ DESCRIPTION π§
So what it does is: it allocates a DMA-mapped HBQ buffer out of the lpfc_hrb_pool PCI pool, okay? And along with it, you also get a non-DMA-mapped container for that buffer. Two-for-one situation, we love to see it. β¨
π₯ NOTES π₯
Not interrupt-safe. π¨ Must be called with no locks held. Like, zero locks. None. Don't try it.
π RETURN π
Pointer to HBQ on success, NULL on failure. That's the whole vibe check. π
π SEE ALSO π
Kernel file ./drivers/scsi/lpfc/lpfc_mem.c, plus the whole friend group:
lpfc_mem_alloc(9)lpfc_mem_free(9)lpfc_mem_free_all(9)lpfc_mbuf_alloc(9)__lpfc_mbuf_free(9)lpfc_mbuf_free(9)lpfc_nvmet_buf_alloc(9)lpfc_nvmet_buf_free(9)lpfc_els_hbq_free(9)lpfc_sli4_rb_alloc(9)lpfc_sli4_rb_free(9)lpfc_sli4_nvmet_alloc(9)lpfc_sli4_nvmet_free(9)lpfc_in_buf_free(9)lpfc_rq_buf_free(9)
Okay bestie, that's the whole page β go forth and allocate responsibly! π«Άπ
This has been the ./drivers/scsi/lpfc era, October 2026, lpfc_els_hbq_alloc(9) β mwah, talk later! πβπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms