_scsih_pcie...ve_by_handle(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

ok so this page is from the Kernel API Manual, and bestie, we're talking about _scsih_pcie_device_remove_by_handle β€” which, yes, is a whole mouthful, but it literally just means removing a pcie device object by handle πŸ’… like that's the whole gig.

🌸 SYNOPSIS 🌸

void _scsih_pcie_device_remove_by_handle (struct MPT3SAS_ADAPTER *ioc ,
u16 handle );

like… it takes two things and returns nothing. void. no receipts, no return value, it just does the thing and dips 🫢

πŸŽ€ ARGUMENTS πŸŽ€

  • ioc β€” the per adapter object. yes per adapter, as in each adapter gets its own lil guy, and that's the one you're handing over πŸ’–
  • handle β€” device handle. the handle of the device. that's it, that's the whole description, slay for being concise πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

ok this is the part where the manpage goes absolutely feral and lists what feels like Every Single Symbol in mpt3sas_scsih.c β€” and ngl, we are NOT skipping a single one, because every single reference is iconic in its own way πŸ‘‘

First up, the file itself and its lil gang of types:

  • ./drivers/scsi/mpt3sas/mpt3sas_scsih.c
  • enum device_responsive_state(9)
  • struct sense_info(9)
  • struct fw_event_work(9)
  • struct _scsi_io_transfer(9)

The boot-device / address / debug girlies:

The "gimme the sdev" squad:

Add/remove energy, plus the getters that live nearby:

RAID device besties:

Expander + enclosure + "is this even an end device" crew:

SCSI lookup + queue depth + the target/sdev lifecycle girlies:

Task management era (abort and reset my beloved):

Firmware event squad:

Block/unblock nation (they contain the entire emotional range of IO flow):

Delayed-event / topology-check / volume-flag era:

Port + vphy refresh arc:

Command-sending / device-checking chapter:

The topology / status-change event cinematic universe:

Volumes, physical disks, and the IR event girlies:

Scan + reset + "who's still responding" saga:

Reset handlers, fw work, and shutdown crew:

Probe + scan lifecycle (main character energy fr):

Power management + module init/exit finale ✨:


and that's the whole list, no skips, no cuts, we ate and left zero crumbs πŸ“

ok bye bestie, this page is brought to you by the fine people over at ./drivers/scsi/mpt3sas, dated October 2026 β€” go forth and remove those pcie device objects by handle, you've got this πŸ’œπŸŽ€

πŸ“¦ where this page comes from