iscsi_session_free(9)
π NAME π
iscsi_session_free is the free-er for an iSCSI session β it frees the session and the resources that go with it. Weβre on the iscsi_session_free(9) page in the Kernel API Manual, and yes bestie, this is the cleanup moment. π§Ήβ¨
π SYNOPSIS π
The whole signature, exactly as written, no cap:
void iscsi_session_free (struct iscsi_cls_session *cls_session );
π¦ ARGUMENTS π¦
cls_sessionβ the iscsi session. Itβs thestruct iscsi_cls_session *from the signature, and itβs literally the session being freed. π«Ά
π SEE ALSO π
First up, the kernel file:
./drivers/scsi/libiscsi.c
And then the whole squad of related functions β every single one, periodt:
iscsi_prep_data_out_pdu(9)iscsi_check_tmf_restrictions(9)iscsi_prep_scsi_cmd_pdu(9)iscsi_free_task(9)__iscsi_put_task(9)iscsi_complete_task(9)iscsi_complete_scsi_task(9)iscsi_alloc_mgmt_task(9)iscsi_send_mgmt_task(9)iscsi_scsi_cmd_rsp(9)iscsi_data_in_rsp(9)iscsi_nop_out_rsp(9)iscsi_itt_to_task(9)__iscsi_complete_pdu(9)iscsi_itt_to_ctask(9)iscsi_requeue_task(9)iscsi_data_xmit(9)iscsi_suspend_queue(9)iscsi_suspend_tx(9)iscsi_suspend_rx(9)iscsi_conn_unbind(9)iscsi_eh_session_reset(9)iscsi_eh_target_reset(9)iscsi_eh_recover_target(9)iscsi_host_add(9)iscsi_host_alloc(9)iscsi_host_remove(9)iscsi_session_setup(9)iscsi_session_teardown(9)iscsi_conn_setup(9)iscsi_conn_teardown(9)
Thatβs the whole page, bestie π
Signed off from ./drivers/scsi, dated October 2026, and this iconic little number is iscsi_session_free(9). πβ¨π¦
π¦ 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