include/scsi/iscsi_if.h
Source file repositories/reference/linux-study-clean/include/scsi/iscsi_if.h
File Facts
- System
- Linux kernel
- Corpus path
include/scsi/iscsi_if.h- Extension
.h- Size
- 26216 bytes
- Lines
- 955
- Domain
- Repository Root And Misc
- Bucket
- include
- Inferred role
- Repository Root And Misc: implementation source
- Status
- source implementation candidate
Why This File Exists
Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
scsi/iscsi_proto.hlinux/in.hlinux/in6.h
Detected Declarations
struct iscsi_ueventstruct msg_create_sessionstruct msg_create_bound_sessionstruct msg_destroy_sessionstruct msg_create_connstruct msg_bind_connstruct msg_destroy_connstruct msg_send_pdustruct msg_set_paramstruct msg_start_connstruct msg_stop_connstruct msg_get_statsstruct msg_transport_connectstruct msg_transport_connect_through_hoststruct msg_transport_pollstruct msg_transport_disconnectstruct msg_tgt_dscvrstruct msg_set_host_paramstruct msg_set_pathstruct msg_set_iface_paramsstruct msg_iscsi_pingstruct msg_get_chapstruct msg_delete_chapstruct msg_set_flashnode_paramstruct msg_new_flashnodestruct msg_del_flashnodestruct msg_login_flashnodestruct msg_logout_flashnodestruct msg_logout_flashnode_sidstruct msg_get_host_statsstruct msg_create_session_retstruct msg_create_conn_retstruct msg_unbind_sessionstruct msg_recv_reqstruct msg_conn_loginstruct msg_conn_errorstruct msg_session_destroyedstruct msg_transport_connect_retstruct msg_req_pathstruct msg_notify_if_downstruct msg_host_eventstruct msg_ping_compstruct msg_new_flashnode_retstruct iscsi_param_infostruct iscsi_iface_param_infostruct iscsi_pathstruct iscsi_flashnode_param_infostruct iscsi_stats_custom
Annotated Snippet
struct iscsi_uevent {
uint32_t type; /* k/u events type */
uint32_t iferror; /* carries interface or resource errors */
uint64_t transport_handle;
union {
/* messages u -> k */
struct msg_create_session {
uint32_t initial_cmdsn;
uint16_t cmds_max;
uint16_t queue_depth;
} c_session;
struct msg_create_bound_session {
uint64_t ep_handle;
uint32_t initial_cmdsn;
uint16_t cmds_max;
uint16_t queue_depth;
} c_bound_session;
struct msg_destroy_session {
uint32_t sid;
} d_session;
struct msg_create_conn {
uint32_t sid;
uint32_t cid;
} c_conn;
struct msg_bind_conn {
uint32_t sid;
uint32_t cid;
uint64_t transport_eph;
uint32_t is_leading;
} b_conn;
struct msg_destroy_conn {
uint32_t sid;
uint32_t cid;
} d_conn;
struct msg_send_pdu {
uint32_t sid;
uint32_t cid;
uint32_t hdr_size;
uint32_t data_size;
} send_pdu;
struct msg_set_param {
uint32_t sid;
uint32_t cid;
uint32_t param; /* enum iscsi_param */
uint32_t len;
} set_param;
struct msg_start_conn {
uint32_t sid;
uint32_t cid;
} start_conn;
struct msg_stop_conn {
uint32_t sid;
uint32_t cid;
uint64_t conn_handle;
uint32_t flag;
} stop_conn;
struct msg_get_stats {
uint32_t sid;
uint32_t cid;
} get_stats;
struct msg_transport_connect {
uint32_t non_blocking;
} ep_connect;
struct msg_transport_connect_through_host {
uint32_t host_no;
uint32_t non_blocking;
} ep_connect_through_host;
struct msg_transport_poll {
uint64_t ep_handle;
uint32_t timeout_ms;
} ep_poll;
struct msg_transport_disconnect {
uint64_t ep_handle;
} ep_disconnect;
struct msg_tgt_dscvr {
enum iscsi_tgt_dscvr type;
uint32_t host_no;
/*
* enable = 1 to establish a new connection
* with the server. enable = 0 to disconnect
* from the server. Used primarily to switch
* from one iSNS server to another.
*/
uint32_t enable;
} tgt_dscvr;
struct msg_set_host_param {
uint32_t host_no;
uint32_t param; /* enum iscsi_host_param */
uint32_t len;
Annotation
- Immediate include surface: `scsi/iscsi_proto.h`, `linux/in.h`, `linux/in6.h`.
- Detected declarations: `struct iscsi_uevent`, `struct msg_create_session`, `struct msg_create_bound_session`, `struct msg_destroy_session`, `struct msg_create_conn`, `struct msg_bind_conn`, `struct msg_destroy_conn`, `struct msg_send_pdu`, `struct msg_set_param`, `struct msg_start_conn`.
- Atlas domain: Repository Root And Misc / include.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.