/drivers/target/iscsi/ |
D | iscsi_target_util.h | 11 extern struct iscsi_cmd *iscsit_allocate_cmd(struct iscsi_conn *, gfp_t); 12 extern struct iscsi_cmd *iscsit_allocate_se_cmd(struct iscsi_conn *, u32, int, int); 13 extern struct iscsi_cmd *iscsit_allocate_se_cmd_for_tmr(struct iscsi_conn *, u8); 18 int iscsit_sequence_cmd(struct iscsi_conn *conn, struct iscsi_cmd *cmd, u32 cmdsn); 20 extern struct iscsi_cmd *iscsit_find_cmd_from_itt(struct iscsi_conn *, u32); 21 extern struct iscsi_cmd *iscsit_find_cmd_from_itt_or_dump(struct iscsi_conn *, 23 extern struct iscsi_cmd *iscsit_find_cmd_from_ttt(struct iscsi_conn *, u32); 26 extern void iscsit_add_cmd_to_immediate_queue(struct iscsi_cmd *, struct iscsi_conn *, u8); 27 extern struct iscsi_queue_req *iscsit_get_cmd_from_immediate_queue(struct iscsi_conn *); 28 extern void iscsit_add_cmd_to_response_queue(struct iscsi_cmd *, struct iscsi_conn *, u8); [all …]
|
D | iscsi_target.h | 17 extern int iscsit_logout_closesession(struct iscsi_cmd *, struct iscsi_conn *); 18 extern int iscsit_logout_closeconnection(struct iscsi_cmd *, struct iscsi_conn *); 19 extern int iscsit_logout_removeconnforrecovery(struct iscsi_cmd *, struct iscsi_conn *); 20 extern int iscsit_send_async_msg(struct iscsi_conn *, u16, u8, u8); 21 extern int iscsit_send_r2t(struct iscsi_cmd *, struct iscsi_conn *); 22 extern int iscsit_build_r2ts_for_cmd(struct iscsi_cmd *, struct iscsi_conn *, int); 23 extern void iscsit_thread_get_cpumask(struct iscsi_conn *); 26 extern int iscsit_close_connection(struct iscsi_conn *);
|
D | iscsi_target_tq.h | 7 extern int iscsi_thread_set_force_reinstatement(struct iscsi_conn *); 11 extern void iscsi_activate_thread_set(struct iscsi_conn *, struct iscsi_thread_set *); 13 extern void iscsi_set_thread_clear(struct iscsi_conn *, u8); 14 extern void iscsi_set_thread_set_signal(struct iscsi_conn *, u8); 15 extern int iscsi_release_thread_set(struct iscsi_conn *); 16 extern struct iscsi_conn *iscsi_rx_thread_pre_handler(struct iscsi_thread_set *); 17 extern struct iscsi_conn *iscsi_tx_thread_pre_handler(struct iscsi_thread_set *); 65 struct iscsi_conn *conn;
|
D | iscsi_target_util.c | 155 struct iscsi_cmd *iscsit_allocate_cmd(struct iscsi_conn *conn, gfp_t gfp_mask) in iscsit_allocate_cmd() 183 struct iscsi_conn *conn, in iscsit_allocate_se_cmd() 227 struct iscsi_conn *conn, in iscsit_allocate_se_cmd_for_tmr() 307 struct iscsi_conn *conn = cmd->conn; in iscsit_decide_list_to_build() 443 struct iscsi_conn *conn, in iscsit_sequence_cmd() 478 struct iscsi_conn *conn = cmd->conn; in iscsit_check_unsolicited_dataout() 521 struct iscsi_conn *conn, in iscsit_find_cmd_from_itt() 541 struct iscsi_conn *conn, in iscsit_find_cmd_from_itt_or_dump() 565 struct iscsi_conn *conn, in iscsit_find_cmd_from_ttt() 638 struct iscsi_conn *conn, in iscsit_add_cmd_to_immediate_queue() [all …]
|
D | iscsi_target_erl1.h | 4 extern int iscsit_dump_data_payload(struct iscsi_conn *, u32, int); 9 extern int iscsit_handle_recovery_datain_or_r2t(struct iscsi_conn *, unsigned char *, 11 extern int iscsit_handle_status_snack(struct iscsi_conn *, u32, u32, 13 extern int iscsit_handle_data_ack(struct iscsi_conn *, u32, u32, u32); 16 extern void iscsit_clear_ooo_cmdsns_for_conn(struct iscsi_conn *); 23 extern void iscsit_start_dataout_timer(struct iscsi_cmd *, struct iscsi_conn *);
|
D | iscsi_target_login.h | 4 extern int iscsi_login_setup_crypto(struct iscsi_conn *); 5 extern int iscsi_check_for_session_reinstatement(struct iscsi_conn *); 6 extern int iscsi_login_post_auth_non_zero_tsih(struct iscsi_conn *, u16, u32); 10 extern int iscsi_login_disable_FIM_keys(struct iscsi_param_list *, struct iscsi_conn *);
|
D | iscsi_target_tmr.h | 5 extern int iscsit_tmr_task_warm_reset(struct iscsi_conn *, struct iscsi_tmr_req *, 7 extern int iscsit_tmr_task_cold_reset(struct iscsi_conn *, struct iscsi_tmr_req *, 10 extern int iscsit_tmr_post_handler(struct iscsi_cmd *, struct iscsi_conn *); 12 struct iscsi_conn *);
|
D | iscsi_target_erl0.h | 9 extern void iscsit_connection_reinstatement_rcfr(struct iscsi_conn *); 10 extern void iscsit_cause_connection_reinstatement(struct iscsi_conn *, int); 12 extern void iscsit_take_action_for_connection_exit(struct iscsi_conn *); 13 extern int iscsit_recover_from_unknown_opcode(struct iscsi_conn *);
|
D | iscsi_target_tmr.c | 43 struct iscsi_conn *conn = cmd->conn; in iscsit_tmr_abort_task() 75 struct iscsi_conn *conn, in iscsit_tmr_task_warm_reset() 98 struct iscsi_conn *conn, in iscsit_tmr_task_cold_reset() 122 struct iscsi_conn *conn = cmd->conn; in iscsit_tmr_task_reassign() 195 struct iscsi_conn *conn) in iscsit_task_reassign_complete_nop_out() 233 struct iscsi_conn *conn = cmd->conn; in iscsit_task_reassign_complete_write() 302 struct iscsi_conn *conn = cmd->conn; in iscsit_task_reassign_complete_read() 355 struct iscsi_conn *conn = cmd->conn; in iscsit_task_reassign_complete_none() 364 struct iscsi_conn *conn) in iscsit_task_reassign_complete_scsi_cmnd() 415 struct iscsi_conn *conn) in iscsit_task_reassign_complete() [all …]
|
D | iscsi_target_nego.c | 104 struct iscsi_conn *conn, in iscsi_handle_authentication() 167 static void iscsi_remove_failed_auth_entry(struct iscsi_conn *conn) in iscsi_remove_failed_auth_entry() 173 struct iscsi_conn *conn, in iscsi_target_check_login_request() 263 struct iscsi_conn *conn, in iscsi_target_check_first_request() 330 static int iscsi_target_do_tx_login_io(struct iscsi_conn *conn, struct iscsi_login *login) in iscsi_target_do_tx_login_io() 374 static int iscsi_target_do_rx_login_io(struct iscsi_conn *conn, struct iscsi_login *login) in iscsi_target_do_rx_login_io() 410 static int iscsi_target_do_login_io(struct iscsi_conn *conn, struct iscsi_login *login) in iscsi_target_do_login_io() 422 struct iscsi_conn *conn, in iscsi_target_get_initial_payload() 456 struct iscsi_conn *conn, in iscsi_target_check_for_existing_instances() 472 struct iscsi_conn *conn, in iscsi_target_do_authentication() [all …]
|
D | iscsi_target_nego.h | 11 struct iscsi_np *, struct iscsi_conn *, char *); 13 struct iscsi_login *, struct iscsi_conn *); 15 struct iscsi_login *, struct iscsi_conn *);
|
D | iscsi_target_erl0.c | 43 struct iscsi_conn *conn = cmd->conn; in iscsit_set_dataout_sequence_values() 80 struct iscsi_conn *conn = cmd->conn; in iscsit_dataout_within_command_recovery_check() 146 struct iscsi_conn *conn = cmd->conn; in iscsit_dataout_check_unsolicited_sequence() 221 struct iscsi_conn *conn = cmd->conn; in iscsit_dataout_check_sequence() 350 struct iscsi_conn *conn = cmd->conn; in iscsit_dataout_check_datasn() 404 struct iscsi_conn *conn = cmd->conn; in iscsit_dataout_pre_datapduinorder_yes() 548 struct iscsi_conn *conn = cmd->conn; in iscsit_dataout_post_crc_passed() 652 struct iscsi_conn *conn = cmd->conn; in iscsit_dataout_post_crc_failed() 690 struct iscsi_conn *conn = cmd->conn; in iscsit_check_pre_dataout() 728 struct iscsi_conn *conn = cmd->conn; in iscsit_check_post_dataout() [all …]
|
D | iscsi_target_erl2.h | 14 extern int iscsit_discard_unacknowledged_ooo_cmdsns_for_conn(struct iscsi_conn *); 15 extern int iscsit_prepare_cmds_for_realligance(struct iscsi_conn *); 16 extern int iscsit_connection_recovery_transport_reset(struct iscsi_conn *);
|
D | iscsi_target_login.c | 46 static int iscsi_login_init_conn(struct iscsi_conn *conn) in iscsi_login_init_conn() 79 int iscsi_login_setup_crypto(struct iscsi_conn *conn) in iscsi_login_setup_crypto() 107 struct iscsi_conn *conn, in iscsi_login_check_initiator_version() 123 int iscsi_check_for_session_reinstatement(struct iscsi_conn *conn) in iscsi_check_for_session_reinstatement() 199 struct iscsi_conn *conn, in iscsi_login_set_conn_values() 220 struct iscsi_conn *conn, in iscsi_login_zero_tsih_s1() 294 struct iscsi_conn *conn) in iscsi_login_zero_tsih_s2() 368 struct iscsi_conn *conn) in iscsi_login_disable_FIM_keys() 416 struct iscsi_conn *conn, in iscsi_login_non_zero_tsih_s1() 429 struct iscsi_conn *conn, in iscsi_login_non_zero_tsih_s2() [all …]
|
D | iscsi_target_erl1.c | 47 struct iscsi_conn *conn, in iscsit_dump_data_payload() 207 struct iscsi_conn *conn = cmd->conn; in iscsit_create_recovery_datain_values_datasequenceinorder_yes() 254 struct iscsi_conn *conn = cmd->conn; in iscsit_create_recovery_datain_values_datasequenceinorder_no() 415 struct iscsi_conn *conn = cmd->conn; in iscsit_handle_recovery_datain() 472 struct iscsi_conn *conn, in iscsit_handle_recovery_datain_or_r2t() 505 struct iscsi_conn *conn, in iscsit_handle_status_snack() 567 struct iscsi_conn *conn, in iscsit_handle_data_ack() 622 struct iscsi_conn *conn = cmd->conn; in iscsit_dataout_datapduinorder_no_fbit() 700 struct iscsi_conn *conn = cmd->conn; in iscsit_recalculate_dataout_values() 863 void iscsit_clear_ooo_cmdsns_for_conn(struct iscsi_conn *conn) in iscsit_clear_ooo_cmdsns_for_conn() [all …]
|
D | iscsi_target_tq.c | 221 void iscsi_activate_thread_set(struct iscsi_conn *conn, struct iscsi_thread_set *ts) in iscsi_activate_thread_set() 271 void iscsi_set_thread_clear(struct iscsi_conn *conn, u8 thread_clear) in iscsi_set_thread_clear() 293 void iscsi_set_thread_set_signal(struct iscsi_conn *conn, u8 signal_sent) in iscsi_set_thread_set_signal() 308 int iscsi_release_thread_set(struct iscsi_conn *conn) in iscsi_release_thread_set() 363 int iscsi_thread_set_force_reinstatement(struct iscsi_conn *conn) in iscsi_thread_set_force_reinstatement() 413 struct iscsi_conn *iscsi_rx_thread_pre_handler(struct iscsi_thread_set *ts) in iscsi_rx_thread_pre_handler() 466 struct iscsi_conn *iscsi_tx_thread_pre_handler(struct iscsi_thread_set *ts) in iscsi_tx_thread_pre_handler()
|
D | iscsi_target.c | 70 static int iscsit_logout_post_handler(struct iscsi_cmd *, struct iscsi_conn *); 589 struct iscsi_conn *conn) in iscsit_add_reject() 634 struct iscsi_conn *conn; in iscsit_add_reject_from_cmd() 729 static void iscsit_ack_from_expstatsn(struct iscsi_conn *conn, u32 exp_statsn) in iscsit_ack_from_expstatsn() 827 struct iscsi_conn *conn, in iscsit_handle_scsi_cmd() 1225 static int iscsit_handle_data_out(struct iscsi_conn *conn, unsigned char *buf) in iscsit_handle_data_out() 1456 struct iscsi_conn *conn, in iscsit_handle_nop_out() 1670 struct iscsi_conn *conn, in iscsit_handle_task_mgt_cmd() 1834 struct iscsi_conn *conn, in iscsit_handle_text_cmd() 1990 int iscsit_logout_closesession(struct iscsi_cmd *cmd, struct iscsi_conn *conn) in iscsit_logout_closesession() [all …]
|
D | iscsi_target_auth.c | 79 struct iscsi_conn *conn, in chap_gen_challenge() 104 struct iscsi_conn *conn, in chap_server_open() 154 static void chap_close(struct iscsi_conn *conn) in chap_close() 161 struct iscsi_conn *conn, in chap_server_compute_md5() 418 struct iscsi_conn *conn, in chap_got_response() 440 struct iscsi_conn *conn, in chap_main_loop()
|
D | iscsi_target_erl2.c | 42 struct iscsi_conn *conn = cmd->conn; in iscsit_create_conn_recovery_datain_values() 69 struct iscsi_conn *conn = cmd->conn; in iscsit_create_conn_recovery_dataout_values() 277 int iscsit_discard_unacknowledged_ooo_cmdsns_for_conn(struct iscsi_conn *conn) in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn() 318 int iscsit_prepare_cmds_for_realligance(struct iscsi_conn *conn) in iscsit_prepare_cmds_for_realligance() 431 int iscsit_connection_recovery_transport_reset(struct iscsi_conn *conn) in iscsit_connection_recovery_transport_reset()
|
/drivers/scsi/ |
D | libiscsi_tcp.c | 199 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, "copied %u %u size %u %s\n", in iscsi_tcp_segment_done() 234 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, "total copied %u total size %u\n", in iscsi_tcp_segment_done() 246 if (!(tcp_conn->iscsi_conn->session->tt->caps & CAP_PADDING_OFFLOAD)) { in iscsi_tcp_segment_done() 249 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, in iscsi_tcp_segment_done() 299 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, in iscsi_tcp_segment_recv() 305 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, "copying %d\n", copy); in iscsi_tcp_segment_recv() 332 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, "digest mismatch\n"); in iscsi_tcp_dgst_verify() 399 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, in iscsi_tcp_hdr_recv_prep() 400 "(%s)\n", tcp_conn->iscsi_conn->hdrdgst_en ? in iscsi_tcp_hdr_recv_prep() 415 struct iscsi_conn *conn = tcp_conn->iscsi_conn; in iscsi_tcp_data_recv_done() [all …]
|
D | iscsi_tcp.c | 86 struct iscsi_conn *conn = rd_desc->arg.data; in iscsi_sw_tcp_recv() 116 struct iscsi_conn *conn = sk->sk_user_data; in iscsi_sw_sk_state_check() 129 struct iscsi_conn *conn; in iscsi_sw_tcp_data_ready() 163 struct iscsi_conn *conn; in iscsi_sw_tcp_state_change() 192 struct iscsi_conn *conn; in iscsi_sw_tcp_write_space() 215 static void iscsi_sw_tcp_conn_set_callbacks(struct iscsi_conn *conn) in iscsi_sw_tcp_conn_set_callbacks() 234 iscsi_sw_tcp_conn_restore_callbacks(struct iscsi_conn *conn) in iscsi_sw_tcp_conn_restore_callbacks() 311 static int iscsi_sw_tcp_xmit(struct iscsi_conn *conn) in iscsi_sw_tcp_xmit() 361 static inline int iscsi_sw_tcp_xmit_qlen(struct iscsi_conn *conn) in iscsi_sw_tcp_xmit_qlen() 372 struct iscsi_conn *conn = task->conn; in iscsi_sw_tcp_pdu_xmit() [all …]
|
D | libiscsi.c | 88 inline void iscsi_conn_queue_work(struct iscsi_conn *conn) in iscsi_conn_queue_work() 147 struct iscsi_conn *conn = task->conn; in iscsi_prep_data_out_pdu() 269 struct iscsi_conn *conn = task->conn; in iscsi_check_tmf_restrictions() 345 struct iscsi_conn *conn = task->conn; in iscsi_prep_scsi_cmd_pdu() 490 struct iscsi_conn *conn = task->conn; in iscsi_free_task() 554 struct iscsi_conn *conn = task->conn; in iscsi_complete_task() 594 struct iscsi_conn *conn = task->conn; in iscsi_complete_scsi_task() 612 struct iscsi_conn *conn = task->conn; in fail_scsi_task() 649 static int iscsi_prep_mgmt_task(struct iscsi_conn *conn, in iscsi_prep_mgmt_task() 696 __iscsi_conn_send_pdu(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in __iscsi_conn_send_pdu() [all …]
|
/drivers/infiniband/ulp/iser/ |
D | iscsi_iser.h | 268 struct iscsi_conn *iscsi_conn;/* ptr to iscsi conn */ member 303 int iser_conn_set_full_featured_mode(struct iscsi_conn *conn); 305 int iser_send_control(struct iscsi_conn *conn, 308 int iser_send_command(struct iscsi_conn *conn, 311 int iser_send_data_out(struct iscsi_conn *conn, 315 void iscsi_iser_recv(struct iscsi_conn *conn,
|
D | iscsi_iser.c | 96 iscsi_iser_recv(struct iscsi_conn *conn, in iscsi_iser_recv() 193 iscsi_iser_mtask_xmit(struct iscsi_conn *conn, struct iscsi_task *task) in iscsi_iser_mtask_xmit() 211 iscsi_iser_task_xmit_unsol_data(struct iscsi_conn *conn, in iscsi_iser_task_xmit_unsol_data() 243 struct iscsi_conn *conn = task->conn; in iscsi_iser_task_xmit() 301 struct iscsi_conn *conn; in iscsi_iser_conn_create() 318 iser_conn->iscsi_conn = conn; in iscsi_iser_conn_create() 326 struct iscsi_conn *conn = cls_conn->dd_data; in iscsi_iser_conn_destroy() 347 struct iscsi_conn *conn = cls_conn->dd_data; in iscsi_iser_conn_bind() 385 struct iscsi_conn *conn = cls_conn->dd_data; in iscsi_iser_conn_stop() 513 struct iscsi_conn *conn = cls_conn->dd_data; in iscsi_iser_conn_get_stats() [all …]
|
/drivers/scsi/be2iscsi/ |
D | be_iscsi.c | 120 struct iscsi_conn *conn; in beiscsi_conn_create() 178 struct iscsi_conn *conn = cls_conn->dd_data; in beiscsi_conn_bind() 245 struct iscsi_conn *conn = cls_conn->dd_data; in beiscsi_set_param() 362 struct iscsi_conn *conn = cls_conn->dd_data; in beiscsi_conn_get_stats() 389 struct iscsi_conn *conn = beiscsi_conn->conn; in beiscsi_set_params_for_offld() 419 struct iscsi_conn *conn = cls_conn->dd_data; in beiscsi_conn_start()
|