__orc_alloc_scb(9)
π __orc_alloc_scb(9) β Kernel API Manual, bestie edition πΈ
okay so real talk, this whole page lives in the Kernel API Manual and honestly? it's a short one. but short β skip-able, so grab your iced coffee and let's go β¨
β¨ NAME β¨
__orc_alloc_scb β allocate an SCB π
like, that's it. that's the whole job. it allocates an SCB. no cap.
π¦ SYNOPSIS π¦
struct orc_scb * __orc_alloc_scb (struct orc_host * host );
πΈ ARGUMENTS πΈ
hostβ the host you're allocating from, i.e. the whole vibe source for this SCB π«Ά
π DESCRIPTION π
So what this does is: it allocates an SCB and hands you back a pointer to that SCB object. iconic behavior tbh π
But heads up β if there is no SCB free, you get NULL back. not an error, not a warning, just NULL. so check it, bestie π
β οΈ huge one: the caller must already hold the allocator lock at this point. like, not "should", not "probably" β must. this function is not out here doing its own locking, iykyk. come correct or don't come at all π
π§ SEE ALSO π§
the whole friend group, fr fr β starting with the kernel file ./drivers/scsi/a100u2w.c and then all these icons:
orc_exec_scb(9)se2_rd_all(9)se2_update_all(9)read_eeprom(9)orc_load_firmware(9)init_alloc_map(9)init_orchid(9)orc_reset_scsi_bus(9)orc_device_reset(9)orc_alloc_scb(9)orc_release_scb(9)orc_interrupt(9)inia100_build_scb(9)inia100_queue_lck(9)inia100_scb_handler(9)inia100_intr(9)
π sign-off π
that's the page!! source/location is ./drivers/scsi and the date on this beauty is October 2026 β go forth, hold that allocator lock, and 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