/linux-2.6.39/include/scsi/ |
D | libiscsi.h | 128 struct iscsi_conn *conn; /* used connection */ 159 struct iscsi_conn { struct 292 struct iscsi_conn *leadconn; /* leading connection */ 386 extern void iscsi_conn_failure(struct iscsi_conn *conn, enum iscsi_err err); 393 extern void iscsi_suspend_tx(struct iscsi_conn *conn); 394 extern void iscsi_suspend_queue(struct iscsi_conn *conn); 395 extern void iscsi_conn_queue_work(struct iscsi_conn *conn); 398 iscsi_cls_conn_printk(prefix, ((struct iscsi_conn *)_c)->cls_conn, \ 410 extern int iscsi_complete_pdu(struct iscsi_conn *, struct iscsi_hdr *, 412 extern int __iscsi_complete_pdu(struct iscsi_conn *, struct iscsi_hdr *, [all …]
|
D | libiscsi_tcp.h | 68 struct iscsi_conn *iscsi_conn; member 96 extern int iscsi_tcp_recv_skb(struct iscsi_conn *conn, struct sk_buff *skb,
|
D | scsi_transport_iscsi.h | 37 struct iscsi_conn; 128 void (*parse_pdu_itt) (struct iscsi_conn *conn, itt_t itt,
|
/linux-2.6.39/drivers/scsi/ |
D | iscsi_tcp.c | 85 struct iscsi_conn *conn = rd_desc->arg.data; in iscsi_sw_tcp_recv() 113 struct iscsi_conn *conn = (struct iscsi_conn*)sk->sk_user_data; in iscsi_sw_sk_state_check() 126 struct iscsi_conn *conn = sk->sk_user_data; in iscsi_sw_tcp_data_ready() 155 struct iscsi_conn *conn; in iscsi_sw_tcp_state_change() 161 conn = (struct iscsi_conn*)sk->sk_user_data; in iscsi_sw_tcp_state_change() 181 struct iscsi_conn *conn = (struct iscsi_conn*)sk->sk_user_data; in iscsi_sw_tcp_write_space() 190 static void iscsi_sw_tcp_conn_set_callbacks(struct iscsi_conn *conn) in iscsi_sw_tcp_conn_set_callbacks() 209 iscsi_sw_tcp_conn_restore_callbacks(struct iscsi_conn *conn) in iscsi_sw_tcp_conn_restore_callbacks() 286 static int iscsi_sw_tcp_xmit(struct iscsi_conn *conn) in iscsi_sw_tcp_xmit() 336 static inline int iscsi_sw_tcp_xmit_qlen(struct iscsi_conn *conn) in iscsi_sw_tcp_xmit_qlen() [all …]
|
D | libiscsi_tcp.c | 198 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, "copied %u %u size %u %s\n", in iscsi_tcp_segment_done() 233 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, "total copied %u total size %u\n", in iscsi_tcp_segment_done() 245 if (!(tcp_conn->iscsi_conn->session->tt->caps & CAP_PADDING_OFFLOAD)) { in iscsi_tcp_segment_done() 248 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, in iscsi_tcp_segment_done() 298 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, in iscsi_tcp_segment_recv() 304 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, "copying %d\n", copy); in iscsi_tcp_segment_recv() 331 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, "digest mismatch\n"); in iscsi_tcp_dgst_verify() 398 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, in iscsi_tcp_hdr_recv_prep() 399 "(%s)\n", tcp_conn->iscsi_conn->hdrdgst_en ? in iscsi_tcp_hdr_recv_prep() 414 struct iscsi_conn *conn = tcp_conn->iscsi_conn; in iscsi_tcp_data_recv_done() [all …]
|
D | libiscsi.c | 103 inline void iscsi_conn_queue_work(struct iscsi_conn *conn) in iscsi_conn_queue_work() 162 struct iscsi_conn *conn = task->conn; in iscsi_prep_data_out_pdu() 284 struct iscsi_conn *conn = task->conn; in iscsi_check_tmf_restrictions() 360 struct iscsi_conn *conn = task->conn; in iscsi_prep_scsi_cmd_pdu() 505 struct iscsi_conn *conn = task->conn; in iscsi_free_task() 569 struct iscsi_conn *conn = task->conn; in iscsi_complete_task() 609 struct iscsi_conn *conn = task->conn; in iscsi_complete_scsi_task() 627 struct iscsi_conn *conn = task->conn; in fail_scsi_task() 664 static int iscsi_prep_mgmt_task(struct iscsi_conn *conn, in iscsi_prep_mgmt_task() 711 __iscsi_conn_send_pdu(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in __iscsi_conn_send_pdu() [all …]
|
/linux-2.6.39/drivers/infiniband/ulp/iser/ |
D | iscsi_iser.h | 266 struct iscsi_conn *iscsi_conn;/* ptr to iscsi conn */ member 302 int iser_conn_set_full_featured_mode(struct iscsi_conn *conn); 304 int iser_send_control(struct iscsi_conn *conn, 307 int iser_send_command(struct iscsi_conn *conn, 310 int iser_send_data_out(struct iscsi_conn *conn, 314 void iscsi_iser_recv(struct iscsi_conn *conn,
|
D | iscsi_iser.c | 95 iscsi_iser_recv(struct iscsi_conn *conn, in iscsi_iser_recv() 190 iscsi_iser_mtask_xmit(struct iscsi_conn *conn, struct iscsi_task *task) in iscsi_iser_mtask_xmit() 208 iscsi_iser_task_xmit_unsol_data(struct iscsi_conn *conn, in iscsi_iser_task_xmit_unsol_data() 240 struct iscsi_conn *conn = task->conn; in iscsi_iser_task_xmit() 291 struct iscsi_conn *conn; in iscsi_iser_conn_create() 308 iser_conn->iscsi_conn = conn; in iscsi_iser_conn_create() 316 struct iscsi_conn *conn = cls_conn->dd_data; in iscsi_iser_conn_destroy() 337 struct iscsi_conn *conn = cls_conn->dd_data; in iscsi_iser_conn_bind() 372 struct iscsi_conn *conn = cls_conn->dd_data; in iscsi_iser_conn_stop() 394 struct iscsi_conn *conn = cls_conn->dd_data; in iscsi_iser_conn_start() [all …]
|
D | iser_memory.c | 358 struct iscsi_conn *iscsi_conn = iser_task->iser_conn->iscsi_conn; in iser_reg_rdma_mem() local 373 iscsi_conn->fmr_unalign_cnt++; in iser_reg_rdma_mem()
|
D | iser_initiator.c | 242 int iser_conn_set_full_featured_mode(struct iscsi_conn *conn) in iser_conn_set_full_featured_mode() 266 int iser_send_command(struct iscsi_conn *conn, in iser_send_command() 325 int iser_send_data_out(struct iscsi_conn *conn, in iser_send_data_out() 388 int iser_send_control(struct iscsi_conn *conn, in iser_send_control() 464 iscsi_iser_recv(conn->iscsi_conn, hdr, in iser_rcv_completion()
|
D | iser_verbs.c | 464 iscsi_conn_failure(ib_conn->iser_conn->iscsi_conn, in iser_disconnected_handler() 752 iscsi_conn_failure(ib_conn->iser_conn->iscsi_conn, in iser_handle_comp_error()
|
/linux-2.6.39/drivers/scsi/be2iscsi/ |
D | be_iscsi.c | 121 struct iscsi_conn *conn; in beiscsi_conn_create() 179 struct iscsi_conn *conn = cls_conn->dd_data; in beiscsi_conn_bind() 247 struct iscsi_conn *conn = cls_conn->dd_data; in beiscsi_set_param() 364 struct iscsi_conn *conn = cls_conn->dd_data; in beiscsi_conn_get_stats() 391 struct iscsi_conn *conn = beiscsi_conn->conn; in beiscsi_set_params_for_offld() 421 struct iscsi_conn *conn = cls_conn->dd_data; in beiscsi_conn_start()
|
D | be_iscsi.h | 33 void beiscsi_offload_iscsi(struct beiscsi_hba *phba, struct iscsi_conn *conn,
|
D | be_main.c | 70 struct iscsi_conn *conn; in beiscsi_eh_abort() 141 struct iscsi_conn *conn; in beiscsi_eh_device_reset() 943 struct iscsi_conn *conn = beiscsi_conn->conn; in beiscsi_process_async_pdu() 1141 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_io() 1210 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_logout() 1241 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_tmf() 1269 struct iscsi_conn *conn = beiscsi_conn->conn; in hwi_complete_drvr_msgs() 1296 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_nopin_resp() 1322 struct iscsi_conn *conn = beiscsi_conn->conn; in hwi_complete_cmd() 3757 static void beiscsi_parse_pdu(struct iscsi_conn *conn, itt_t itt, in beiscsi_parse_pdu() [all …]
|
D | be_main.h | 360 struct iscsi_conn *conn;
|
/linux-2.6.39/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 1453 struct iscsi_conn *conn = task->conn; in task_reserve_itt() 1488 void cxgbi_parse_pdu_itt(struct iscsi_conn *conn, itt_t itt, int *idx, int *age) in cxgbi_parse_pdu_itt() 1511 struct iscsi_conn *conn = csk->user_data; in cxgbi_conn_tx_open() 1524 static inline int read_pdu_skb(struct iscsi_conn *conn, in read_pdu_skb() 1565 static int skb_read_pdu_bhs(struct iscsi_conn *conn, struct sk_buff *skb) in skb_read_pdu_bhs() 1589 static int skb_read_pdu_data(struct iscsi_conn *conn, struct sk_buff *lskb, in skb_read_pdu_data() 1656 struct iscsi_conn *conn = csk->user_data; in cxgbi_conn_pdu_ready() 1842 struct iscsi_conn *conn = task->conn; in cxgbi_conn_alloc_pdu() 1901 struct iscsi_conn *conn = task->conn; in cxgbi_conn_init_pdu() 2075 struct iscsi_conn *conn = cls_conn->dd_data; in cxgbi_get_conn_stats() [all …]
|
D | libcxgbi.h | 563 struct iscsi_conn *iconn; 734 void cxgbi_parse_pdu_itt(struct iscsi_conn *, itt_t, int *, int *);
|
/linux-2.6.39/drivers/scsi/bnx2i/ |
D | bnx2i_iscsi.c | 1145 struct iscsi_conn *conn = task->conn; in bnx2i_cleanup_task() 1174 bnx2i_mtask_xmit(struct iscsi_conn *conn, struct iscsi_task *task) in bnx2i_mtask_xmit() 1202 struct iscsi_conn *conn = task->conn; in bnx2i_task_xmit() 1337 struct iscsi_conn *conn; in bnx2i_conn_create() 1381 struct iscsi_conn *conn = cls_conn->dd_data; in bnx2i_conn_bind() 1447 struct iscsi_conn *conn = cls_conn->dd_data; in bnx2i_conn_destroy() 1551 struct iscsi_conn *conn = cls_conn->dd_data; in bnx2i_conn_start() 1586 struct iscsi_conn *conn = cls_conn->dd_data; in bnx2i_conn_get_stats() 1664 struct iscsi_conn *conn = ep->conn->cls_conn->dd_data; in bnx2i_tear_down_conn() 1980 struct iscsi_conn *conn = NULL; in bnx2i_hw_ep_disconnect() [all …]
|
D | bnx2i_hwi.c | 382 struct iscsi_conn *conn = bnx2i_conn->cls_conn->dd_data; in bnx2i_send_iscsi_tmf() 637 void bnx2i_update_iscsi_conn(struct iscsi_conn *conn) in bnx2i_update_iscsi_conn() 1340 struct iscsi_conn *conn = bnx2i_conn->cls_conn->dd_data; in bnx2i_process_scsi_cmd_resp() 1426 struct iscsi_conn *conn = bnx2i_conn->cls_conn->dd_data; in bnx2i_process_login_resp() 1494 struct iscsi_conn *conn = bnx2i_conn->cls_conn->dd_data; in bnx2i_process_text_resp() 1555 struct iscsi_conn *conn = bnx2i_conn->cls_conn->dd_data; in bnx2i_process_tmf_resp() 1594 struct iscsi_conn *conn = bnx2i_conn->cls_conn->dd_data; in bnx2i_process_logout_resp() 1640 struct iscsi_conn *conn = bnx2i_conn->cls_conn->dd_data; in bnx2i_process_nopin_local_cmpl() 1681 struct iscsi_conn *conn = bnx2i_conn->cls_conn->dd_data; in bnx2i_process_nopin_mesg() 1783 struct iscsi_conn *conn = bnx2i_conn->cls_conn->dd_data; in bnx2i_process_reject_mesg() [all …]
|
D | bnx2i.h | 767 extern void bnx2i_update_iscsi_conn(struct iscsi_conn *conn);
|
/linux-2.6.39/drivers/net/ |
D | cnic.h | 291 atomic_t iscsi_conn; member
|
D | cnic.c | 1778 if (atomic_inc_return(&cp->iscsi_conn) > dev->max_iscsi_conn) { in cnic_bnx2x_iscsi_ofld1() 1779 atomic_dec(&cp->iscsi_conn); in cnic_bnx2x_iscsi_ofld1() 1784 atomic_dec(&cp->iscsi_conn); in cnic_bnx2x_iscsi_ofld1() 1791 atomic_dec(&cp->iscsi_conn); in cnic_bnx2x_iscsi_ofld1() 1881 atomic_dec(&cp->iscsi_conn); in cnic_bnx2x_iscsi_destroy() 3921 if (atomic_read(&cp->iscsi_conn) != 0) in cnic_cm_stop_bnx2x_hw() 3923 atomic_read(&cp->iscsi_conn)); in cnic_cm_stop_bnx2x_hw() 3987 atomic_dec(&cp->iscsi_conn); in cnic_delete_task()
|