Home
last modified time | relevance | path

Searched refs:iscsit_conn (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v6.6/include/target/iscsi/
Discsi_transport.h15 int (*iscsit_accept_np)(struct iscsi_np *, struct iscsit_conn *);
17 void (*iscsit_wait_conn)(struct iscsit_conn *);
18 void (*iscsit_free_conn)(struct iscsit_conn *);
19 int (*iscsit_get_login_rx)(struct iscsit_conn *, struct iscsi_login *);
20 int (*iscsit_put_login_tx)(struct iscsit_conn *, struct iscsi_login *, u32);
21 int (*iscsit_immediate_queue)(struct iscsit_conn *, struct iscsit_cmd *, int);
22 int (*iscsit_response_queue)(struct iscsit_conn *, struct iscsit_cmd *, int);
23 int (*iscsit_get_dataout)(struct iscsit_conn *, struct iscsit_cmd *, bool);
24 int (*iscsit_queue_data_in)(struct iscsit_conn *, struct iscsit_cmd *);
25 int (*iscsit_queue_status)(struct iscsit_conn *, struct iscsit_cmd *);
[all …]
Discsi_target_core.h479 struct iscsit_conn *conn;
509 struct iscsit_conn { struct
715 struct iscsit_conn *conn;
913 extern struct iscsit_cmd *iscsit_find_cmd_from_itt(struct iscsit_conn *, itt_t);
915 extern void iscsit_thread_check_cpumask(struct iscsit_conn *conn,
/Linux-v6.6/drivers/target/iscsi/
Discsi_target_util.h11 struct iscsit_conn;
20 extern struct iscsit_cmd *iscsit_alloc_cmd(struct iscsit_conn *, gfp_t);
21 extern struct iscsit_cmd *iscsit_allocate_cmd(struct iscsit_conn *, int);
25 extern int iscsit_sequence_cmd(struct iscsit_conn *conn, struct iscsit_cmd *cmd,
28 extern struct iscsit_cmd *iscsit_find_cmd_from_itt_or_dump(struct iscsit_conn *,
30 extern struct iscsit_cmd *iscsit_find_cmd_from_ttt(struct iscsit_conn *, u32);
33 extern void iscsit_add_cmd_to_immediate_queue(struct iscsit_cmd *, struct iscsit_conn *, u8);
34 extern struct iscsi_queue_req *iscsit_get_cmd_from_immediate_queue(struct iscsit_conn *);
35 extern int iscsit_add_cmd_to_response_queue(struct iscsit_cmd *, struct iscsit_conn *, u8);
36 extern struct iscsi_queue_req *iscsit_get_cmd_from_response_queue(struct iscsit_conn *);
[all …]
Discsi_target_login.h7 struct iscsit_conn;
12 extern int iscsi_login_setup_crypto(struct iscsit_conn *);
13 extern int iscsi_check_for_session_reinstatement(struct iscsit_conn *);
14 extern int iscsi_login_post_auth_non_zero_tsih(struct iscsit_conn *, u16, u32);
19 extern int iscsit_accept_np(struct iscsi_np *, struct iscsit_conn *);
20 extern int iscsit_get_login_rx(struct iscsit_conn *, struct iscsi_login *);
21 extern int iscsit_put_login_tx(struct iscsit_conn *, struct iscsi_login *, u32);
22 extern void iscsit_free_conn(struct iscsit_conn *);
23 extern int iscsit_start_kthreads(struct iscsit_conn *);
24 extern void iscsi_post_login_handler(struct iscsi_np *, struct iscsit_conn *, u8);
[all …]
Discsi_target_nego.h9 struct iscsit_conn;
16 extern int iscsi_target_check_login_request(struct iscsit_conn *,
18 extern int iscsi_target_get_initial_payload(struct iscsit_conn *,
20 extern int iscsi_target_locate_portal(struct iscsi_np *, struct iscsit_conn *,
23 struct iscsi_login *, struct iscsit_conn *);
24 extern void iscsi_target_nego_release(struct iscsit_conn *);
25 extern bool iscsi_conn_auth_required(struct iscsit_conn *conn);
Discsi_target.h9 struct iscsit_conn;
35 extern int iscsit_logout_closesession(struct iscsit_cmd *, struct iscsit_conn *);
36 extern int iscsit_logout_closeconnection(struct iscsit_cmd *, struct iscsit_conn *);
37 extern int iscsit_logout_removeconnforrecovery(struct iscsit_cmd *, struct iscsit_conn *);
38 extern int iscsit_send_async_msg(struct iscsit_conn *, u16, u8, u8);
39 extern int iscsit_build_r2ts_for_cmd(struct iscsit_conn *, struct iscsit_cmd *, bool recovery);
40 extern void iscsit_thread_get_cpumask(struct iscsit_conn *);
43 extern int iscsit_close_connection(struct iscsit_conn *);
Discsi_target_erl1.h9 struct iscsit_conn;
15 extern int iscsit_dump_data_payload(struct iscsit_conn *, u32, int);
20 extern int iscsit_handle_recovery_datain_or_r2t(struct iscsit_conn *, unsigned char *,
22 extern int iscsit_handle_status_snack(struct iscsit_conn *, itt_t, u32,
24 extern int iscsit_handle_data_ack(struct iscsit_conn *, u32, u32, u32);
27 extern void iscsit_clear_ooo_cmdsns_for_conn(struct iscsit_conn *);
35 extern void iscsit_start_dataout_timer(struct iscsit_cmd *, struct iscsit_conn *);
Discsi_target_tmr.h8 struct iscsit_conn;
12 extern int iscsit_tmr_task_warm_reset(struct iscsit_conn *, struct iscsi_tmr_req *,
14 extern int iscsit_tmr_task_cold_reset(struct iscsit_conn *, struct iscsi_tmr_req *,
17 extern int iscsit_tmr_post_handler(struct iscsit_cmd *, struct iscsit_conn *);
19 struct iscsit_conn *);
Discsi_target_util.c155 struct iscsit_cmd *iscsit_allocate_cmd(struct iscsit_conn *conn, int state) in iscsit_allocate_cmd()
285 int iscsit_sequence_cmd(struct iscsit_conn *conn, struct iscsit_cmd *cmd, in iscsit_sequence_cmd()
338 struct iscsit_conn *conn = cmd->conn; in iscsit_check_unsolicited_dataout()
381 struct iscsit_conn *conn, in iscsit_find_cmd_from_itt()
402 struct iscsit_conn *conn, in iscsit_find_cmd_from_itt_or_dump()
429 struct iscsit_conn *conn, in iscsit_find_cmd_from_ttt()
502 struct iscsit_conn *conn, in iscsit_add_cmd_to_immediate_queue()
527 struct iscsi_queue_req *iscsit_get_cmd_from_immediate_queue(struct iscsit_conn *conn) in iscsit_get_cmd_from_immediate_queue()
549 struct iscsit_conn *conn) in iscsit_remove_cmd_from_immediate_queue()
578 struct iscsit_conn *conn, in iscsit_add_cmd_to_response_queue()
[all …]
Discsi_target_erl0.h8 struct iscsit_conn;
17 extern void iscsit_connection_reinstatement_rcfr(struct iscsit_conn *);
18 extern void iscsit_cause_connection_reinstatement(struct iscsit_conn *, int);
20 extern void iscsit_take_action_for_connection_exit(struct iscsit_conn *, bool *);
Discsi_target_erl2.h8 struct iscsit_conn;
22 extern int iscsit_discard_unacknowledged_ooo_cmdsns_for_conn(struct iscsit_conn *);
23 extern int iscsit_prepare_cmds_for_reallegiance(struct iscsit_conn *);
24 extern int iscsit_connection_recovery_transport_reset(struct iscsit_conn *);
Discsi_target_nego.c101 static struct iscsi_node_auth *iscsi_get_node_auth(struct iscsit_conn *conn) in iscsi_get_node_auth()
127 struct iscsit_conn *conn, in iscsi_handle_authentication()
154 static void iscsi_remove_failed_auth_entry(struct iscsit_conn *conn) in iscsi_remove_failed_auth_entry()
160 struct iscsit_conn *conn, in iscsi_target_check_login_request()
251 struct iscsit_conn *conn, in iscsi_target_check_first_request()
318 static int iscsi_target_do_tx_login_io(struct iscsit_conn *conn, struct iscsi_login *login) in iscsi_target_do_tx_login_io()
385 struct iscsit_conn *conn = sk->sk_user_data; in iscsi_target_sk_data_ready()
425 static void iscsi_target_set_sock_callbacks(struct iscsit_conn *conn) in iscsi_target_set_sock_callbacks()
447 static void iscsi_target_restore_sock_callbacks(struct iscsit_conn *conn) in iscsi_target_restore_sock_callbacks()
471 static int iscsi_target_do_login(struct iscsit_conn *, struct iscsi_login *);
[all …]
Discsi_target_tmr.c35 struct iscsit_conn *conn = cmd->conn; in iscsit_tmr_abort_task()
66 struct iscsit_conn *conn, in iscsit_tmr_task_warm_reset()
86 struct iscsit_conn *conn, in iscsit_tmr_task_cold_reset()
110 struct iscsit_conn *conn = cmd->conn; in iscsit_tmr_task_reassign()
196 struct iscsit_conn *conn) in iscsit_task_reassign_complete_nop_out()
232 struct iscsit_conn *conn = cmd->conn; in iscsit_task_reassign_complete_write()
302 struct iscsit_conn *conn = cmd->conn; in iscsit_task_reassign_complete_read()
355 struct iscsit_conn *conn = cmd->conn; in iscsit_task_reassign_complete_none()
364 struct iscsit_conn *conn) in iscsit_task_reassign_complete_scsi_cmnd()
413 struct iscsit_conn *conn) in iscsit_task_reassign_complete()
[all …]
Discsi_target_login.c38 static struct iscsi_login *iscsi_login_init_conn(struct iscsit_conn *conn) in iscsi_login_init_conn()
78 int iscsi_login_setup_crypto(struct iscsit_conn *conn) in iscsi_login_setup_crypto()
115 struct iscsit_conn *conn, in iscsi_login_check_initiator_version()
131 int iscsi_check_for_session_reinstatement(struct iscsit_conn *conn) in iscsi_check_for_session_reinstatement()
208 struct iscsit_conn *conn, in iscsi_login_set_conn_values()
229 struct iscsit_conn *conn, in iscsi_change_param_sprintf()
256 struct iscsit_conn *conn, in iscsi_login_zero_tsih_s1()
340 struct iscsit_conn *conn) in iscsi_login_zero_tsih_s2()
474 struct iscsit_conn *conn, in iscsi_login_non_zero_tsih_s1()
486 struct iscsit_conn *conn, in iscsi_login_non_zero_tsih_s2()
[all …]
Discsi_target.c474 static void iscsit_get_rx_pdu(struct iscsit_conn *);
476 int iscsit_queue_rsp(struct iscsit_conn *conn, struct iscsit_cmd *cmd) in iscsit_queue_rsp()
482 void iscsit_aborted_task(struct iscsit_conn *conn, struct iscsit_cmd *cmd) in iscsit_aborted_task()
495 static void iscsit_tx_thread_wait_for_tcp(struct iscsit_conn *);
498 iscsit_xmit_nondatain_pdu(struct iscsit_conn *conn, struct iscsit_cmd *cmd, in iscsit_xmit_nondatain_pdu()
572 iscsit_xmit_datain_pdu(struct iscsit_conn *conn, struct iscsit_cmd *cmd, in iscsit_xmit_datain_pdu()
646 static int iscsit_xmit_pdu(struct iscsit_conn *conn, struct iscsit_cmd *cmd, in iscsit_xmit_pdu()
656 static enum target_prot_op iscsit_get_sup_prot_ops(struct iscsit_conn *conn) in iscsit_get_sup_prot_ops()
798 struct iscsit_conn *conn, in iscsit_add_reject()
835 struct iscsit_conn *conn; in iscsit_add_reject_from_cmd()
[all …]
Discsi_target_erl0.c34 struct iscsit_conn *conn = cmd->conn; in iscsit_set_dataout_sequence_values()
69 struct iscsit_conn *conn = cmd->conn; in iscsit_dataout_within_command_recovery_check()
136 struct iscsit_conn *conn = cmd->conn; in iscsit_dataout_check_unsolicited_sequence()
211 struct iscsit_conn *conn = cmd->conn; in iscsit_dataout_check_sequence()
340 struct iscsit_conn *conn = cmd->conn; in iscsit_dataout_check_datasn()
391 struct iscsit_conn *conn = cmd->conn; in iscsit_dataout_pre_datapduinorder_yes()
537 struct iscsit_conn *conn = cmd->conn; in iscsit_dataout_post_crc_passed()
647 struct iscsit_conn *conn = cmd->conn; in iscsit_dataout_post_crc_failed()
686 struct iscsit_conn *conn = cmd->conn; in iscsit_check_pre_dataout()
724 struct iscsit_conn *conn = cmd->conn; in iscsit_check_post_dataout()
[all …]
Discsi_target_erl1.c39 struct iscsit_conn *conn, in iscsit_dump_data_payload()
176 struct iscsit_conn *conn = cmd->conn; in iscsit_create_recovery_datain_values_datasequenceinorder_yes()
223 struct iscsit_conn *conn = cmd->conn; in iscsit_create_recovery_datain_values_datasequenceinorder_no()
379 struct iscsit_conn *conn = cmd->conn; in iscsit_handle_recovery_datain()
435 struct iscsit_conn *conn, in iscsit_handle_recovery_datain_or_r2t()
468 struct iscsit_conn *conn, in iscsit_handle_status_snack()
532 struct iscsit_conn *conn, in iscsit_handle_data_ack()
587 struct iscsit_conn *conn = cmd->conn; in iscsit_dataout_datapduinorder_no_fbit()
665 struct iscsit_conn *conn = cmd->conn; in iscsit_recalculate_dataout_values()
828 void iscsit_clear_ooo_cmdsns_for_conn(struct iscsit_conn *conn) in iscsit_clear_ooo_cmdsns_for_conn()
[all …]
Discsi_target_auth.h30 struct iscsit_conn;
32 extern u32 chap_main_loop(struct iscsit_conn *, struct iscsi_node_auth *, char *, char *,
Discsi_target_parameters.h28 struct iscsit_conn;
33 extern int iscsi_login_rx_data(struct iscsit_conn *, char *, int);
34 extern int iscsi_login_tx_data(struct iscsit_conn *, char *, char *, int);
48 extern int iscsi_decode_text_input(u8, u8, char *, u32, struct iscsit_conn *);
Discsi_target_erl2.c33 struct iscsit_conn *conn = cmd->conn; in iscsit_create_conn_recovery_datain_values()
60 struct iscsit_conn *conn = cmd->conn; in iscsit_create_conn_recovery_dataout_values()
266 int iscsit_discard_unacknowledged_ooo_cmdsns_for_conn(struct iscsit_conn *conn) in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn()
307 int iscsit_prepare_cmds_for_reallegiance(struct iscsit_conn *conn) in iscsit_prepare_cmds_for_reallegiance()
421 int iscsit_connection_recovery_transport_reset(struct iscsit_conn *conn) in iscsit_connection_recovery_transport_reset()
Discsi_target_auth.c38 struct iscsit_conn *conn, in chap_gen_challenge()
131 static void chap_close(struct iscsit_conn *conn) in chap_close()
138 struct iscsit_conn *conn, in chap_server_open()
241 struct iscsit_conn *conn, in chap_server_compute_hash()
572 struct iscsit_conn *conn, in chap_main_loop()
Discsi_target_datain_values.c83 struct iscsit_conn *conn = cmd->conn; in iscsit_set_datain_values_yes_and_yes()
181 struct iscsit_conn *conn = cmd->conn; in iscsit_set_datain_values_no_and_yes()
302 struct iscsit_conn *conn = cmd->conn; in iscsit_set_datain_values_yes_and_no()
401 struct iscsit_conn *conn = cmd->conn; in iscsit_set_datain_values_no_and_no()
502 struct iscsit_conn *conn = cmd->conn; in iscsit_get_datain_values()
/Linux-v6.6/drivers/target/iscsi/cxgbit/
Dcxgbit.h192 struct iscsit_conn *conn;
319 int cxgbit_accept_np(struct iscsi_np *, struct iscsit_conn *);
322 void cxgbit_free_conn(struct iscsit_conn *);
324 int cxgbit_get_login_rx(struct iscsit_conn *, struct iscsi_login *);
329 int cxgbit_put_login_tx(struct iscsit_conn *, struct iscsi_login *, u32);
330 int cxgbit_xmit_pdu(struct iscsit_conn *, struct iscsit_cmd *,
332 void cxgbit_get_r2t_ttt(struct iscsit_conn *, struct iscsit_cmd *,
336 void cxgbit_get_rx_pdu(struct iscsit_conn *);
337 int cxgbit_validate_params(struct iscsit_conn *);
344 void cxgbit_unmap_cmd(struct iscsit_conn *, struct iscsit_cmd *);
Dcxgbit_target.c396 struct iscsit_conn *conn = csk->conn; in cxgbit_tx_datain_iso()
513 cxgbit_xmit_datain_pdu(struct iscsit_conn *conn, struct iscsit_cmd *cmd, in cxgbit_xmit_datain_pdu()
533 cxgbit_xmit_nondatain_pdu(struct iscsit_conn *conn, struct iscsit_cmd *cmd, in cxgbit_xmit_nondatain_pdu()
563 cxgbit_xmit_pdu(struct iscsit_conn *conn, struct iscsit_cmd *cmd, in cxgbit_xmit_pdu()
572 int cxgbit_validate_params(struct iscsit_conn *conn) in cxgbit_validate_params()
598 struct iscsit_conn *conn = csk->conn; in cxgbit_set_digest()
630 struct iscsit_conn *conn = csk->conn; in cxgbit_set_iso_npdu()
681 struct iscsit_conn *conn = csk->conn; in cxgbit_seq_pdu_inorder()
715 static int cxgbit_set_params(struct iscsit_conn *conn) in cxgbit_set_params()
774 cxgbit_put_login_tx(struct iscsit_conn *conn, struct iscsi_login *login, in cxgbit_put_login_tx()
[all …]
/Linux-v6.6/drivers/infiniband/ulp/isert/
Dib_isert.c50 isert_put_response(struct iscsit_conn *conn, struct iscsit_cmd *cmd);
917 isert_put_login_tx(struct iscsit_conn *conn, struct iscsi_login *login, in isert_put_login_tx()
984 struct iscsit_conn *conn = isert_conn->conn; in isert_rx_login_req()
1028 *isert_allocate_cmd(struct iscsit_conn *conn, struct iser_rx_desc *rx_desc) in isert_allocate_cmd()
1052 struct iscsit_conn *conn = isert_conn->conn; in isert_handle_scsi_cmd()
1121 struct iscsit_conn *conn = isert_conn->conn; in isert_handle_iscsi_dataout()
1181 struct iscsit_conn *conn = isert_conn->conn; in isert_handle_nop_out()
1200 struct iscsit_conn *conn = isert_conn->conn; in isert_handle_text_cmd()
1227 struct iscsit_conn *conn = isert_conn->conn; in isert_rx_opcode()
1435 struct iscsit_conn *conn = isert_conn->conn; in isert_put_cmd()
[all …]

12