iscsi_find_flashnode_sess(9)
π iscsi_find_flashnode_sess(9) π
okay so bestie, welcome to the Kernel API Manual page for iscsi_find_flashnode_sess(9) β yes that name is a mouthful, no we are not changing it, it's iconic actually π
β¨ NAME β¨
iscsi_find_flashnode_sess β finds flashnode session entry πβ¨
πΈ SYNOPSIS πΈ
struct device * iscsi_find_flashnode_sess (struct Scsi_Host *shost ,
const void *data , device_match_t fn );
π¦ ARGUMENTS π¦
shostβ pointer to host data. like, the host in question, she's the main character here πdataβ pointer to data containing value to use for comparison. this is the thing you're matching against, iykyk πfnβ function pointer that does actual comparison. yes you have to bring your own logic, this function is not doing the matching for you fr fr π
π DESCRIPTION π
Finds the flashnode session object by comparing the data passed in, using the logic defined in the passed function pointer. that's it, that's the vibe π«Ά you hand her your match logic and she goes off to find the flashnode session that fits β lowkey obsessed with how straightforward this is β¨
β RETURN β
Pointer to found flashnode session device object on success, NULL on failure π so like, always check the return value bestie, no cap π
π SEE ALSO π
Kernel file ./drivers/scsi/scsi_transport_iscsi.c β that's where the source lives, go look, it's giving homework but make it fun π
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_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)
and that's the page!! π§ from ./drivers/scsi, dated October 2026 β slay, go read the other ones too, mwah ππ
π¦ 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