megaraid_mbo...epare_epthru(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… megaraid_mbox_prepare_epthru(9) β€” Kernel API Manual ✨

okay so bestie, welcome to the kernel API manual for megaraid_mbox_prepare_epthru(9), no cap 🫢 this is the one that gets your commands ready for the physical devices.


🌸 NAME 🌸

megaraid_mbox_prepare_epthru β€” literally the function that prepares a command for physical devices πŸ’…


✨ SYNOPSIS ✨

void megaraid_mbox_prepare_epthru (adapter_t *adapter , scb_t *scb ,
       struct scsi_cmnd *scp );

like, three args, void return, she's tidy πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • adapter β€” pointer to the controller's soft state πŸ‘‘ you know, the adapter's whole vibe.
  • scb β€” the scsi control block πŸ’–
  • scp β€” the scsi command from the mid-layer 🧚 straight from the mid-layer, as one does.

πŸ’œ DESCRIPTION πŸ’œ

so what does she actually do? Prepare a command for the scsi physical devices πŸ”₯ That's the whole assignment. This routine prepares commands for devices which can take extended CDBs (>10 bytes) β€” yes, >10 bytes, highkey iconic of them.

ngl if you're dealing with extended CDBs, this is the function you want. She's built for exactly that πŸ’…

🌈 SEE ALSO 🌈

the friend group is huge, ok. First up, the kernel file ./drivers/scsi/megaraid/megaraid_mbox.c πŸ“ and then all these besties:

megaraid_init(9), megaraid_exit(9), megaraid_probe_one(9), megaraid_detach_one(9), megaraid_mbox_shutdown(9), megaraid_io_attach(9), megaraid_io_detach(9), megaraid_init_mbox(9), megaraid_fini_mbox(9), megaraid_alloc_cmd_packets(9), megaraid_free_cmd_packets(9), megaraid_mbox_setup_dma_pools(9), megaraid_mbox_teardown_dma_pools(9), megaraid_alloc_scb(9), megaraid_dealloc_scb(9), megaraid_mbox_mksgl(9), mbox_post_cmd(9), megaraid_queue_command_lck(9), megaraid_mbox_build_cmd(9), megaraid_mbox_runpendq(9), megaraid_mbox_prepare_pthru(9) β€” hi twin πŸ’– β€” megaraid_ack_sequence(9), megaraid_isr(9), megaraid_mbox_dpc(9), megaraid_abort_handler(9), megaraid_reset_handler(9), mbox_post_sync_cmd(9), mbox_post_sync_cmd_fast(9), megaraid_busywait_mbox(9), megaraid_mbox_product_info(9), megaraid_mbox_extended_cdb(9), megaraid_mbox_support_ha(9), megaraid_mbox_support_random_del(9), megaraid_mbox_get_max_sg(9), megaraid_mbox_enum_raid_scsi(9), megaraid_mbox_flush_cache(9), megaraid_mbox_fire_sync_cmd(9), megaraid_mbox_display_scb(9), megaraid_mbox_setup_device_map(9), megaraid_cmm_register(9), megaraid_cmm_unregister(9), megaraid_mbox_mm_handler(9), megaraid_mbox_mm_command(9), megaraid_mbox_mm_done(9), gather_hbainfo(9), megaraid_sysfs_alloc_resources(9), megaraid_sysfs_free_resources(9), megaraid_sysfs_get_ldmap_done(9), megaraid_sysfs_get_ldmap_timeout(9), megaraid_sysfs_get_ldmap(9), megaraid_mbox_app_hndl_show(9), megaraid_mbox_ld_show(9).

periodt. that's the whole roster πŸ˜­πŸ’€ every single one, we don't skip anyone in this house.


okay that's the page!! mwah πŸ’‹ this manual lives under ./drivers/scsi/megaraid and it's dated October 2026 β€” so like, see you in the future bestie, slay πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from