iscsi_create_flashnode_sess(9)
π NAME π
okay bestie, meet iscsi_create_flashnode_sess β the Kernel API Manual page (section 9, iykyk) for adding a flashnode session entry in sysfs. Its whole job is literally: Add flashnode session entry in sysfs. Slay. β¨
π¦ SYNOPSIS π¦
struct iscsi_bus_flash_session * iscsi_create_flashnode_sess (struct
Scsi_Host *shost , int index , struct iscsi_transport *transport , int
dd_size );
π ARGUMENTS π
shostβ pointer to host data. Lowkey the host-data pointer, periodt.indexβ index of flashnode to add in sysfs. That's the flashnode slot, bestie.transportβ pointer to transport data.dd_sizeβ total size to allocate. Yes, the total size.
π DESCRIPTION π
So what does it do? It adds a sysfs entry for the flashnode session attributes. That's it. That's the whole main-character task. No extra lore, no cap. π
β RETURN β
On success, you get a pointer to allocated flashnode sess. On failure, you get NULL. And yes, failure is literally NULL. π«Ά
π₯ SEE ALSO π₯
Kernel file: ./drivers/scsi/scsi_transport_iscsi.c
The whole friend group:
iscsi_lookup_endpoint(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_bsg_host_add(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)
mwah π β this one's from the Kernel API Manual, source ./drivers/scsi, dated October 2026, page iscsi_create_flashnode_sess(9). Obsessed. π
π¦ 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