csio_shost_init(9)
π csio_shost_init(9) π
hey bestie, welcome to the Kernel API Manual β this oneβs all about csio_shost_init, and itβs lowkey iconic. letβs get into it π«Ά
β¨ NAME β¨
csio_shost_init β create and initialize the lnode module. periodt π
π¦ SYNOPSIS π¦
struct csio_lnode * csio_shost_init (struct csio_hw *hw , struct device
*dev , bool probe , struct csio_lnode *pln );
π ARGUMENTS π
hwβ the HW module. thatβs the hardware main character right there.devβ the device associated with this invocation. very βthis is your momentβ energy.probeβ whether itβs called from probe context or not? yes, thatβs literally the question.plnβ parent lnode if any. parent vibes, but optional.
πΈ DESCRIPTION πΈ
okay so csio_shost_init is doing the absolute most and honestly? slay. it allocates the lnode structure via scsi_host_alloc, initializes shost, initializes the lnode module, and registers with SCSI ML via scsi_host_add. π
and the best part? this function is shared between physical and virtual node ports. main character energy for both, no cap. β¨
π SEE ALSO π
- Kernel file
./drivers/scsi/csiostor/csio_init.c csio_shost_exit(9)
mwah π β source/version lives at ./drivers/scsi/csiostor, and this page is dated October 2026. go off, bestie π¦
π¦ 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