pm8001_alloc_dev(9)
β¨ pm8001_alloc_dev(9) β¨
okay bestie, welcome to the Kernel API Manual entry for pm8001_alloc_dev(9) β yes the title is literally the same as the function, that's just how manpages do, iconic behaviour ngl π
π NAME π
pm8001_alloc_dev β find a empty pm8001_device β¨
like. it goes and finds you an empty one. that's the whole vibe check.
πΈ SYNOPSIS πΈ
struct pm8001_device * pm8001_alloc_dev (struct pm8001_hba_info
*pm8001_ha );
no cap, that's it. one function, one argument, returns a struct pm8001_device *. short and slay π«Ά
π¦ ARGUMENTS π¦
pm8001_haβ our hba card information π like, the whole card's info gets passed in so it knows which hba we're talking about. it's giving "context, but make it a struct".
β SEE ALSO β
okay so this is the part where the manpage just. lists everybody. and honestly? the friend group is huge. here's the full squad, no one left out π
Kernel file ./drivers/scsi/pm8001/pm8001_sas.c
pm8001_find_tag(9)pm8001_tag_free(9)pm8001_tag_alloc(9)pm8001_mem_alloc(9)pm8001_find_ha_by_dev(9)pm8001_phy_control(9)pm8001_scan_start(9)pm8001_task_prep_smp(9)pm8001_task_prep_ata(9)pm8001_task_prep_internal_abort(9)pm8001_task_prep_ssp_tm(9)pm8001_task_prep_ssp(9)pm8001_queue_command(9)pm8001_ccb_task_free(9)pm8001_find_dev(9)pm8001_dev_found_notify(9)pm8001_dev_gone_notify(9)pm8001_I_T_nexus_reset(9)
like I said. the whole group chat. all of them. iykyk π
lowkey a reminder bestie: every one of those names is written exactly how the manpage wrote it β don't go "fixing" the capitals in pm8001_I_T_nexus_reset, that's just her name π
and that's the page!! π written under ./drivers/scsi/pm8001, dated October 2026, and published as pm8001_alloc_dev(9) β mwah, go find your empty device bestie, slay πβ¨
π¦ 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