ioctl_done(9)
π ioctl_done β the Kernel API Manual moment π
okay so bestie, we're in the Kernel API Manual today and the star of the show is ioctl_done(9). Buckle up, it's a short one but it's iconic. β¨
β¨ NAME β¨
ioctl_done β the callback from the low level driver π«Ά
Like, the whole vibe is: the low-level driver calls back to say "hey, I'm done". That's it. That's the function. π
πΈ SYNOPSIS πΈ
void ioctl_done (uioc_t *kioc );
Look at that signature. void return, one pointer argument, no drama. Lowkey the cleanest little prototype you've ever seen. π
π¦ ARGUMENTS π¦
kiocβ the completed ioctl packet π
fr fr, that's the whole thing β kioc is a uioc_t * and it's the completed ioctl packet. Not a pending one, not a half-done one. Completed. She's done her job and she's serving. π
π SEE ALSO π
okay this is the part where the manpage goes full main-character and name-drops the entire megaraid friend group π and you know I'm listing every single one, no cap:
- the Kernel file
./drivers/scsi/megaraid/megaraid_mm.cπ mraid_mm_open(9)mraid_mm_ioctl(9)mraid_mm_get_adapter(9)handle_drvrcmd(9)mimd_to_kioc(9)mraid_mm_attach_buf(9)mraid_mm_alloc_kioc(9)mraid_mm_dealloc_kioc(9)lld_ioctl(9)lld_timedout(9)kioc_to_mimd(9)hinfo_to_cinfo(9)mraid_mm_register_adp(9)mraid_mm_adapter_app_handle(9)mraid_mm_setup_dma_pools(9)mraid_mm_unregister_adp(9)mraid_mm_free_adp_resources(9)mraid_mm_teardown_dma_pools(9)mraid_mm_init(9)mraid_mm_exit(9)
the way that list just keeps going β it's giving "squad roll call" π«Ά every one of them gets a mention, we don't do favourites here. π
ngl bestie, this page is short but she's perfect. Read the SEE ALSO list, meet the whole crew, and go be a callback. π
that's the whole read, babe π hope it ate π
β sourced from ./drivers/scsi/megaraid, dated October 2026, and yes, the page itself is called ioctl_done(9). mwah πβ
π¦ 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