_scsih_inter...device_block(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… _scsih_internal_device_block(9)

okay so bestie, welcome to the Kernel API Manual, section 9 β€” yes we're in the kernel docs now, put your hair up πŸŽ€ today's main character is _scsih_internal_device_block.


🌸 NAME 🌸

_scsih_internal_device_block β€” block the sdev device. like, that's literally it, that's the whole job πŸ’…


✨ SYNOPSIS ✨

void _scsih_internal_device_block (struct scsi_device *sdev , struct
       MPT3SAS_DEVICE *sas_device_priv_data );

no return value, she just does the thing and leaves πŸ”₯


πŸ¦‹ ARGUMENTS πŸ¦‹

  • sdev β€” per device object 🫢 the actual scsi device we're messing with.
  • sas_device_priv_data β€” per device driver private data πŸ’œ the driver's lil private stash for this device.

πŸ’– DESCRIPTION πŸ’–

so the whole vibe here is: make sure the device is blocked without error. that's the assignment, no cap.

and if it doesn't work? then print an error 😭 that's it. that's the entire function. she blocks, she checks, she complains if it goes wrong. iconic honestly ⭐


🌈 SEE ALSO 🌈

Kernel file ./drivers/scsi/mpt3sas/mpt3sas_scsih.c β€” and like, an entire friend group of related things, gather round 🧚:


that's the whole squad, every single one of them, no skips no cuts 🫢 go read them if you're feeling brave, iykyk πŸ’€

lowkey this list is giving "tag yourself, i'm _scsih_ir_fastpath" 😭

laterz bestie πŸ’– this page came from ./drivers/scsi/mpt3sas and it's dated October 2026 β€” slay, go block some devices βœ¨πŸ‘‘

πŸ“¦ where this page comes from