sci_remote_device_destruct(9)
β¨ NAME β¨
okay so bestie, welcome to the sci_remote_device_destruct(9) page from the Kernel API Manual π
. This one is all about free remote node context and destruct β like, the remote device gets its little goodbye moment.
π SYNOPSIS π
enum sci_status sci_remote_device_destruct (struct isci_remote_device
*idev );
π«Ά ARGUMENTS π«Ά
idevβ this parameter specifies the remote device to be destructed. that's the one we're saying bye to, no cap.
π₯ DESCRIPTION π₯
Remote device objects are a limited resource. As such, they must be protected. Because of that, calls to construct and destruct are mutually exclusive and non-reentrant β so no chaotic parallel grabbing, bestie. periodt.
The return value shall indicate if the device was successfully destructed or if some failure occurred. The return-value situation is giving:
enum sci_statusβ this value is returned if the device is successfully destructed. (the original page saysenum sci_statusright there, so we're keeping it exactly, iykyk)SCI_FAILURE_INVALID_REMOTE_DEVICEβ this value is returned if the supplied device isn't valid (e.g. it's already been destoryed, the handle isn't valid, etc.). yes, "destoryed" is the original spelling β the vibe is "already destroyed," but the letters are staying exactly as they are π
Lowkey important: construct and destruct are mutually exclusive and non-reentrant, so don't try to do the most and call them all willy-nilly. that's the whole warning, bestie.
π SEE ALSO π
- Kernel file
./drivers/scsi/isci/remote_device.c isci_remote_device_ready(9)isci_remote_device_not_ready(9)isci_remote_device_deconstruct(9)sci_remote_device_construct(9)sci_remote_device_start(9)isci_remote_device_alloc(9)isci_remote_device_stop(9)isci_remote_device_gone(9)isci_remote_device_found(9)
π that's the whole page, bestie β source/version: ./drivers/scsi/isci, date: October 2026. may your remote devices destruct cleanly and your handles stay valid. stay slay π
π¦ 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