hinfo_to_cinfo(9)
π NAME π
Okay bestie, meet hinfo_to_cinfo(9) from the Kernel API Manual β¨ β this little icon is literally here to convert new format hba info into old format. The way that this is just a converter is so straightforward and I love that for us π«Ά.
β¨ SYNOPSIS β¨
void hinfo_to_cinfo (mraid_hba_info_t *hinfo , mcontroller_t *cinfo );
Not me showing up with a void return and two pointer besties π β that's the exact signature, no cap π
.
π ARGUMENTS π
hinfoβ new format, more comprehensive adapter info. It's the glow-up version of the adapter info, and the synopsis says it's anmraid_hba_info_t *πΈ.cinfoβ old format adapter info, here specifically to supportmimd_tapps. It's giving "bridge the eras" main character energy π.
π SEE ALSO π
Lowkey the whole megaraid friend group is linked here, so let's do the roll call fr fr π:
- 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)ioctl_done(9)lld_timedout(9)kioc_to_mimd(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)
Okay that's the whole page, bestie π«Ά β source/version ./drivers/scsi/megaraid, dated October 2026, and the manual entry is hinfo_to_cinfo(9). Go forth and vibe check that conversion β¨π
π¦ 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