iscsi_lookup_endpoint(9)
π iscsi_lookup_endpoint(9) β the Kernel API Manual moment
okay so bestie, welcome to iscsi_lookup_endpoint(9) β the little kernel manpage that lives in the Kernel API Manual section, and honestly? it's a short one but it's iconic in its own tiny way π
β¨ NAME β¨
iscsi_lookup_endpoint β get ep from handle π¦
so like. you give it a handle, it gives you the ep. that's the whole vibe. ep = endpoint, iykyk π
πΈ SYNOPSIS πΈ
struct iscsi_endpoint * iscsi_lookup_endpoint (u64 handle );
that's it. that's the whole call. no cap π
π«Ά ARGUMENTS π«Ά
handleβ endpoint handle. that's the thing you pass in, and it's the endpoint's handle, fr fr π₯
π DESCRIPTION π
so you call iscsi_lookup_endpoint and you get your ep. but listen β the caller must do a iscsi_put_endpoint π¨ like, this is not a "lol i'll clean it up later" situation. you look it up, you do your thing, you put it back with iscsi_put_endpoint. that's the deal. periodt π
not me reminding you again: caller must do a iscsi_put_endpoint. do not leave the ep hanging, bestie π
π§ SEE ALSO π§
- Kernel file
./drivers/scsi/scsi_transport_iscsi.cβ the source file, the mothership, the main character π
and the whole squad of related calls, all listed exactly like this:
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_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)
like a whole friend group honestly ππ«Ά
and that's the page, bestie! π this one's from ./drivers/scsi, dated October 2026, and it's iscsi_lookup_endpoint(9) β short, sweet, and it will absolutely judge you if you forget the iscsi_put_endpoint. slay πβ
π¦ 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