/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | conn.c | 48 static int mlx5_fpga_conn_map_buf(struct mlx5_fpga_conn *conn, in mlx5_fpga_conn_map_buf() argument 57 dma_device = mlx5_core_dma_dev(conn->fdev->mdev); in mlx5_fpga_conn_map_buf() 62 mlx5_fpga_warn(conn->fdev, "DMA error on sg 0: %d\n", err); in mlx5_fpga_conn_map_buf() 74 mlx5_fpga_warn(conn->fdev, "DMA error on sg 1: %d\n", err); in mlx5_fpga_conn_map_buf() 84 static void mlx5_fpga_conn_unmap_buf(struct mlx5_fpga_conn *conn, in mlx5_fpga_conn_unmap_buf() argument 89 dma_device = mlx5_core_dma_dev(conn->fdev->mdev); in mlx5_fpga_conn_unmap_buf() 99 static int mlx5_fpga_conn_post_recv(struct mlx5_fpga_conn *conn, in mlx5_fpga_conn_post_recv() argument 106 err = mlx5_fpga_conn_map_buf(conn, buf); in mlx5_fpga_conn_post_recv() 110 if (unlikely(conn->qp.rq.pc - conn->qp.rq.cc >= conn->qp.rq.size)) { in mlx5_fpga_conn_post_recv() 111 mlx5_fpga_conn_unmap_buf(conn, buf); in mlx5_fpga_conn_post_recv() [all …]
|
/drivers/target/iscsi/ |
D | iscsi_target_login.c | 38 static struct iscsi_login *iscsi_login_init_conn(struct iscsi_conn *conn) in iscsi_login_init_conn() argument 47 conn->login = login; in iscsi_login_init_conn() 48 login->conn = conn; in iscsi_login_init_conn() 63 conn->conn_login = login; in iscsi_login_init_conn() 78 int iscsi_login_setup_crypto(struct iscsi_conn *conn) in iscsi_login_setup_crypto() argument 93 conn->conn_rx_hash = ahash_request_alloc(tfm, GFP_KERNEL); in iscsi_login_setup_crypto() 94 if (!conn->conn_rx_hash) { in iscsi_login_setup_crypto() 99 ahash_request_set_callback(conn->conn_rx_hash, 0, NULL, NULL); in iscsi_login_setup_crypto() 101 conn->conn_tx_hash = ahash_request_alloc(tfm, GFP_KERNEL); in iscsi_login_setup_crypto() 102 if (!conn->conn_tx_hash) { in iscsi_login_setup_crypto() [all …]
|
D | iscsi_target_nego.c | 98 struct iscsi_conn *conn, in iscsi_handle_authentication() argument 105 struct iscsi_session *sess = conn->sess; in iscsi_handle_authentication() 115 se_nacl = conn->sess->se_sess->se_node_acl; in iscsi_handle_authentication() 141 strcpy(conn->sess->auth_type, "CHAP"); in iscsi_handle_authentication() 143 strcpy(conn->sess->auth_type, NONE); in iscsi_handle_authentication() 148 return chap_main_loop(conn, auth, in_buf, out_buf, in iscsi_handle_authentication() 154 static void iscsi_remove_failed_auth_entry(struct iscsi_conn *conn) in iscsi_remove_failed_auth_entry() argument 156 kfree(conn->auth_protocol); in iscsi_remove_failed_auth_entry() 160 struct iscsi_conn *conn, in iscsi_target_check_login_request() argument 176 iscsit_tx_login_rsp(conn, ISCSI_STATUS_CLS_INITIATOR_ERR, in iscsi_target_check_login_request() [all …]
|
D | iscsi_target_util.c | 61 iscsit_add_cmd_to_immediate_queue(cmd, cmd->conn, ISTATE_SEND_R2T); in iscsit_add_r2t_to_list() 155 struct iscsi_cmd *iscsit_allocate_cmd(struct iscsi_conn *conn, int state) in iscsit_allocate_cmd() argument 158 struct se_session *se_sess = conn->sess->se_sess; in iscsit_allocate_cmd() 167 size = sizeof(struct iscsi_cmd) + conn->conn_transport->priv_size; in iscsit_allocate_cmd() 173 cmd->conn = conn; in iscsit_allocate_cmd() 285 int iscsit_sequence_cmd(struct iscsi_conn *conn, struct iscsi_cmd *cmd, in iscsit_sequence_cmd() argument 292 mutex_lock(&conn->sess->cmdsn_mutex); in iscsit_sequence_cmd() 294 cmdsn_ret = iscsit_check_received_cmdsn(conn->sess, be32_to_cpu(cmdsn)); in iscsit_sequence_cmd() 298 if ((ret >= 0) && !list_empty(&conn->sess->sess_ooo_cmdsn_list)) in iscsit_sequence_cmd() 299 iscsit_execute_ooo_cmdsns(conn->sess); in iscsit_sequence_cmd() [all …]
|
D | iscsi_target_erl0.c | 34 struct iscsi_conn *conn = cmd->conn; in iscsit_set_dataout_sequence_values() local 42 conn->sess->sess_ops->FirstBurstLength); in iscsit_set_dataout_sequence_values() 46 if (!conn->sess->sess_ops->DataSequenceInOrder) in iscsit_set_dataout_sequence_values() 52 conn->sess->sess_ops->MaxBurstLength) ? in iscsit_set_dataout_sequence_values() 54 conn->sess->sess_ops->MaxBurstLength) : cmd->se_cmd.data_length; in iscsit_set_dataout_sequence_values() 58 conn->sess->sess_ops->MaxBurstLength) >= in iscsit_set_dataout_sequence_values() 61 conn->sess->sess_ops->MaxBurstLength); in iscsit_set_dataout_sequence_values() 69 struct iscsi_conn *conn = cmd->conn; in iscsit_dataout_within_command_recovery_check() local 85 if (conn->sess->sess_ops->DataSequenceInOrder) { in iscsit_dataout_within_command_recovery_check() 103 if (conn->sess->sess_ops->DataPDUInOrder) { in iscsit_dataout_within_command_recovery_check() [all …]
|
D | iscsi_target.c | 477 int iscsit_queue_rsp(struct iscsi_conn *conn, struct iscsi_cmd *cmd) in iscsit_queue_rsp() argument 479 return iscsit_add_cmd_to_response_queue(cmd, cmd->conn, cmd->i_state); in iscsit_queue_rsp() 483 void iscsit_aborted_task(struct iscsi_conn *conn, struct iscsi_cmd *cmd) in iscsit_aborted_task() argument 485 spin_lock_bh(&conn->cmd_lock); in iscsit_aborted_task() 488 spin_unlock_bh(&conn->cmd_lock); in iscsit_aborted_task() 499 iscsit_xmit_nondatain_pdu(struct iscsi_conn *conn, struct iscsi_cmd *cmd, in iscsit_xmit_nondatain_pdu() argument 511 if (conn->conn_ops->HeaderDigest) { in iscsit_xmit_nondatain_pdu() 514 iscsit_do_crypto_hash_buf(conn->conn_tx_hash, hdr, in iscsit_xmit_nondatain_pdu() 540 if (conn->conn_ops->DataDigest) { in iscsit_xmit_nondatain_pdu() 541 iscsit_do_crypto_hash_buf(conn->conn_tx_hash, in iscsit_xmit_nondatain_pdu() [all …]
|
D | iscsi_target_erl2.c | 33 struct iscsi_conn *conn = cmd->conn; in iscsit_create_conn_recovery_datain_values() local 40 conn->conn_ops->MaxRecvDataSegmentLength) < in iscsit_create_conn_recovery_datain_values() 41 conn->sess->sess_ops->MaxBurstLength) { in iscsit_create_conn_recovery_datain_values() 43 conn->conn_ops->MaxRecvDataSegmentLength; in iscsit_create_conn_recovery_datain_values() 45 conn->conn_ops->MaxRecvDataSegmentLength; in iscsit_create_conn_recovery_datain_values() 48 (conn->sess->sess_ops->MaxBurstLength - in iscsit_create_conn_recovery_datain_values() 60 struct iscsi_conn *conn = cmd->conn; in iscsit_create_conn_recovery_dataout_values() local 66 if ((write_data_done + conn->sess->sess_ops->MaxBurstLength) <= in iscsit_create_conn_recovery_dataout_values() 68 write_data_done += conn->sess->sess_ops->MaxBurstLength; in iscsit_create_conn_recovery_dataout_values() 135 cmd->conn = NULL; in iscsit_free_connection_recovery_entries() [all …]
|
D | iscsi_target_tmr.c | 35 struct iscsi_conn *conn = cmd->conn; in iscsit_tmr_abort_task() local 40 ref_cmd = iscsit_find_cmd_from_itt(conn, hdr->rtt); in iscsit_tmr_abort_task() 43 " %hu.\n", hdr->rtt, conn->cid); in iscsit_tmr_abort_task() 44 return (iscsi_sna_gte(be32_to_cpu(hdr->refcmdsn), conn->sess->exp_cmd_sn) && in iscsit_tmr_abort_task() 45 iscsi_sna_lte(be32_to_cpu(hdr->refcmdsn), (u32) atomic_read(&conn->sess->max_cmd_sn))) ? in iscsit_tmr_abort_task() 66 struct iscsi_conn *conn, in iscsit_tmr_task_warm_reset() argument 70 struct iscsi_session *sess = conn->sess; in iscsit_tmr_task_warm_reset() 86 struct iscsi_conn *conn, in iscsit_tmr_task_cold_reset() argument 90 struct iscsi_session *sess = conn->sess; in iscsit_tmr_task_cold_reset() 110 struct iscsi_conn *conn = cmd->conn; in iscsit_tmr_task_reassign() local [all …]
|
D | iscsi_target_erl1.c | 39 struct iscsi_conn *conn, in iscsit_dump_data_payload() argument 48 if (conn->sess->sess_ops->RDMAExtensions) in iscsit_dump_data_payload() 53 if (conn->conn_ops->DataDigest) in iscsit_dump_data_payload() 73 rx_got = rx_data(conn, &iov, 1, size); in iscsit_dump_data_payload() 106 iscsit_add_cmd_to_immediate_queue(cmd, cmd->conn, ISTATE_SEND_R2T); in iscsit_send_recovery_r2t_for_snack() 176 struct iscsi_conn *conn = cmd->conn; in iscsit_create_recovery_datain_values_datasequenceinorder_yes() local 181 conn->conn_ops->MaxRecvDataSegmentLength) < in iscsit_create_recovery_datain_values_datasequenceinorder_yes() 182 conn->sess->sess_ops->MaxBurstLength) { in iscsit_create_recovery_datain_values_datasequenceinorder_yes() 184 conn->conn_ops->MaxRecvDataSegmentLength; in iscsit_create_recovery_datain_values_datasequenceinorder_yes() 186 conn->conn_ops->MaxRecvDataSegmentLength; in iscsit_create_recovery_datain_values_datasequenceinorder_yes() [all …]
|
D | iscsi_target_datain_values.c | 83 struct iscsi_conn *conn = cmd->conn; in iscsit_set_datain_values_yes_and_yes() local 110 if ((read_data_left <= conn->conn_ops->MaxRecvDataSegmentLength) && in iscsit_set_datain_values_yes_and_yes() 111 (read_data_left <= (conn->sess->sess_ops->MaxBurstLength - in iscsit_set_datain_values_yes_and_yes() 116 if (conn->sess->sess_ops->ErrorRecoveryLevel > 0) in iscsit_set_datain_values_yes_and_yes() 120 conn->conn_ops->MaxRecvDataSegmentLength) < in iscsit_set_datain_values_yes_and_yes() 121 conn->sess->sess_ops->MaxBurstLength) { in iscsit_set_datain_values_yes_and_yes() 123 conn->conn_ops->MaxRecvDataSegmentLength; in iscsit_set_datain_values_yes_and_yes() 126 datain->length = (conn->sess->sess_ops->MaxBurstLength - in iscsit_set_datain_values_yes_and_yes() 131 if (conn->sess->sess_ops->ErrorRecoveryLevel > 0) in iscsit_set_datain_values_yes_and_yes() 181 struct iscsi_conn *conn = cmd->conn; in iscsit_set_datain_values_no_and_yes() local [all …]
|
D | iscsi_target_auth.c | 38 struct iscsi_conn *conn, in chap_gen_challenge() argument 45 struct iscsi_chap *chap = conn->auth_protocol; in chap_gen_challenge() 131 static void chap_close(struct iscsi_conn *conn) in chap_close() argument 133 kfree(conn->auth_protocol); in chap_close() 134 conn->auth_protocol = NULL; in chap_close() 138 struct iscsi_conn *conn, in chap_server_open() argument 154 conn->auth_protocol = kzalloc(sizeof(struct iscsi_chap), GFP_KERNEL); in chap_server_open() 155 if (!conn->auth_protocol) in chap_server_open() 158 chap = conn->auth_protocol; in chap_server_open() 176 chap_close(conn); in chap_server_open() [all …]
|
/drivers/gpu/drm/bridge/ |
D | display-connector.c | 44 struct display_connector *conn = to_display_connector(bridge); in display_connector_detect() local 46 if (conn->hpd_gpio) { in display_connector_detect() 47 if (gpiod_get_value_cansleep(conn->hpd_gpio)) in display_connector_detect() 53 if (conn->bridge.ddc && drm_probe_ddc(conn->bridge.ddc)) in display_connector_detect() 56 switch (conn->bridge.type) { in display_connector_detect() 86 struct display_connector *conn = to_display_connector(bridge); in display_connector_get_edid() local 88 return drm_get_edid(connector, conn->bridge.ddc); in display_connector_get_edid() 108 struct drm_connector *conn = conn_state->connector; in display_connector_get_output_bus_fmts() local 116 if (conn->display_info.num_bus_formats && in display_connector_get_output_bus_fmts() 117 conn->display_info.bus_formats) in display_connector_get_output_bus_fmts() [all …]
|
/drivers/scsi/ |
D | libiscsi.c | 86 inline void iscsi_conn_queue_xmit(struct iscsi_conn *conn) in iscsi_conn_queue_xmit() argument 88 struct Scsi_Host *shost = conn->session->host; in iscsi_conn_queue_xmit() 92 queue_work(ihost->workq, &conn->xmitwork); in iscsi_conn_queue_xmit() 96 inline void iscsi_conn_queue_recv(struct iscsi_conn *conn) in iscsi_conn_queue_recv() argument 98 struct Scsi_Host *shost = conn->session->host; in iscsi_conn_queue_recv() 101 if (ihost->workq && !test_bit(ISCSI_CONN_FLAG_SUSPEND_RX, &conn->flags)) in iscsi_conn_queue_recv() 102 queue_work(ihost->workq, &conn->recvwork); in iscsi_conn_queue_recv() 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() [all …]
|
D | iscsi_tcp.c | 87 struct iscsi_conn *conn = rd_desc->arg.data; in iscsi_sw_tcp_recv() local 91 ISCSI_SW_TCP_DBG(conn, "in %d bytes\n", skb->len - offset); in iscsi_sw_tcp_recv() 95 consumed = iscsi_tcp_recv_skb(conn, skb, offset, 0, &status); in iscsi_sw_tcp_recv() 100 ISCSI_SW_TCP_DBG(conn, "read %d bytes status %d\n", in iscsi_sw_tcp_recv() 117 struct iscsi_conn *conn = sk->sk_user_data; in iscsi_sw_sk_state_check() local 120 (conn->session->state != ISCSI_STATE_LOGGING_OUT) && in iscsi_sw_sk_state_check() 122 ISCSI_SW_TCP_DBG(conn, "TCP_CLOSE|TCP_CLOSE_WAIT\n"); in iscsi_sw_sk_state_check() 123 iscsi_conn_failure(conn, ISCSI_ERR_TCP_CONN_CLOSE); in iscsi_sw_sk_state_check() 129 static void iscsi_sw_tcp_recv_data(struct iscsi_conn *conn) in iscsi_sw_tcp_recv_data() argument 131 struct iscsi_tcp_conn *tcp_conn = conn->dd_data; in iscsi_sw_tcp_recv_data() [all …]
|
D | libiscsi_tcp.c | 418 struct iscsi_conn *conn = tcp_conn->iscsi_conn; in iscsi_tcp_data_recv_done() local 424 rc = iscsi_complete_pdu(conn, tcp_conn->in.hdr, in iscsi_tcp_data_recv_done() 425 conn->data, tcp_conn->in.datalen); in iscsi_tcp_data_recv_done() 436 struct iscsi_conn *conn = tcp_conn->iscsi_conn; in iscsi_tcp_data_recv_prep() local 439 if (conn->datadgst_en && in iscsi_tcp_data_recv_prep() 440 !(conn->session->tt->caps & CAP_DIGEST_OFFLOAD)) in iscsi_tcp_data_recv_prep() 444 conn->data, tcp_conn->in.datalen, in iscsi_tcp_data_recv_prep() 468 ISCSI_DBG_TCP(task->conn, "pending r2t dropped\n"); in iscsi_tcp_cleanup_task() 486 static int iscsi_tcp_data_in(struct iscsi_conn *conn, struct iscsi_task *task) in iscsi_tcp_data_in() argument 488 struct iscsi_tcp_conn *tcp_conn = conn->dd_data; in iscsi_tcp_data_in() [all …]
|
D | scsi_transport_iscsi.c | 1611 static uint32_t iscsi_conn_get_sid(struct iscsi_cls_conn *conn) in iscsi_conn_get_sid() argument 1613 struct iscsi_cls_session *sess = iscsi_dev_to_session(conn->dev.parent); in iscsi_conn_get_sid() 1642 struct iscsi_cls_conn *conn; in iscsi_conn_lookup() local 1645 list_for_each_entry(conn, &connlist, conn_list) { in iscsi_conn_lookup() 1646 if ((conn->cid == cid) && (iscsi_conn_get_sid(conn) == sid)) { in iscsi_conn_lookup() 1648 return conn; in iscsi_conn_lookup() 2180 struct iscsi_cls_conn *conn = iscsi_dev_to_conn(dev); in iscsi_conn_release() local 2181 struct device *parent = conn->dev.parent; in iscsi_conn_release() 2183 ISCSI_DBG_TRANS_CONN(conn, "Releasing conn\n"); in iscsi_conn_release() 2184 kfree(conn); in iscsi_conn_release() [all …]
|
/drivers/s390/net/ |
D | netiucv.c | 168 struct iucv_connection *conn; member 179 struct iucv_connection *conn; member 246 static char *netiucv_printuser(struct iucv_connection *conn) in netiucv_printuser() argument 252 if (memcmp(conn->userdata, iucvMagic_ebcdic, 16)) { in netiucv_printuser() 255 memcpy(tmp_uid, netiucv_printname(conn->userid, 8), 8); in netiucv_printuser() 256 memcpy(tmp_udat, conn->userdata, 16); in netiucv_printuser() 262 return netiucv_printname(conn->userid, 8); in netiucv_printuser() 481 struct iucv_connection *conn = path->private; in netiucv_callback_rx() local 484 ev.conn = conn; in netiucv_callback_rx() 486 fsm_event(conn->fsm, CONN_EVENT_RX, &ev); in netiucv_callback_rx() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | conn.c | 35 struct nvkm_conn *conn = container_of(notify, typeof(*conn), hpd); in nvkm_conn_hpd() local 36 struct nvkm_disp *disp = conn->disp; in nvkm_conn_hpd() 40 int index = conn->index; in nvkm_conn_hpd() 42 CONN_DBG(conn, "HPD: %d", line->mask); in nvkm_conn_hpd() 44 if (!nvkm_gpio_get(gpio, 0, DCB_GPIO_UNUSED, conn->hpd.index)) in nvkm_conn_hpd() 55 nvkm_conn_fini(struct nvkm_conn *conn) in nvkm_conn_fini() argument 57 nvkm_notify_put(&conn->hpd); in nvkm_conn_fini() 61 nvkm_conn_init(struct nvkm_conn *conn) in nvkm_conn_init() argument 63 nvkm_notify_get(&conn->hpd); in nvkm_conn_init() 69 struct nvkm_conn *conn = *pconn; in nvkm_conn_del() local [all …]
|
D | base.c | 112 if (ret = -ENXIO, outp->conn->index == req->v0.conn) { in nvkm_disp_hpd_ctor() 113 if (ret = -ENODEV, outp->conn->hpd.event) { in nvkm_disp_hpd_ctor() 115 notify->index = req->v0.conn; in nvkm_disp_hpd_ctor() 220 struct nvkm_conn *conn; in nvkm_disp_fini() local 230 list_for_each_entry(conn, &disp->conn, head) { in nvkm_disp_fini() 231 nvkm_conn_fini(conn); in nvkm_disp_fini() 241 struct nvkm_conn *conn; in nvkm_disp_init() local 245 list_for_each_entry(conn, &disp->conn, head) { in nvkm_disp_init() 246 nvkm_conn_init(conn); in nvkm_disp_init() 276 struct nvkm_conn *conn; in nvkm_disp_oneinit() local [all …]
|
/drivers/block/drbd/ |
D | drbd_state.c | 140 C_WF_REPORT_PARAMS, device->state.conn); in remember_old_state() 201 max_t(enum drbd_conns, C_WF_REPORT_PARAMS, state.conn); in remember_new_state() 304 device->state.conn != C_STANDALONE || in conn_all_vols_unconf() 417 enum drbd_conns conn = C_MASK; in conn_lowest_conn() local 424 conn = min_t(enum drbd_conns, conn, device->state.conn); in conn_lowest_conn() 428 return conn; in conn_lowest_conn() 439 if (peer_device->device->state.conn == C_WF_REPORT_PARAMS) { in no_peer_wf_report_params() 470 return (os.conn >= C_CONNECTED && ns.conn >= C_CONNECTED && in cl_wide_st_chg() 472 (os.conn != C_STARTING_SYNC_T && ns.conn == C_STARTING_SYNC_T) || in cl_wide_st_chg() 473 (os.conn != C_STARTING_SYNC_S && ns.conn == C_STARTING_SYNC_S) || in cl_wide_st_chg() [all …]
|
/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 49 isert_put_response(struct iscsi_conn *conn, struct iscsi_cmd *cmd); 75 isert_prot_cmd(struct isert_conn *conn, struct se_cmd *cmd) in isert_prot_cmd() argument 77 return (conn->pi_support && in isert_prot_cmd() 452 isert_set_nego_params(isert_conn, &event->param.conn); in isert_connect_request() 644 iscsit_cause_connection_reinstatement(isert_conn->conn, 0); in isert_disconnected_handler() 916 isert_put_login_tx(struct iscsi_conn *conn, struct iscsi_login *login, in isert_put_login_tx() argument 919 struct isert_conn *isert_conn = conn->context; in isert_put_login_tx() 983 struct iscsi_conn *conn = isert_conn->conn; in isert_rx_login_req() local 984 struct iscsi_login *login = conn->conn_login; in isert_rx_login_req() 1024 schedule_delayed_work(&conn->login_work, 0); in isert_rx_login_req() [all …]
|
/drivers/target/iscsi/cxgbit/ |
D | cxgbit_target.c | 396 struct iscsi_conn *conn = csk->conn; in cxgbit_tx_datain_iso() local 401 u32 mrdsl = conn->conn_ops->MaxRecvDataSegmentLength; in cxgbit_tx_datain_iso() 439 iscsit_increment_maxcmdsn(cmd, conn->sess); in cxgbit_tx_datain_iso() 440 cmd->stat_sn = conn->stat_sn++; in cxgbit_tx_datain_iso() 454 iscsit_build_datain_pdu(cmd, conn, &datain, in cxgbit_tx_datain_iso() 513 cxgbit_xmit_datain_pdu(struct iscsi_conn *conn, struct iscsi_cmd *cmd, in cxgbit_xmit_datain_pdu() argument 517 struct cxgbit_sock *csk = conn->context; in cxgbit_xmit_datain_pdu() 520 u32 mrdsl = conn->conn_ops->MaxRecvDataSegmentLength; in cxgbit_xmit_datain_pdu() 525 &conn->sess->tx_data_octets); in cxgbit_xmit_datain_pdu() 533 cxgbit_xmit_nondatain_pdu(struct iscsi_conn *conn, struct iscsi_cmd *cmd, in cxgbit_xmit_nondatain_pdu() argument [all …]
|
/drivers/infiniband/ulp/iser/ |
D | iscsi_iser.c | 143 iscsi_iser_recv(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in iscsi_iser_recv() argument 162 rc = iscsi_complete_pdu(conn, hdr, rx_data, rx_data_len); in iscsi_iser_recv() 168 iscsi_conn_failure(conn, rc); in iscsi_iser_recv() 205 struct iser_conn *iser_conn = task->conn->dd_data; in iser_initialize_task_headers() 276 iscsi_iser_mtask_xmit(struct iscsi_conn *conn, struct iscsi_task *task) in iscsi_iser_mtask_xmit() argument 280 iser_dbg("mtask xmit [cid %d itt 0x%x]\n", conn->id, task->itt); in iscsi_iser_mtask_xmit() 282 error = iser_send_control(conn, task); in iscsi_iser_mtask_xmit() 294 iscsi_iser_task_xmit_unsol_data(struct iscsi_conn *conn, in iscsi_iser_task_xmit_unsol_data() argument 309 error = iser_send_data_out(conn, task, &hdr); in iscsi_iser_task_xmit_unsol_data() 332 struct iscsi_conn *conn = task->conn; in iscsi_iser_task_xmit() local [all …]
|
/drivers/hwtracing/coresight/ |
D | coresight-sysfs.c | 144 struct coresight_connection *conn, in coresight_make_links() argument 153 "out:%d", conn->outport); in coresight_make_links() 157 "in:%d", conn->child_port); in coresight_make_links() 175 conn->link = link; in coresight_make_links() 181 conn->child_dev = target; in coresight_make_links() 194 struct coresight_connection *conn) in coresight_remove_links() argument 196 if (!orig || !conn->link) in coresight_remove_links() 199 coresight_remove_sysfs_link(conn->link); in coresight_remove_links() 201 devm_kfree(&conn->child_dev->dev, conn->link->target_name); in coresight_remove_links() 202 devm_kfree(&orig->dev, conn->link->orig_name); in coresight_remove_links() [all …]
|
/drivers/net/wireless/ath/ath6kl/ |
D | txrx.c | 102 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() 152 if ((conn->apsd_info & (1 << traffic_class)) == 0) in ath6kl_process_uapsdq() 156 spin_lock_bh(&conn->psq_lock); in ath6kl_process_uapsdq() 157 is_apsdq_empty = skb_queue_empty(&conn->apsdq); in ath6kl_process_uapsdq() [all …]
|