iscsi_find_flashnode_sess(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸ“


and that's the page!! 🧚 from ./drivers/scsi, dated October 2026 β€” slay, go read the other ones too, mwah πŸ’–πŸ‘‘

πŸ“¦ where this page comes from