zfcp_unit_sdev(9)
π NAME π
okay so bestie, this is zfcp_unit_sdev(9) from the Kernel API Manual, and the whole vibe is: Return SCSI device for zfcp_unit. π
β¨ SYNOPSIS β¨
struct scsi_device * zfcp_unit_sdev (struct zfcp_unit *unit );
π¦ ARGUMENTS π¦
unitβ thezfcp_unitwhere to get the SCSI device for. π
πΈ RETURN πΈ
On success you get a scsi_device pointer, and NULL if there is no SCSI device for this zfcp_unit. Thatβs the whole return story, no cap. β¨
π DESCRIPTION π
On success, the caller also holds a reference to the SCSI device β and bestie, that reference must be released with scsi_device_put. Not optional, not a maybe, not a βlaterβ thing. π
friendly little callback: you got a reference, so you gotta put it back with scsi_device_put. π«Ά
π SEE ALSO π
Kernel file ./drivers/s390/scsi/zfcp_unit.c is the home base, and the whole squad is:
zfcp_unit_scsi_scan(9)zfcp_unit_queue_scsi_scan(9)zfcp_unit_find(9)zfcp_unit_release(9)zfcp_unit_add(9)zfcp_unit_sdev_status(9)zfcp_unit_remove(9)
okay thatβs the page, bestie π«Ά huge sparkle shoutout to the ./drivers/s390/scsi source/version and the October 2026 date β this has been zfcp_unit_sdev(9), and it ate. periodt β¨π
π¦ 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