aac_fib_alloc(9)
π aac_fib_alloc(9) β like, the kernel API manual, bestie π
okay so welcome to aac_fib_alloc, a page from the Kernel API Manual, and honestly? it's a short one but it's lowkey iconic. let's get into it π«Ά
β¨ NAME β¨
aac_fib_alloc β allocate a fib π
like yes, that's the whole name section, she's concise and she knows it.
πΈ SYNOPSIS πΈ
struct fib * aac_fib_alloc (struct aac_dev *dev );
that's it. that's the whole call. one argument, one return, no cap. β¨
π ARGUMENTS π
devβ the adapter you wanna allocate the fib for. literally just hand her the adapter and she'll do her thing. π
π¦ DESCRIPTION π¦
so here's the vibe: aac_fib_alloc allocates a fib from the adapter's fib pool. π§ that's the whole job, and she does it well.
but listen β if the pool is empty? we return NULL. no drama, no error code, just NULL. so like, always check your return value, bestie, fr fr π that's not me being extra, that's just the documented behaviour.
π SEE ALSO π
okay this is the part where the page goes full main-character-ensemble, because there are a lot of friends in this universe. all of these live in the kernel file ./drivers/scsi/aacraid/commsup.c:
fib_map_alloc(9)aac_fib_map_free(9)aac_fib_setup(9)aac_fib_alloc_tag(9)aac_fib_free(9)aac_fib_init(9)fib_dealloc(9)aac_get_entry(9)aac_queue_get(9)aac_fib_send(9)aac_consumer_get(9)aac_consumer_free(9)aac_fib_adapter_complete(9)aac_fib_complete(9)aac_printf(9)aac_handle_aif(9)aac_handle_sa_aif(9)aac_command_thread(9)
like, go read them, they're all linked, it's giving cinematic universe πβ
ngl the whole page is short but she ate. allocate responsibly, check for NULL, and go read the whole aacraid friend group. ππ
and that's a wrap, babe! π this lil page comes to you from ./drivers/scsi/aacraid, dated October 2026 β mwah, see you in the next manpage π
β¨πΈ
π¦ 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