iscsi_bsg_host_add(9)
π iscsi_bsg_host_add(9) β a Kernel API Manual moment
okay so bestie, welcome to the Kernel API Manual page for iscsi_bsg_host_add(9) and honestly? it's giving "small function, big job" β¨
π NAME π
iscsi_bsg_host_add β literally the function that creates and adds the bsg hooks to receive requests π«Ά
like, it's the one setting up the whole receivables desk, no cap.
β¨ SYNOPSIS β¨
int iscsi_bsg_host_add (struct Scsi_Host *shost , struct iscsi_cls_host
*ihost );
that's the whole signature, character for character, don't come for me π
πΈ ARGUMENTS πΈ
shostβ theshostforiscsi_host. yeah, that's the one π¦ihostβ theiscsi_cls_hostthat we're adding the structures to. she's the destination, the main character of this operation π
π₯ SEE ALSO π₯
first up, the kernel file, iconic location:
- Kernel file
./drivers/scsi/scsi_transport_iscsi.c
and then the whole friend group, all listed, all here, nobody left behind:
iscsi_lookup_endpoint(9)iscsi_create_flashnode_sess(9)iscsi_create_flashnode_conn(9)iscsi_is_flashnode_conn_dev(9)iscsi_get_flashnode_by_index(9)iscsi_find_flashnode_sess(9)iscsi_find_flashnode_conn(9)iscsi_destroy_flashnode_sess(9)iscsi_destroy_all_flashnode(9)iscsi_bsg_host_dispatch(9)iscsi_block_scsi_eh(9)iscsi_unblock_session(9)iscsi_force_destroy_session(9)iscsi_alloc_conn(9)iscsi_add_conn(9)iscsi_remove_conn(9)iscsi_session_event(9)
ngl this list is lowkey a whole squad π go read them, they all ate π
and that's the page!! π this little gem lives under ./drivers/scsi, our version date is October 2026, and the page itself is iscsi_bsg_host_add(9) β iykyk π periodt, go touch some kernel code 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