ibmvscsis_ready_for_suspend(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so welcome to the Kernel API Manual, bestie β€” this is the page for ibmvscsis_ready_for_suspend(9) πŸ’…

ibmvscsis_ready_for_suspend β€” helper function to call VIOCTL ✨


🌸 SYNOPSIS 🌸

the signature is literally this, no cap:

long ibmvscsis_ready_for_suspend (struct scsi_info *vscsi , bool idle );

πŸŽ€ ARGUMENTS πŸŽ€

  • vscsi β€” pointer to our adapter structure 🫢
  • idle β€” indicates whether we were called from adapter_idle. This is important to know if we need to do a disconnect, since if we’re called from adapter_idle, we’re still processing the current disconnect, so we can’t just call post_disconnect 😭

✨ DESCRIPTION ✨

this function is called when the adapter is idle when phyp has sent us a Prepare for Suspend Transport Event πŸ’«

⚑ EXECUTION ENVIRONMENT ⚑

Process or interrupt environment called with interrupt lock held πŸ”₯

bestie, that lock detail is not a vibe you can ignore β€” it’s literally part of the page πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c πŸ‘‘

and the whole friend group:


okay that’s the page, bestie 🫢 source: ./drivers/scsi/ibmvscsi_tgt Β· October 2026 Β· Kernel API Manual Β· ibmvscsis_ready_for_suspend(9) β€” bye! πŸ’–

πŸ“¦ where this page comes from