sci_controller_stop(9)
β¨ sci_controller_stop(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's called sci_controller_stop(9) and it's lowkey the "everybody stop what you're doing" button for a single controller. let's get into it π«Ά
πΈ NAME πΈ
sci_controller_stop β this method will stop an individual controller object. it will invoke the associated user callback upon completion π
the completion callback is called when the following conditions are met:
- the method return status is
SCI_SUCCESS. - the controller has been quiesced.
this method will ensure that all IO requests are quiesced, phys are stopped, and all additional operation by the hardware is halted. like, full shutdown energy π
β¨ SYNOPSIS β¨
enum sci_status sci_controller_stop (struct isci_host *ihost , u32 timeout );
π ARGUMENTS π
ihostβ the handle to the controller object to stop. this is your main character, the one getting stopped πtimeoutβ this parameter specifies the number of milliseconds in which the stop operation should complete. clock's ticking, babes β³
π¦ DESCRIPTION π¦
the controller must be in the STARTED or STOPPED state. no other vibes allowed, iykyk.
this tells you whether the controller stop method succeeded or failed in some way:
SCI_SUCCESSβ if the stop operation successfully began. slay, we're in motion β¨SCI_WARNING_ALREADY_IN_STATEβ if the controller is already in theSTOPPEDstate. bestie it's already done, you can chill πSCI_FAILURE_INVALID_STATEβ if the controller is not either in theSTARTEDorSTOPPEDstates. nope, wrong state, not today π
π SEE ALSO π
kernel file ./drivers/scsi/isci/host.c and also the whole friend group:
isci_host_start_complete(9)sci_controller_get_suggested_start_timeout(9)sci_controller_start_next_phy(9)isci_host_completion_routine(9)sci_controller_reset(9)isci_host_deinit(9)sci_controller_set_interrupt_coalescence(9)isci_host_init(9)sci_controller_allocate_remote_node_context(9)sci_controller_complete_io(9)sci_controller_start_task(9)
okay that's the whole page, no cap π this icon lives in ./drivers/scsi/isci, dated October 2026, and answers to the name sci_controller_stop(9) β go forth and stop responsibly, mwah πππ₯
π¦ 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