Home
last modified time | relevance | path

Searched refs:conn (Results 1 – 25 of 97) sorted by relevance

1234

/drivers/target/iscsi/
Discsi_target_util.c87 iscsit_add_cmd_to_immediate_queue(cmd, cmd->conn, ISTATE_SEND_R2T); in iscsit_add_r2t_to_list()
152 struct iscsi_cmd *iscsit_alloc_cmd(struct iscsi_conn *conn, gfp_t gfp_mask) in iscsit_alloc_cmd() argument
168 struct iscsi_cmd *iscsit_allocate_cmd(struct iscsi_conn *conn, gfp_t gfp_mask) in iscsit_allocate_cmd() argument
172 cmd = conn->conn_transport->iscsit_alloc_cmd(conn, gfp_mask); in iscsit_allocate_cmd()
177 cmd->conn = conn; in iscsit_allocate_cmd()
288 struct iscsi_conn *conn, in iscsit_sequence_cmd() argument
295 mutex_lock(&conn->sess->cmdsn_mutex); in iscsit_sequence_cmd()
297 cmdsn_ret = iscsit_check_received_cmdsn(conn->sess, be32_to_cpu(cmdsn)); in iscsit_sequence_cmd()
301 if ((ret >= 0) && !list_empty(&conn->sess->sess_ooo_cmdsn_list)) in iscsit_sequence_cmd()
302 iscsit_execute_ooo_cmdsns(conn->sess); in iscsit_sequence_cmd()
[all …]
Discsi_target_login.c44 static struct iscsi_login *iscsi_login_init_conn(struct iscsi_conn *conn) in iscsi_login_init_conn() argument
53 login->conn = conn; in iscsi_login_init_conn()
68 conn->conn_ops = kzalloc(sizeof(struct iscsi_conn_ops), GFP_KERNEL); in iscsi_login_init_conn()
69 if (!conn->conn_ops) { in iscsi_login_init_conn()
75 init_waitqueue_head(&conn->queues_wq); in iscsi_login_init_conn()
76 INIT_LIST_HEAD(&conn->conn_list); in iscsi_login_init_conn()
77 INIT_LIST_HEAD(&conn->conn_cmd_list); in iscsi_login_init_conn()
78 INIT_LIST_HEAD(&conn->immed_queue_list); in iscsi_login_init_conn()
79 INIT_LIST_HEAD(&conn->response_queue_list); in iscsi_login_init_conn()
80 init_completion(&conn->conn_post_wait_comp); in iscsi_login_init_conn()
[all …]
Discsi_target_erl0.c43 struct iscsi_conn *conn = cmd->conn; in iscsit_set_dataout_sequence_values() local
52 conn->sess->sess_ops->FirstBurstLength) ? in iscsit_set_dataout_sequence_values()
53 conn->sess->sess_ops->FirstBurstLength : cmd->se_cmd.data_length)); in iscsit_set_dataout_sequence_values()
57 if (!conn->sess->sess_ops->DataSequenceInOrder) in iscsit_set_dataout_sequence_values()
63 conn->sess->sess_ops->MaxBurstLength) ? in iscsit_set_dataout_sequence_values()
65 conn->sess->sess_ops->MaxBurstLength) : cmd->se_cmd.data_length; in iscsit_set_dataout_sequence_values()
69 conn->sess->sess_ops->MaxBurstLength) >= in iscsit_set_dataout_sequence_values()
72 conn->sess->sess_ops->MaxBurstLength); in iscsit_set_dataout_sequence_values()
80 struct iscsi_conn *conn = cmd->conn; in iscsit_dataout_within_command_recovery_check() local
96 if (conn->sess->sess_ops->DataSequenceInOrder) { in iscsit_dataout_within_command_recovery_check()
[all …]
Discsi_target_nego.c105 struct iscsi_conn *conn, in iscsi_handle_authentication() argument
112 struct iscsi_session *sess = conn->sess; in iscsi_handle_authentication()
121 se_nacl = conn->sess->se_sess->se_node_acl; in iscsi_handle_authentication()
144 strcpy(conn->sess->auth_type, "CHAP"); in iscsi_handle_authentication()
146 strcpy(conn->sess->auth_type, NONE); in iscsi_handle_authentication()
152 return srp_main_loop(conn, auth, in_buf, out_buf, in iscsi_handle_authentication()
156 return chap_main_loop(conn, auth, in_buf, out_buf, in iscsi_handle_authentication()
168 static void iscsi_remove_failed_auth_entry(struct iscsi_conn *conn) in iscsi_remove_failed_auth_entry() argument
170 kfree(conn->auth_protocol); in iscsi_remove_failed_auth_entry()
174 struct iscsi_conn *conn, in iscsi_target_check_login_request() argument
[all …]
Discsi_target.c487 static int iscsit_queue_rsp(struct iscsi_conn *conn, struct iscsi_cmd *cmd) in iscsit_queue_rsp() argument
489 iscsit_add_cmd_to_response_queue(cmd, cmd->conn, cmd->i_state); in iscsit_queue_rsp()
634 struct iscsi_conn *conn) in iscsit_add_reject() argument
640 cmd = iscsit_allocate_cmd(conn, GFP_KERNEL); in iscsit_add_reject()
658 spin_lock_bh(&conn->cmd_lock); in iscsit_add_reject()
659 list_add_tail(&cmd->i_conn_node, &conn->conn_cmd_list); in iscsit_add_reject()
660 spin_unlock_bh(&conn->cmd_lock); in iscsit_add_reject()
663 iscsit_add_cmd_to_response_queue(cmd, conn, cmd->i_state); in iscsit_add_reject()
679 struct iscsi_conn *conn; in iscsit_add_reject_from_cmd() local
683 if (!cmd->conn) { in iscsit_add_reject_from_cmd()
[all …]
Discsi_target_erl2.c42 struct iscsi_conn *conn = cmd->conn; in iscsit_create_conn_recovery_datain_values() local
49 conn->conn_ops->MaxRecvDataSegmentLength) < in iscsit_create_conn_recovery_datain_values()
50 conn->sess->sess_ops->MaxBurstLength) { in iscsit_create_conn_recovery_datain_values()
52 conn->conn_ops->MaxRecvDataSegmentLength; in iscsit_create_conn_recovery_datain_values()
54 conn->conn_ops->MaxRecvDataSegmentLength; in iscsit_create_conn_recovery_datain_values()
57 (conn->sess->sess_ops->MaxBurstLength - in iscsit_create_conn_recovery_datain_values()
69 struct iscsi_conn *conn = cmd->conn; in iscsit_create_conn_recovery_dataout_values() local
75 if ((write_data_done + conn->sess->sess_ops->MaxBurstLength) <= in iscsit_create_conn_recovery_dataout_values()
77 write_data_done += conn->sess->sess_ops->MaxBurstLength; in iscsit_create_conn_recovery_dataout_values()
144 cmd->conn = NULL; in iscsit_free_connection_recovery_entires()
[all …]
Discsi_target_tmr.c45 struct iscsi_conn *conn = cmd->conn; in iscsit_tmr_abort_task() local
50 ref_cmd = iscsit_find_cmd_from_itt(conn, hdr->rtt); in iscsit_tmr_abort_task()
53 " %hu.\n", hdr->rtt, conn->cid); in iscsit_tmr_abort_task()
54 return (iscsi_sna_gte(be32_to_cpu(hdr->refcmdsn), conn->sess->exp_cmd_sn) && in iscsit_tmr_abort_task()
55 iscsi_sna_lte(be32_to_cpu(hdr->refcmdsn), conn->sess->max_cmd_sn)) ? in iscsit_tmr_abort_task()
76 struct iscsi_conn *conn, in iscsit_tmr_task_warm_reset() argument
80 struct iscsi_session *sess = conn->sess; in iscsit_tmr_task_warm_reset()
96 struct iscsi_conn *conn, in iscsit_tmr_task_cold_reset() argument
100 struct iscsi_session *sess = conn->sess; in iscsit_tmr_task_cold_reset()
120 struct iscsi_conn *conn = cmd->conn; in iscsit_tmr_task_reassign() local
[all …]
Discsi_target_erl1.c48 struct iscsi_conn *conn, in iscsit_dump_data_payload() argument
57 if (conn->sess->sess_ops->RDMAExtensions) in iscsit_dump_data_payload()
77 rx_got = rx_data(conn, &iov, 1, size); in iscsit_dump_data_payload()
94 rx_got = rx_data(conn, &iov, 1, padding); in iscsit_dump_data_payload()
101 if (conn->conn_ops->DataDigest) { in iscsit_dump_data_payload()
107 rx_got = rx_data(conn, &iov, 1, ISCSI_CRC_LEN); in iscsit_dump_data_payload()
139 iscsit_add_cmd_to_immediate_queue(cmd, cmd->conn, ISTATE_SEND_R2T); in iscsit_send_recovery_r2t_for_snack()
211 struct iscsi_conn *conn = cmd->conn; in iscsit_create_recovery_datain_values_datasequenceinorder_yes() local
216 conn->conn_ops->MaxRecvDataSegmentLength) < in iscsit_create_recovery_datain_values_datasequenceinorder_yes()
217 conn->sess->sess_ops->MaxBurstLength) { in iscsit_create_recovery_datain_values_datasequenceinorder_yes()
[all …]
Discsi_target_datain_values.c93 struct iscsi_conn *conn = cmd->conn; in iscsit_set_datain_values_yes_and_yes() local
120 if ((read_data_left <= conn->conn_ops->MaxRecvDataSegmentLength) && in iscsit_set_datain_values_yes_and_yes()
121 (read_data_left <= (conn->sess->sess_ops->MaxBurstLength - in iscsit_set_datain_values_yes_and_yes()
126 if (conn->sess->sess_ops->ErrorRecoveryLevel > 0) in iscsit_set_datain_values_yes_and_yes()
130 conn->conn_ops->MaxRecvDataSegmentLength) < in iscsit_set_datain_values_yes_and_yes()
131 conn->sess->sess_ops->MaxBurstLength) { in iscsit_set_datain_values_yes_and_yes()
133 conn->conn_ops->MaxRecvDataSegmentLength; in iscsit_set_datain_values_yes_and_yes()
136 datain->length = (conn->sess->sess_ops->MaxBurstLength - in iscsit_set_datain_values_yes_and_yes()
141 if (conn->sess->sess_ops->ErrorRecoveryLevel > 0) in iscsit_set_datain_values_yes_and_yes()
191 struct iscsi_conn *conn = cmd->conn; in iscsit_set_datain_values_no_and_yes() local
[all …]
Discsi_target_auth.c53 struct iscsi_conn *conn, in chap_gen_challenge() argument
59 struct iscsi_chap *chap = conn->auth_protocol; in chap_gen_challenge()
78 struct iscsi_conn *conn, in chap_server_open() argument
93 conn->auth_protocol = kzalloc(sizeof(struct iscsi_chap), GFP_KERNEL); in chap_server_open()
94 if (!conn->auth_protocol) in chap_server_open()
97 chap = conn->auth_protocol; in chap_server_open()
116 chap->id = ISCSI_TPG_C(conn)->tpg_chap_id++; in chap_server_open()
123 chap_gen_challenge(conn, 1, aic_str, aic_len); in chap_server_open()
128 static void chap_close(struct iscsi_conn *conn) in chap_close() argument
130 kfree(conn->auth_protocol); in chap_close()
[all …]
Discsi_target_seq_pdu_list.c223 struct iscsi_conn *conn = cmd->conn; in iscsit_determine_counts_for_list() local
226 mdsl = cmd->conn->conn_ops->MaxXmitDataSegmentLength; in iscsit_determine_counts_for_list()
228 mdsl = cmd->conn->conn_ops->MaxRecvDataSegmentLength; in iscsit_determine_counts_for_list()
237 conn->sess->sess_ops->FirstBurstLength); in iscsit_determine_counts_for_list()
259 >= conn->sess->sess_ops->FirstBurstLength) { in iscsit_determine_counts_for_list()
261 (conn->sess->sess_ops->FirstBurstLength - in iscsit_determine_counts_for_list()
263 offset += (conn->sess->sess_ops->FirstBurstLength - in iscsit_determine_counts_for_list()
279 conn->sess->sess_ops->MaxBurstLength) { in iscsit_determine_counts_for_list()
280 offset += (conn->sess->sess_ops->MaxBurstLength - in iscsit_determine_counts_for_list()
304 struct iscsi_conn *conn = cmd->conn; in iscsit_do_build_pdu_and_seq_lists() local
[all …]
Discsi_target_tq.c220 void iscsi_activate_thread_set(struct iscsi_conn *conn, struct iscsi_thread_set *ts) in iscsi_activate_thread_set() argument
225 conn->thread_set = ts; in iscsi_activate_thread_set()
226 ts->conn = conn; in iscsi_activate_thread_set()
270 void iscsi_set_thread_clear(struct iscsi_conn *conn, u8 thread_clear) in iscsi_set_thread_clear() argument
274 if (!conn->thread_set) { in iscsi_set_thread_clear()
278 ts = conn->thread_set; in iscsi_set_thread_clear()
292 void iscsi_set_thread_set_signal(struct iscsi_conn *conn, u8 signal_sent) in iscsi_set_thread_set_signal() argument
296 if (!conn->thread_set) { in iscsi_set_thread_set_signal()
300 ts = conn->thread_set; in iscsi_set_thread_set_signal()
307 int iscsi_release_thread_set(struct iscsi_conn *conn) in iscsi_release_thread_set() argument
[all …]
/drivers/scsi/
Dlibiscsi.c88 inline void iscsi_conn_queue_work(struct iscsi_conn *conn) in iscsi_conn_queue_work() argument
90 struct Scsi_Host *shost = conn->session->host; in iscsi_conn_queue_work()
94 queue_work(ihost->workq, &conn->xmitwork); in iscsi_conn_queue_work()
147 struct iscsi_conn *conn = task->conn; in iscsi_prep_data_out_pdu() local
161 if (left > conn->max_xmit_dlength) { in iscsi_prep_data_out_pdu()
162 hton24(hdr->dlength, conn->max_xmit_dlength); in iscsi_prep_data_out_pdu()
163 r2t->data_count = conn->max_xmit_dlength; in iscsi_prep_data_out_pdu()
170 conn->dataout_pdus_cnt++; in iscsi_prep_data_out_pdu()
220 ISCSI_DBG_SESSION(task->conn->session, in iscsi_prep_ecdb_ahs()
246 ISCSI_DBG_SESSION(task->conn->session, in iscsi_prep_bidi_ahs()
[all …]
Discsi_tcp.c86 struct iscsi_conn *conn = rd_desc->arg.data; in iscsi_sw_tcp_recv() local
90 ISCSI_SW_TCP_DBG(conn, "in %d bytes\n", skb->len - offset); in iscsi_sw_tcp_recv()
94 consumed = iscsi_tcp_recv_skb(conn, skb, offset, 0, &status); in iscsi_sw_tcp_recv()
99 ISCSI_SW_TCP_DBG(conn, "read %d bytes status %d\n", in iscsi_sw_tcp_recv()
116 struct iscsi_conn *conn = sk->sk_user_data; in iscsi_sw_sk_state_check() local
120 ISCSI_SW_TCP_DBG(conn, "TCP_CLOSE|TCP_CLOSE_WAIT\n"); in iscsi_sw_sk_state_check()
121 iscsi_conn_failure(conn, ISCSI_ERR_TCP_CONN_CLOSE); in iscsi_sw_sk_state_check()
129 struct iscsi_conn *conn; in iscsi_sw_tcp_data_ready() local
134 conn = sk->sk_user_data; in iscsi_sw_tcp_data_ready()
135 if (!conn) { in iscsi_sw_tcp_data_ready()
[all …]
Dlibiscsi_tcp.c415 struct iscsi_conn *conn = tcp_conn->iscsi_conn; in iscsi_tcp_data_recv_done() local
421 rc = iscsi_complete_pdu(conn, tcp_conn->in.hdr, in iscsi_tcp_data_recv_done()
422 conn->data, tcp_conn->in.datalen); in iscsi_tcp_data_recv_done()
433 struct iscsi_conn *conn = tcp_conn->iscsi_conn; in iscsi_tcp_data_recv_prep() local
436 if (conn->datadgst_en && in iscsi_tcp_data_recv_prep()
437 !(conn->session->tt->caps & CAP_DIGEST_OFFLOAD)) in iscsi_tcp_data_recv_prep()
441 conn->data, tcp_conn->in.datalen, in iscsi_tcp_data_recv_prep()
464 ISCSI_DBG_TCP(task->conn, "pending r2t dropped\n"); in iscsi_tcp_cleanup_task()
481 static int iscsi_tcp_data_in(struct iscsi_conn *conn, struct iscsi_task *task) in iscsi_tcp_data_in() argument
483 struct iscsi_tcp_conn *tcp_conn = conn->dd_data; in iscsi_tcp_data_in()
[all …]
Dscsi_transport_iscsi.c1284 static uint32_t iscsi_conn_get_sid(struct iscsi_cls_conn *conn) in iscsi_conn_get_sid() argument
1286 struct iscsi_cls_session *sess = iscsi_dev_to_session(conn->dev.parent); in iscsi_conn_get_sid()
1315 struct iscsi_cls_conn *conn; in iscsi_conn_lookup() local
1318 list_for_each_entry(conn, &connlist, conn_list) { in iscsi_conn_lookup()
1319 if ((conn->cid == cid) && (iscsi_conn_get_sid(conn) == sid)) { in iscsi_conn_lookup()
1321 return conn; in iscsi_conn_lookup()
1810 struct iscsi_cls_conn *conn = iscsi_dev_to_conn(dev); in iscsi_conn_release() local
1811 struct device *parent = conn->dev.parent; in iscsi_conn_release()
1813 ISCSI_DBG_TRANS_CONN(conn, "Releasing conn\n"); in iscsi_conn_release()
1814 kfree(conn); in iscsi_conn_release()
[all …]
/drivers/s390/net/
Dnetiucv.c244 struct iucv_connection *conn; member
255 struct iucv_connection *conn; member
323 static char *netiucv_printuser(struct iucv_connection *conn) in netiucv_printuser() argument
329 if (memcmp(conn->userdata, iucvMagic_ebcdic, 16)) { in netiucv_printuser()
332 memcpy(tmp_uid, conn->userid, 8); in netiucv_printuser()
334 memcpy(tmp_udat, conn->userdata, 16); in netiucv_printuser()
340 return netiucv_printname(conn->userid, 8); in netiucv_printuser()
562 struct iucv_connection *conn = path->private; in netiucv_callback_rx() local
565 ev.conn = conn; in netiucv_callback_rx()
567 fsm_event(conn->fsm, CONN_EVENT_RX, &ev); in netiucv_callback_rx()
[all …]
/drivers/block/drbd/
Ddrbd_state.c75 mdev->state.conn != C_STANDALONE || in conn_all_vols_unconf()
177 enum drbd_conns conn = C_MASK; in conn_lowest_conn() local
183 conn = min_t(enum drbd_conns, conn, mdev->state.conn); in conn_lowest_conn()
186 return conn; in conn_lowest_conn()
197 if (mdev->state.conn == C_WF_REPORT_PARAMS) { in no_peer_wf_report_params()
216 return (os.conn >= C_CONNECTED && ns.conn >= C_CONNECTED && in cl_wide_st_chg()
218 (os.conn != C_STARTING_SYNC_T && ns.conn == C_STARTING_SYNC_T) || in cl_wide_st_chg()
219 (os.conn != C_STARTING_SYNC_S && ns.conn == C_STARTING_SYNC_S) || in cl_wide_st_chg()
221 (os.conn >= C_CONNECTED && ns.conn == C_DISCONNECTING) || in cl_wide_st_chg()
222 (os.conn == C_CONNECTED && ns.conn == C_VERIFY_S) || in cl_wide_st_chg()
[all …]
/drivers/infiniband/ulp/iser/
Discsi_iser.c97 iscsi_iser_recv(struct iscsi_conn *conn, in iscsi_iser_recv() argument
120 rc = iscsi_complete_pdu(conn, hdr, rx_data, rx_data_len); in iscsi_iser_recv()
126 iscsi_conn_failure(conn, rc); in iscsi_iser_recv()
141 struct iscsi_iser_conn *iser_conn = task->conn->dd_data; in iser_initialize_task_headers()
194 iscsi_iser_mtask_xmit(struct iscsi_conn *conn, struct iscsi_task *task) in iscsi_iser_mtask_xmit() argument
198 iser_dbg("mtask xmit [cid %d itt 0x%x]\n", conn->id, task->itt); in iscsi_iser_mtask_xmit()
200 error = iser_send_control(conn, task); in iscsi_iser_mtask_xmit()
212 iscsi_iser_task_xmit_unsol_data(struct iscsi_conn *conn, in iscsi_iser_task_xmit_unsol_data() argument
227 error = iser_send_data_out(conn, task, &hdr); in iscsi_iser_task_xmit_unsol_data()
244 struct iscsi_conn *conn = task->conn; in iscsi_iser_task_xmit() local
[all …]
/drivers/net/wireless/ath/ath6kl/
Dtxrx.c102 static bool ath6kl_process_uapsdq(struct ath6kl_sta *conn, in ath6kl_process_uapsdq() argument
114 if (conn->sta_flags & STA_PS_APSD_TRIGGER) { in ath6kl_process_uapsdq()
120 spin_lock_bh(&conn->psq_lock); in ath6kl_process_uapsdq()
121 if (!skb_queue_empty(&conn->apsdq)) in ath6kl_process_uapsdq()
123 else if (conn->sta_flags & STA_PS_APSD_EOSP) in ath6kl_process_uapsdq()
126 spin_unlock_bh(&conn->psq_lock); in ath6kl_process_uapsdq()
128 } else if (!conn->apsd_info) in ath6kl_process_uapsdq()
151 if ((conn->apsd_info & (1 << traffic_class)) == 0) in ath6kl_process_uapsdq()
155 spin_lock_bh(&conn->psq_lock); in ath6kl_process_uapsdq()
156 is_apsdq_empty = skb_queue_empty(&conn->apsdq); in ath6kl_process_uapsdq()
[all …]
/drivers/scsi/cxgbi/
Dlibcxgbi.c1449 struct iscsi_tcp_conn *tcp_conn = task->conn->dd_data; in task_release_itt()
1466 struct iscsi_conn *conn = task->conn; in task_reserve_itt() local
1467 struct iscsi_session *sess = conn->session; in task_reserve_itt()
1468 struct iscsi_tcp_conn *tcp_conn = conn->dd_data; in task_reserve_itt()
1501 void cxgbi_parse_pdu_itt(struct iscsi_conn *conn, itt_t itt, int *idx, int *age) in cxgbi_parse_pdu_itt() argument
1503 struct iscsi_tcp_conn *tcp_conn = conn->dd_data; in cxgbi_parse_pdu_itt()
1524 struct iscsi_conn *conn = csk->user_data; in cxgbi_conn_tx_open() local
1526 if (conn) { in cxgbi_conn_tx_open()
1528 "csk 0x%p, cid %d.\n", csk, conn->id); in cxgbi_conn_tx_open()
1529 iscsi_conn_queue_work(conn); in cxgbi_conn_tx_open()
[all …]
/drivers/infiniband/ulp/isert/
Dib_isert.c394 isert_conn->responder_resources = event->param.conn.responder_resources; in isert_connect_request()
395 isert_conn->initiator_depth = event->param.conn.initiator_depth; in isert_connect_request()
755 isert_put_login_tx(struct iscsi_conn *conn, struct iscsi_login *login, in isert_put_login_tx() argument
758 struct isert_conn *isert_conn = conn->context; in isert_put_login_tx()
816 struct iscsi_conn *conn = isert_conn->conn; in isert_rx_login_req() local
817 struct iscsi_login *login = conn->conn_login; in isert_rx_login_req()
872 *isert_alloc_cmd(struct iscsi_conn *conn, gfp_t gfp) in isert_alloc_cmd() argument
874 struct isert_conn *isert_conn = (struct isert_conn *)conn->context; in isert_alloc_cmd()
882 isert_cmd->conn = isert_conn; in isert_alloc_cmd()
894 struct iscsi_conn *conn = isert_conn->conn; in isert_handle_scsi_cmd() local
[all …]
/drivers/scsi/be2iscsi/
Dbe_iscsi.c128 struct iscsi_conn *conn; in beiscsi_conn_create() local
143 conn = cls_conn->dd_data; in beiscsi_conn_create()
144 beiscsi_conn = conn->dd_data; in beiscsi_conn_create()
147 beiscsi_conn->conn = conn; in beiscsi_conn_create()
193 struct iscsi_conn *conn = cls_conn->dd_data; in beiscsi_conn_bind() local
194 struct beiscsi_conn *beiscsi_conn = conn->dd_data; in beiscsi_conn_bind()
219 beiscsi_ep->conn = beiscsi_conn; in beiscsi_conn_bind()
223 beiscsi_conn, conn, beiscsi_ep->ep_cid); in beiscsi_conn_bind()
644 struct iscsi_conn *conn = cls_conn->dd_data; in beiscsi_set_param() local
645 struct iscsi_session *session = conn->session; in beiscsi_set_param()
[all …]
/drivers/net/wireless/ath/wil6210/
Dcfg80211.c234 struct wmi_connect_cmd conn; in wil_cfg80211_connect() local
284 memset(&conn, 0, sizeof(conn)); in wil_cfg80211_connect()
287 conn.network_type = WMI_NETTYPE_INFRA; in wil_cfg80211_connect()
290 conn.network_type = WMI_NETTYPE_P2P; in wil_cfg80211_connect()
298 conn.dot11_auth_mode = WMI_AUTH11_SHARED; in wil_cfg80211_connect()
299 conn.auth_mode = WMI_AUTH_WPA2_PSK; in wil_cfg80211_connect()
300 conn.pairwise_crypto_type = WMI_CRYPT_AES_GCMP; in wil_cfg80211_connect()
301 conn.pairwise_crypto_len = 16; in wil_cfg80211_connect()
303 conn.dot11_auth_mode = WMI_AUTH11_OPEN; in wil_cfg80211_connect()
304 conn.auth_mode = WMI_AUTH_NONE; in wil_cfg80211_connect()
[all …]
/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c112 if ((start_bd_offset > task->conn->session->first_burst) || in bnx2i_setup_write_cmd_bd_info()
116 iscsi_conn_printk(KERN_ALERT, task->conn, in bnx2i_setup_write_cmd_bd_info()
122 iscsi_conn_printk(KERN_ALERT, task->conn, in bnx2i_setup_write_cmd_bd_info()
188 bd_count = bnx2i_map_scsi_sg(cmd->conn->hba, cmd); in bnx2i_iscsi_map_sg_list()
425 if (bnx2i_ep->conn) { in bnx2i_free_ep()
426 bnx2i_ep->conn->ep = NULL; in bnx2i_free_ep()
427 bnx2i_ep->conn = NULL; in bnx2i_free_ep()
1081 struct bnx2i_conn *bnx2i_conn = cmd->conn; in bnx2i_iscsi_send_generic_request()
1157 struct iscsi_conn *conn = task->conn; in bnx2i_cleanup_task() local
1158 struct bnx2i_conn *bnx2i_conn = conn->dd_data; in bnx2i_cleanup_task()
[all …]

1234