fw_ddb_entry 296 drivers/scsi/qla4xxx/ql4_def.h struct dev_db_entry fw_ddb_entry; fw_ddb_entry 39 drivers/scsi/qla4xxx/ql4_glbl.h struct dev_db_entry *fw_ddb_entry, fw_ddb_entry 167 drivers/scsi/qla4xxx/ql4_glbl.h struct dev_db_entry *fw_ddb_entry, fw_ddb_entry 196 drivers/scsi/qla4xxx/ql4_glbl.h struct dev_db_entry *fw_ddb_entry, fw_ddb_entry 1207 drivers/scsi/qla4xxx/ql4_init.c struct dev_db_entry *fw_ddb_entry = NULL; fw_ddb_entry 1225 drivers/scsi/qla4xxx/ql4_init.c fw_ddb_entry = dma_pool_alloc(ha->fw_ddb_dma_pool, GFP_KERNEL, fw_ddb_entry 1227 drivers/scsi/qla4xxx/ql4_init.c if (fw_ddb_entry == NULL) { fw_ddb_entry 1241 drivers/scsi/qla4xxx/ql4_init.c memcpy(fw_ddb_entry, &ddb_entry->fw_ddb_entry, fw_ddb_entry 1261 drivers/scsi/qla4xxx/ql4_init.c if (fw_ddb_entry) fw_ddb_entry 1262 drivers/scsi/qla4xxx/ql4_init.c dma_pool_free(ha->fw_ddb_dma_pool, fw_ddb_entry, fw_ddb_dma); fw_ddb_entry 824 drivers/scsi/qla4xxx/ql4_mbx.c struct dev_db_entry *fw_ddb_entry, fw_ddb_entry 846 drivers/scsi/qla4xxx/ql4_mbx.c if (fw_ddb_entry) fw_ddb_entry 847 drivers/scsi/qla4xxx/ql4_mbx.c memset(fw_ddb_entry, 0, sizeof(struct dev_db_entry)); fw_ddb_entry 868 drivers/scsi/qla4xxx/ql4_mbx.c if (fw_ddb_entry) { fw_ddb_entry 869 drivers/scsi/qla4xxx/ql4_mbx.c options = le16_to_cpu(fw_ddb_entry->options); fw_ddb_entry 876 drivers/scsi/qla4xxx/ql4_mbx.c fw_ddb_entry->ip_addr, fw_ddb_entry 877 drivers/scsi/qla4xxx/ql4_mbx.c le16_to_cpu(fw_ddb_entry->port), fw_ddb_entry 878 drivers/scsi/qla4xxx/ql4_mbx.c fw_ddb_entry->iscsi_name); fw_ddb_entry 885 drivers/scsi/qla4xxx/ql4_mbx.c fw_ddb_entry->ip_addr, fw_ddb_entry 886 drivers/scsi/qla4xxx/ql4_mbx.c le16_to_cpu(fw_ddb_entry->port), fw_ddb_entry 887 drivers/scsi/qla4xxx/ql4_mbx.c fw_ddb_entry->iscsi_name); fw_ddb_entry 1493 drivers/scsi/qla4xxx/ql4_mbx.c struct dev_db_entry *fw_ddb_entry, fw_ddb_entry 1500 drivers/scsi/qla4xxx/ql4_mbx.c memset(fw_ddb_entry, 0, sizeof(*fw_ddb_entry)); fw_ddb_entry 1502 drivers/scsi/qla4xxx/ql4_mbx.c dev_db_start_offset += (ddb_index * sizeof(*fw_ddb_entry)); fw_ddb_entry 1513 drivers/scsi/qla4xxx/ql4_mbx.c sizeof(*fw_ddb_entry)) != QLA_SUCCESS) { fw_ddb_entry 1519 drivers/scsi/qla4xxx/ql4_mbx.c if (fw_ddb_entry->cookie == DDB_VALID_COOKIE) fw_ddb_entry 1527 drivers/scsi/qla4xxx/ql4_mbx.c struct dev_db_entry *fw_ddb_entry, fw_ddb_entry 1534 drivers/scsi/qla4xxx/ql4_mbx.c memset(fw_ddb_entry, 0, sizeof(*fw_ddb_entry)); fw_ddb_entry 1552 drivers/scsi/qla4xxx/ql4_mbx.c dev_db_start_offset += (ddb_index * sizeof(*fw_ddb_entry)); fw_ddb_entry 1562 drivers/scsi/qla4xxx/ql4_mbx.c sizeof(*fw_ddb_entry)) != QLA_SUCCESS) { fw_ddb_entry 1568 drivers/scsi/qla4xxx/ql4_mbx.c if (fw_ddb_entry->cookie == DDB_VALID_COOKIE) fw_ddb_entry 1985 drivers/scsi/qla4xxx/ql4_mbx.c struct dev_db_entry *fw_ddb_entry; fw_ddb_entry 2000 drivers/scsi/qla4xxx/ql4_mbx.c fw_ddb_entry = dma_alloc_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 2002 drivers/scsi/qla4xxx/ql4_mbx.c if (!fw_ddb_entry) { fw_ddb_entry 2024 drivers/scsi/qla4xxx/ql4_mbx.c ptid = (uint16_t *)&fw_ddb_entry->isid[1]; fw_ddb_entry 2027 drivers/scsi/qla4xxx/ql4_mbx.c DEBUG2(ql4_printk(KERN_INFO, ha, "ISID [%pmR]\n", fw_ddb_entry->isid)); fw_ddb_entry 2029 drivers/scsi/qla4xxx/ql4_mbx.c iscsi_opts = le16_to_cpu(fw_ddb_entry->iscsi_options); fw_ddb_entry 2030 drivers/scsi/qla4xxx/ql4_mbx.c memset(fw_ddb_entry->iscsi_alias, 0, sizeof(fw_ddb_entry->iscsi_alias)); fw_ddb_entry 2032 drivers/scsi/qla4xxx/ql4_mbx.c memset(fw_ddb_entry->iscsi_name, 0, sizeof(fw_ddb_entry->iscsi_name)); fw_ddb_entry 2035 drivers/scsi/qla4xxx/ql4_mbx.c memcpy(fw_ddb_entry->iscsi_name, sess->targetname, fw_ddb_entry 2037 drivers/scsi/qla4xxx/ql4_mbx.c sizeof(fw_ddb_entry->iscsi_name))); fw_ddb_entry 2040 drivers/scsi/qla4xxx/ql4_mbx.c memset(fw_ddb_entry->ip_addr, 0, sizeof(fw_ddb_entry->ip_addr)); fw_ddb_entry 2041 drivers/scsi/qla4xxx/ql4_mbx.c memset(fw_ddb_entry->tgt_addr, 0, sizeof(fw_ddb_entry->tgt_addr)); fw_ddb_entry 2043 drivers/scsi/qla4xxx/ql4_mbx.c fw_ddb_entry->options = DDB_OPT_TARGET | DDB_OPT_AUTO_SENDTGTS_DISABLE; fw_ddb_entry 2048 drivers/scsi/qla4xxx/ql4_mbx.c memcpy(fw_ddb_entry->ip_addr, ip, IP_ADDR_LEN); fw_ddb_entry 2049 drivers/scsi/qla4xxx/ql4_mbx.c fw_ddb_entry->port = cpu_to_le16(ntohs(addr->sin_port)); fw_ddb_entry 2052 drivers/scsi/qla4xxx/ql4_mbx.c __func__, fw_ddb_entry->ip_addr, fw_ddb_entry 2057 drivers/scsi/qla4xxx/ql4_mbx.c memcpy(fw_ddb_entry->ip_addr, ip, IPv6_ADDR_LEN); fw_ddb_entry 2058 drivers/scsi/qla4xxx/ql4_mbx.c fw_ddb_entry->port = cpu_to_le16(ntohs(addr6->sin6_port)); fw_ddb_entry 2059 drivers/scsi/qla4xxx/ql4_mbx.c fw_ddb_entry->options |= DDB_OPT_IPV6_DEVICE; fw_ddb_entry 2062 drivers/scsi/qla4xxx/ql4_mbx.c __func__, fw_ddb_entry->ip_addr, fw_ddb_entry 2083 drivers/scsi/qla4xxx/ql4_mbx.c fw_ddb_entry->chap_tbl_idx = cpu_to_le16(idx); fw_ddb_entry 2106 drivers/scsi/qla4xxx/ql4_mbx.c fw_ddb_entry->iscsi_options = cpu_to_le16(iscsi_opts); fw_ddb_entry 2109 drivers/scsi/qla4xxx/ql4_mbx.c fw_ddb_entry->iscsi_max_rcv_data_seg_len = fw_ddb_entry 2113 drivers/scsi/qla4xxx/ql4_mbx.c fw_ddb_entry->iscsi_max_outsnd_r2t = cpu_to_le16(sess->max_r2t); fw_ddb_entry 2116 drivers/scsi/qla4xxx/ql4_mbx.c fw_ddb_entry->iscsi_first_burst_len = fw_ddb_entry 2120 drivers/scsi/qla4xxx/ql4_mbx.c fw_ddb_entry->iscsi_max_burst_len = fw_ddb_entry 2124 drivers/scsi/qla4xxx/ql4_mbx.c fw_ddb_entry->iscsi_def_time2wait = fw_ddb_entry 2128 drivers/scsi/qla4xxx/ql4_mbx.c fw_ddb_entry->iscsi_def_time2retain = fw_ddb_entry 2137 drivers/scsi/qla4xxx/ql4_mbx.c dma_free_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 2138 drivers/scsi/qla4xxx/ql4_mbx.c fw_ddb_entry, fw_ddb_entry_dma); fw_ddb_entry 2955 drivers/scsi/qla4xxx/ql4_os.c if (ddb_entry->fw_ddb_entry.options & DDB_OPT_IPV6_DEVICE) { fw_ddb_entry 3109 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry = NULL; fw_ddb_entry 3120 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry = dma_alloc_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 3122 drivers/scsi/qla4xxx/ql4_os.c if (!fw_ddb_entry) { fw_ddb_entry 3131 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry, fw_ddb_entry_dma, fw_ddb_entry 3154 drivers/scsi/qla4xxx/ql4_os.c if (fw_ddb_entry) fw_ddb_entry 3155 drivers/scsi/qla4xxx/ql4_os.c dma_free_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 3156 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry, fw_ddb_entry_dma); fw_ddb_entry 3220 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry = NULL; fw_ddb_entry 3244 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry = dma_alloc_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 3246 drivers/scsi/qla4xxx/ql4_os.c if (!fw_ddb_entry) { fw_ddb_entry 3290 drivers/scsi/qla4xxx/ql4_os.c if (fw_ddb_entry) fw_ddb_entry 3291 drivers/scsi/qla4xxx/ql4_os.c dma_free_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 3292 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry, fw_ddb_entry_dma); fw_ddb_entry 3471 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry) fw_ddb_entry 3476 drivers/scsi/qla4xxx/ql4_os.c options = le16_to_cpu(fw_ddb_entry->options); fw_ddb_entry 3495 drivers/scsi/qla4xxx/ql4_os.c options = le16_to_cpu(fw_ddb_entry->iscsi_options); fw_ddb_entry 3515 drivers/scsi/qla4xxx/ql4_os.c options = le16_to_cpu(fw_ddb_entry->tcp_options); fw_ddb_entry 3529 drivers/scsi/qla4xxx/ql4_os.c options = le16_to_cpu(fw_ddb_entry->ip_options); fw_ddb_entry 3533 drivers/scsi/qla4xxx/ql4_os.c le16_to_cpu(fw_ddb_entry->iscsi_max_rcv_data_seg_len); fw_ddb_entry 3535 drivers/scsi/qla4xxx/ql4_os.c le16_to_cpu(fw_ddb_entry->iscsi_max_snd_data_seg_len); fw_ddb_entry 3537 drivers/scsi/qla4xxx/ql4_os.c le16_to_cpu(fw_ddb_entry->iscsi_first_burst_len); fw_ddb_entry 3539 drivers/scsi/qla4xxx/ql4_os.c le16_to_cpu(fw_ddb_entry->iscsi_max_burst_len); fw_ddb_entry 3540 drivers/scsi/qla4xxx/ql4_os.c sess->max_r2t = le16_to_cpu(fw_ddb_entry->iscsi_max_outsnd_r2t); fw_ddb_entry 3541 drivers/scsi/qla4xxx/ql4_os.c sess->time2wait = le16_to_cpu(fw_ddb_entry->iscsi_def_time2wait); fw_ddb_entry 3542 drivers/scsi/qla4xxx/ql4_os.c sess->time2retain = le16_to_cpu(fw_ddb_entry->iscsi_def_time2retain); fw_ddb_entry 3543 drivers/scsi/qla4xxx/ql4_os.c sess->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); fw_ddb_entry 3544 drivers/scsi/qla4xxx/ql4_os.c conn->max_segment_size = le16_to_cpu(fw_ddb_entry->mss); fw_ddb_entry 3545 drivers/scsi/qla4xxx/ql4_os.c conn->tcp_xmit_wsf = fw_ddb_entry->tcp_xmt_wsf; fw_ddb_entry 3546 drivers/scsi/qla4xxx/ql4_os.c conn->tcp_recv_wsf = fw_ddb_entry->tcp_rcv_wsf; fw_ddb_entry 3547 drivers/scsi/qla4xxx/ql4_os.c conn->ipv6_flow_label = le16_to_cpu(fw_ddb_entry->ipv6_flow_lbl); fw_ddb_entry 3548 drivers/scsi/qla4xxx/ql4_os.c conn->keepalive_timeout = le16_to_cpu(fw_ddb_entry->ka_timeout); fw_ddb_entry 3549 drivers/scsi/qla4xxx/ql4_os.c conn->local_port = le16_to_cpu(fw_ddb_entry->lcl_port); fw_ddb_entry 3550 drivers/scsi/qla4xxx/ql4_os.c conn->statsn = le32_to_cpu(fw_ddb_entry->stat_sn); fw_ddb_entry 3551 drivers/scsi/qla4xxx/ql4_os.c conn->exp_statsn = le32_to_cpu(fw_ddb_entry->exp_stat_sn); fw_ddb_entry 3552 drivers/scsi/qla4xxx/ql4_os.c sess->discovery_parent_idx = le16_to_cpu(fw_ddb_entry->ddb_link); fw_ddb_entry 3553 drivers/scsi/qla4xxx/ql4_os.c sess->discovery_parent_type = le16_to_cpu(fw_ddb_entry->ddb_link); fw_ddb_entry 3554 drivers/scsi/qla4xxx/ql4_os.c sess->chap_out_idx = le16_to_cpu(fw_ddb_entry->chap_tbl_idx); fw_ddb_entry 3555 drivers/scsi/qla4xxx/ql4_os.c sess->tsid = le16_to_cpu(fw_ddb_entry->tsid); fw_ddb_entry 3558 drivers/scsi/qla4xxx/ql4_os.c le16_to_cpu(fw_ddb_entry->def_timeout); fw_ddb_entry 3559 drivers/scsi/qla4xxx/ql4_os.c conn->port = le16_to_cpu(fw_ddb_entry->port); fw_ddb_entry 3561 drivers/scsi/qla4xxx/ql4_os.c options = le16_to_cpu(fw_ddb_entry->options); fw_ddb_entry 3574 drivers/scsi/qla4xxx/ql4_os.c memcpy(conn->ipaddress, fw_ddb_entry->ip_addr, IPv6_ADDR_LEN); fw_ddb_entry 3575 drivers/scsi/qla4xxx/ql4_os.c memcpy(conn->redirect_ipaddr, fw_ddb_entry->tgt_addr, IPv6_ADDR_LEN); fw_ddb_entry 3578 drivers/scsi/qla4xxx/ql4_os.c conn->ipv6_traffic_class = fw_ddb_entry->ipv4_tos; fw_ddb_entry 3581 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->link_local_ipv6_addr, fw_ddb_entry 3588 drivers/scsi/qla4xxx/ql4_os.c conn->ipv4_tos = fw_ddb_entry->ipv4_tos; fw_ddb_entry 3591 drivers/scsi/qla4xxx/ql4_os.c if (fw_ddb_entry->iscsi_name[0]) { fw_ddb_entry 3593 drivers/scsi/qla4xxx/ql4_os.c (char *)fw_ddb_entry->iscsi_name); fw_ddb_entry 3598 drivers/scsi/qla4xxx/ql4_os.c if (fw_ddb_entry->iscsi_alias[0]) { fw_ddb_entry 3600 drivers/scsi/qla4xxx/ql4_os.c (char *)fw_ddb_entry->iscsi_alias); fw_ddb_entry 3605 drivers/scsi/qla4xxx/ql4_os.c COPY_ISID(sess->isid, fw_ddb_entry->isid); fw_ddb_entry 3613 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry) fw_ddb_entry 3618 drivers/scsi/qla4xxx/ql4_os.c options = le16_to_cpu(fw_ddb_entry->options); fw_ddb_entry 3628 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->options = cpu_to_le16(options); fw_ddb_entry 3630 drivers/scsi/qla4xxx/ql4_os.c options = le16_to_cpu(fw_ddb_entry->iscsi_options); fw_ddb_entry 3644 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->iscsi_options = cpu_to_le16(options); fw_ddb_entry 3646 drivers/scsi/qla4xxx/ql4_os.c options = le16_to_cpu(fw_ddb_entry->tcp_options); fw_ddb_entry 3654 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->tcp_options = cpu_to_le16(options); fw_ddb_entry 3656 drivers/scsi/qla4xxx/ql4_os.c options = le16_to_cpu(fw_ddb_entry->ip_options); fw_ddb_entry 3658 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->ip_options = cpu_to_le16(options); fw_ddb_entry 3660 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->iscsi_max_outsnd_r2t = cpu_to_le16(sess->max_r2t); fw_ddb_entry 3661 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->iscsi_max_rcv_data_seg_len = fw_ddb_entry 3663 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->iscsi_max_snd_data_seg_len = fw_ddb_entry 3665 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->iscsi_first_burst_len = fw_ddb_entry 3667 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->iscsi_max_burst_len = cpu_to_le16(sess->max_burst / fw_ddb_entry 3669 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->iscsi_def_time2wait = cpu_to_le16(sess->time2wait); fw_ddb_entry 3670 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->iscsi_def_time2retain = cpu_to_le16(sess->time2retain); fw_ddb_entry 3671 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->tgt_portal_grp = cpu_to_le16(sess->tpgt); fw_ddb_entry 3672 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->mss = cpu_to_le16(conn->max_segment_size); fw_ddb_entry 3673 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->tcp_xmt_wsf = (uint8_t) cpu_to_le32(conn->tcp_xmit_wsf); fw_ddb_entry 3674 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->tcp_rcv_wsf = (uint8_t) cpu_to_le32(conn->tcp_recv_wsf); fw_ddb_entry 3675 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->ipv6_flow_lbl = cpu_to_le16(conn->ipv6_flow_label); fw_ddb_entry 3676 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->ka_timeout = cpu_to_le16(conn->keepalive_timeout); fw_ddb_entry 3677 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->lcl_port = cpu_to_le16(conn->local_port); fw_ddb_entry 3678 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->stat_sn = cpu_to_le32(conn->statsn); fw_ddb_entry 3679 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->exp_stat_sn = cpu_to_le32(conn->exp_statsn); fw_ddb_entry 3680 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->ddb_link = cpu_to_le16(sess->discovery_parent_idx); fw_ddb_entry 3681 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->chap_tbl_idx = cpu_to_le16(sess->chap_out_idx); fw_ddb_entry 3682 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->tsid = cpu_to_le16(sess->tsid); fw_ddb_entry 3683 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->port = cpu_to_le16(conn->port); fw_ddb_entry 3684 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->def_timeout = fw_ddb_entry 3688 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->ipv4_tos = conn->ipv6_traffic_class; fw_ddb_entry 3690 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->ipv4_tos = conn->ipv4_tos; fw_ddb_entry 3693 drivers/scsi/qla4xxx/ql4_os.c memcpy(fw_ddb_entry->ip_addr, conn->ipaddress, fw_ddb_entry 3694 drivers/scsi/qla4xxx/ql4_os.c sizeof(fw_ddb_entry->ip_addr)); fw_ddb_entry 3697 drivers/scsi/qla4xxx/ql4_os.c memcpy(fw_ddb_entry->tgt_addr, conn->redirect_ipaddr, fw_ddb_entry 3698 drivers/scsi/qla4xxx/ql4_os.c sizeof(fw_ddb_entry->tgt_addr)); fw_ddb_entry 3701 drivers/scsi/qla4xxx/ql4_os.c memcpy(fw_ddb_entry->link_local_ipv6_addr, fw_ddb_entry 3703 drivers/scsi/qla4xxx/ql4_os.c sizeof(fw_ddb_entry->link_local_ipv6_addr)); fw_ddb_entry 3706 drivers/scsi/qla4xxx/ql4_os.c memcpy(fw_ddb_entry->iscsi_name, sess->targetname, fw_ddb_entry 3707 drivers/scsi/qla4xxx/ql4_os.c sizeof(fw_ddb_entry->iscsi_name)); fw_ddb_entry 3710 drivers/scsi/qla4xxx/ql4_os.c memcpy(fw_ddb_entry->iscsi_alias, sess->targetalias, fw_ddb_entry 3711 drivers/scsi/qla4xxx/ql4_os.c sizeof(fw_ddb_entry->iscsi_alias)); fw_ddb_entry 3713 drivers/scsi/qla4xxx/ql4_os.c COPY_ISID(fw_ddb_entry->isid, sess->isid); fw_ddb_entry 3720 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry) fw_ddb_entry 3727 drivers/scsi/qla4xxx/ql4_os.c options = le16_to_cpu(fw_ddb_entry->options); fw_ddb_entry 3733 drivers/scsi/qla4xxx/ql4_os.c options = le16_to_cpu(fw_ddb_entry->iscsi_options); fw_ddb_entry 3752 drivers/scsi/qla4xxx/ql4_os.c options = le16_to_cpu(fw_ddb_entry->tcp_options); fw_ddb_entry 3766 drivers/scsi/qla4xxx/ql4_os.c options = le16_to_cpu(fw_ddb_entry->ip_options); fw_ddb_entry 3770 drivers/scsi/qla4xxx/ql4_os.c le16_to_cpu(fw_ddb_entry->iscsi_max_rcv_data_seg_len); fw_ddb_entry 3772 drivers/scsi/qla4xxx/ql4_os.c le16_to_cpu(fw_ddb_entry->iscsi_max_snd_data_seg_len); fw_ddb_entry 3773 drivers/scsi/qla4xxx/ql4_os.c sess->max_r2t = le16_to_cpu(fw_ddb_entry->iscsi_max_outsnd_r2t); fw_ddb_entry 3775 drivers/scsi/qla4xxx/ql4_os.c le16_to_cpu(fw_ddb_entry->iscsi_first_burst_len); fw_ddb_entry 3777 drivers/scsi/qla4xxx/ql4_os.c le16_to_cpu(fw_ddb_entry->iscsi_max_burst_len); fw_ddb_entry 3778 drivers/scsi/qla4xxx/ql4_os.c sess->time2wait = le16_to_cpu(fw_ddb_entry->iscsi_def_time2wait); fw_ddb_entry 3779 drivers/scsi/qla4xxx/ql4_os.c sess->time2retain = le16_to_cpu(fw_ddb_entry->iscsi_def_time2retain); fw_ddb_entry 3780 drivers/scsi/qla4xxx/ql4_os.c sess->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); fw_ddb_entry 3781 drivers/scsi/qla4xxx/ql4_os.c conn->max_segment_size = le16_to_cpu(fw_ddb_entry->mss); fw_ddb_entry 3782 drivers/scsi/qla4xxx/ql4_os.c conn->tcp_xmit_wsf = fw_ddb_entry->tcp_xmt_wsf; fw_ddb_entry 3783 drivers/scsi/qla4xxx/ql4_os.c conn->tcp_recv_wsf = fw_ddb_entry->tcp_rcv_wsf; fw_ddb_entry 3784 drivers/scsi/qla4xxx/ql4_os.c conn->ipv4_tos = fw_ddb_entry->ipv4_tos; fw_ddb_entry 3785 drivers/scsi/qla4xxx/ql4_os.c conn->keepalive_tmo = le16_to_cpu(fw_ddb_entry->ka_timeout); fw_ddb_entry 3786 drivers/scsi/qla4xxx/ql4_os.c conn->local_port = le16_to_cpu(fw_ddb_entry->lcl_port); fw_ddb_entry 3787 drivers/scsi/qla4xxx/ql4_os.c conn->statsn = le32_to_cpu(fw_ddb_entry->stat_sn); fw_ddb_entry 3788 drivers/scsi/qla4xxx/ql4_os.c conn->exp_statsn = le32_to_cpu(fw_ddb_entry->exp_stat_sn); fw_ddb_entry 3789 drivers/scsi/qla4xxx/ql4_os.c sess->tsid = le16_to_cpu(fw_ddb_entry->tsid); fw_ddb_entry 3790 drivers/scsi/qla4xxx/ql4_os.c COPY_ISID(sess->isid, fw_ddb_entry->isid); fw_ddb_entry 3792 drivers/scsi/qla4xxx/ql4_os.c ddb_link = le16_to_cpu(fw_ddb_entry->ddb_link); fw_ddb_entry 3806 drivers/scsi/qla4xxx/ql4_os.c (char *)fw_ddb_entry->iscsi_alias, 0); fw_ddb_entry 3808 drivers/scsi/qla4xxx/ql4_os.c options = le16_to_cpu(fw_ddb_entry->options); fw_ddb_entry 3811 drivers/scsi/qla4xxx/ql4_os.c sprintf(ip_addr, "%pI6", fw_ddb_entry->link_local_ipv6_addr); fw_ddb_entry 3818 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry, fw_ddb_entry 3835 drivers/scsi/qla4xxx/ql4_os.c ddb_entry->chap_tbl_idx = le16_to_cpu(fw_ddb_entry->chap_tbl_idx); fw_ddb_entry 3837 drivers/scsi/qla4xxx/ql4_os.c qla4xxx_copy_to_sess_conn_params(conn, sess, fw_ddb_entry); fw_ddb_entry 3839 drivers/scsi/qla4xxx/ql4_os.c sess->def_taskmgmt_tmo = le16_to_cpu(fw_ddb_entry->def_timeout); fw_ddb_entry 3840 drivers/scsi/qla4xxx/ql4_os.c conn->persistent_port = le16_to_cpu(fw_ddb_entry->port); fw_ddb_entry 3843 drivers/scsi/qla4xxx/ql4_os.c options = le16_to_cpu(fw_ddb_entry->options); fw_ddb_entry 3848 drivers/scsi/qla4xxx/ql4_os.c sprintf(ip_addr, "%pI6", fw_ddb_entry->ip_addr); fw_ddb_entry 3851 drivers/scsi/qla4xxx/ql4_os.c sprintf(ip_addr, "%pI4", fw_ddb_entry->ip_addr); fw_ddb_entry 3857 drivers/scsi/qla4xxx/ql4_os.c (char *)fw_ddb_entry->iscsi_name, buflen); fw_ddb_entry 3882 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry; fw_ddb_entry 3884 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry = dma_alloc_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 3886 drivers/scsi/qla4xxx/ql4_os.c if (!fw_ddb_entry) { fw_ddb_entry 3892 drivers/scsi/qla4xxx/ql4_os.c if (qla4xxx_get_fwddb_entry(ha, ddb_entry->fw_ddb_index, fw_ddb_entry, fw_ddb_entry 3907 drivers/scsi/qla4xxx/ql4_os.c qla4xxx_copy_fwddb_param(ha, fw_ddb_entry, cls_sess, cls_conn); fw_ddb_entry 3910 drivers/scsi/qla4xxx/ql4_os.c if (fw_ddb_entry) fw_ddb_entry 3911 drivers/scsi/qla4xxx/ql4_os.c dma_free_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 3912 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry, fw_ddb_entry_dma); fw_ddb_entry 3924 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry; fw_ddb_entry 3926 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry = dma_alloc_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 3928 drivers/scsi/qla4xxx/ql4_os.c if (!fw_ddb_entry) { fw_ddb_entry 3934 drivers/scsi/qla4xxx/ql4_os.c if (qla4xxx_get_fwddb_entry(ha, ddb_entry->fw_ddb_index, fw_ddb_entry, fw_ddb_entry 3952 drivers/scsi/qla4xxx/ql4_os.c (le16_to_cpu(fw_ddb_entry->def_timeout) > LOGIN_TOV) && fw_ddb_entry 3953 drivers/scsi/qla4xxx/ql4_os.c (le16_to_cpu(fw_ddb_entry->def_timeout) < LOGIN_TOV * 10) ? fw_ddb_entry 3954 drivers/scsi/qla4xxx/ql4_os.c le16_to_cpu(fw_ddb_entry->def_timeout) : LOGIN_TOV; fw_ddb_entry 3956 drivers/scsi/qla4xxx/ql4_os.c le16_to_cpu(fw_ddb_entry->iscsi_def_time2wait); fw_ddb_entry 3959 drivers/scsi/qla4xxx/ql4_os.c ddb_entry->chap_tbl_idx = le16_to_cpu(fw_ddb_entry->chap_tbl_idx); fw_ddb_entry 3960 drivers/scsi/qla4xxx/ql4_os.c qla4xxx_copy_to_sess_conn_params(conn, sess, fw_ddb_entry); fw_ddb_entry 3966 drivers/scsi/qla4xxx/ql4_os.c if (fw_ddb_entry) fw_ddb_entry 3967 drivers/scsi/qla4xxx/ql4_os.c dma_free_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 3968 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry, fw_ddb_entry_dma); fw_ddb_entry 6052 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry; fw_ddb_entry 6058 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry = dma_alloc_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 6060 drivers/scsi/qla4xxx/ql4_os.c if (!fw_ddb_entry) { fw_ddb_entry 6068 drivers/scsi/qla4xxx/ql4_os.c if (qla4xxx_bootdb_by_index(ha, fw_ddb_entry, fw_ddb_entry 6077 drivers/scsi/qla4xxx/ql4_os.c memcpy(boot_sess->target_name, fw_ddb_entry->iscsi_name, fw_ddb_entry 6079 drivers/scsi/qla4xxx/ql4_os.c sizeof(fw_ddb_entry->iscsi_name))); fw_ddb_entry 6081 drivers/scsi/qla4xxx/ql4_os.c options = le16_to_cpu(fw_ddb_entry->options); fw_ddb_entry 6084 drivers/scsi/qla4xxx/ql4_os.c &fw_ddb_entry->ip_addr[0], IPv6_ADDR_LEN); fw_ddb_entry 6088 drivers/scsi/qla4xxx/ql4_os.c &fw_ddb_entry->ip_addr[0], IP_ADDR_LEN); fw_ddb_entry 6091 drivers/scsi/qla4xxx/ql4_os.c boot_conn->dest_port = le16_to_cpu(fw_ddb_entry->port); fw_ddb_entry 6094 drivers/scsi/qla4xxx/ql4_os.c idx = __le16_to_cpu(fw_ddb_entry->chap_tbl_idx); fw_ddb_entry 6096 drivers/scsi/qla4xxx/ql4_os.c if (BIT_7 & le16_to_cpu(fw_ddb_entry->iscsi_options)) { fw_ddb_entry 6114 drivers/scsi/qla4xxx/ql4_os.c if (BIT_4 & le16_to_cpu(fw_ddb_entry->iscsi_options)) { fw_ddb_entry 6133 drivers/scsi/qla4xxx/ql4_os.c dma_free_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 6134 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry, fw_ddb_entry_dma); fw_ddb_entry 6271 drivers/scsi/qla4xxx/ql4_os.c static void qla4xxx_convert_param_ddb(struct dev_db_entry *fw_ddb_entry, fw_ddb_entry 6277 drivers/scsi/qla4xxx/ql4_os.c tddb->tpgt = le32_to_cpu(fw_ddb_entry->tgt_portal_grp); fw_ddb_entry 6278 drivers/scsi/qla4xxx/ql4_os.c memcpy(&tddb->iscsi_name[0], &fw_ddb_entry->iscsi_name[0], fw_ddb_entry 6279 drivers/scsi/qla4xxx/ql4_os.c min(sizeof(tddb->iscsi_name), sizeof(fw_ddb_entry->iscsi_name))); fw_ddb_entry 6281 drivers/scsi/qla4xxx/ql4_os.c options = le16_to_cpu(fw_ddb_entry->options); fw_ddb_entry 6283 drivers/scsi/qla4xxx/ql4_os.c sprintf(tddb->ip_addr, "%pI6", fw_ddb_entry->ip_addr); fw_ddb_entry 6285 drivers/scsi/qla4xxx/ql4_os.c sprintf(tddb->ip_addr, "%pI4", fw_ddb_entry->ip_addr); fw_ddb_entry 6287 drivers/scsi/qla4xxx/ql4_os.c tddb->port = le16_to_cpu(fw_ddb_entry->port); fw_ddb_entry 6290 drivers/scsi/qla4xxx/ql4_os.c memcpy(&tddb->isid[0], &fw_ddb_entry->isid[0], fw_ddb_entry 6336 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry, fw_ddb_entry 6361 drivers/scsi/qla4xxx/ql4_os.c qla4xxx_convert_param_ddb(fw_ddb_entry, fw_tddb, NULL); fw_ddb_entry 6396 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry; fw_ddb_entry 6399 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry = &nt_ddb_idx->fw_ddb; fw_ddb_entry 6401 drivers/scsi/qla4xxx/ql4_os.c if (memcmp(&fw_ddb_entry->isid[0], &isid[0], fw_ddb_entry 6421 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry) fw_ddb_entry 6425 drivers/scsi/qla4xxx/ql4_os.c base_value = fw_ddb_entry->isid[1] & 0x1f; fw_ddb_entry 6427 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->isid[1] = (base_value | (i << 5)); fw_ddb_entry 6428 drivers/scsi/qla4xxx/ql4_os.c if (qla4xxx_check_existing_isid(list_nt, fw_ddb_entry->isid)) fw_ddb_entry 6432 drivers/scsi/qla4xxx/ql4_os.c if (!qla4xxx_check_existing_isid(list_nt, fw_ddb_entry->isid)) fw_ddb_entry 6483 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry) fw_ddb_entry 6506 drivers/scsi/qla4xxx/ql4_os.c qla4xxx_convert_param_ddb(fw_ddb_entry, fw_tddb, NULL); fw_ddb_entry 6522 drivers/scsi/qla4xxx/ql4_os.c rval = qla4xxx_update_isid(ha, list_nt, fw_ddb_entry); fw_ddb_entry 6551 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry) fw_ddb_entry 6565 drivers/scsi/qla4xxx/ql4_os.c if (fw_ddb_entry->options & DDB_OPT_IPV6_DEVICE) { fw_ddb_entry 6570 drivers/scsi/qla4xxx/ql4_os.c memcpy(ip, fw_ddb_entry->ip_addr, IPv6_ADDR_LEN); fw_ddb_entry 6571 drivers/scsi/qla4xxx/ql4_os.c addr6->sin6_port = htons(le16_to_cpu(fw_ddb_entry->port)); fw_ddb_entry 6578 drivers/scsi/qla4xxx/ql4_os.c memcpy(ip, fw_ddb_entry->ip_addr, IP_ADDR_LEN); fw_ddb_entry 6579 drivers/scsi/qla4xxx/ql4_os.c addr->sin_port = htons(le16_to_cpu(fw_ddb_entry->port)); fw_ddb_entry 6613 drivers/scsi/qla4xxx/ql4_os.c def_timeout = le16_to_cpu(ddb_entry->fw_ddb_entry.def_timeout); fw_ddb_entry 6618 drivers/scsi/qla4xxx/ql4_os.c le16_to_cpu(ddb_entry->fw_ddb_entry.iscsi_def_time2wait); fw_ddb_entry 6670 drivers/scsi/qla4xxx/ql4_os.c static int qla4xxx_cmp_fw_stentry(struct dev_db_entry *fw_ddb_entry, fw_ddb_entry 6676 drivers/scsi/qla4xxx/ql4_os.c options = le16_to_cpu(fw_ddb_entry->options); fw_ddb_entry 6680 drivers/scsi/qla4xxx/ql4_os.c if (memcmp(fw_ddb_entry->ip_addr, flash_ddb_entry->ip_addr, ip_len)) fw_ddb_entry 6683 drivers/scsi/qla4xxx/ql4_os.c if (memcmp(&fw_ddb_entry->isid[0], &flash_ddb_entry->isid[0], fw_ddb_entry 6684 drivers/scsi/qla4xxx/ql4_os.c sizeof(fw_ddb_entry->isid))) fw_ddb_entry 6687 drivers/scsi/qla4xxx/ql4_os.c if (memcmp(&fw_ddb_entry->port, &flash_ddb_entry->port, fw_ddb_entry 6688 drivers/scsi/qla4xxx/ql4_os.c sizeof(fw_ddb_entry->port))) fw_ddb_entry 6695 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry, fw_ddb_entry 6709 drivers/scsi/qla4xxx/ql4_os.c if (flash_ddb_entry == NULL || fw_ddb_entry == NULL) { fw_ddb_entry 6717 drivers/scsi/qla4xxx/ql4_os.c status = qla4xxx_cmp_fw_stentry(fw_ddb_entry, flash_ddb_entry); fw_ddb_entry 6731 drivers/scsi/qla4xxx/ql4_os.c status = qla4xxx_cmp_fw_stentry(fw_ddb_entry, flash_ddb_entry); fw_ddb_entry 6757 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry; fw_ddb_entry 6765 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry = dma_pool_alloc(ha->fw_ddb_dma_pool, GFP_KERNEL, fw_ddb_entry 6767 drivers/scsi/qla4xxx/ql4_os.c if (fw_ddb_entry == NULL) { fw_ddb_entry 6777 drivers/scsi/qla4xxx/ql4_os.c ret = qla4xxx_get_fwddb_entry(ha, idx, fw_ddb_entry, fw_ddb_dma, fw_ddb_entry 6788 drivers/scsi/qla4xxx/ql4_os.c if (strlen((char *) fw_ddb_entry->iscsi_name) != 0) fw_ddb_entry 6795 drivers/scsi/qla4xxx/ql4_os.c ret = qla4xxx_find_flash_st_idx(ha, fw_ddb_entry, idx, fw_ddb_entry 6817 drivers/scsi/qla4xxx/ql4_os.c if (fw_ddb_entry) fw_ddb_entry 6818 drivers/scsi/qla4xxx/ql4_os.c dma_pool_free(ha->fw_ddb_dma_pool, fw_ddb_entry, fw_ddb_dma); fw_ddb_entry 6854 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry) fw_ddb_entry 6867 drivers/scsi/qla4xxx/ql4_os.c ddb_link = le16_to_cpu(fw_ddb_entry->ddb_link); fw_ddb_entry 6875 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry, fw_ddb_entry 6911 drivers/scsi/qla4xxx/ql4_os.c memcpy(&ddb_entry->fw_ddb_entry, fw_ddb_entry, fw_ddb_entry 6926 drivers/scsi/qla4xxx/ql4_os.c ep = qla4xxx_get_ep_fwdb(ha, fw_ddb_entry); fw_ddb_entry 6937 drivers/scsi/qla4xxx/ql4_os.c qla4xxx_copy_fwddb_param(ha, fw_ddb_entry, cls_sess, cls_conn); fw_ddb_entry 6938 drivers/scsi/qla4xxx/ql4_os.c qla4xxx_update_sess_disc_idx(ha, ddb_entry, fw_ddb_entry); fw_ddb_entry 6957 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry) fw_ddb_entry 6962 drivers/scsi/qla4xxx/ql4_os.c ddb_link = le16_to_cpu(fw_ddb_entry->ddb_link); fw_ddb_entry 6969 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->ddb_link = fw_ddb_entry 6981 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry; fw_ddb_entry 6994 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry = dma_pool_alloc(ha->fw_ddb_dma_pool, GFP_KERNEL, fw_ddb_entry 6996 drivers/scsi/qla4xxx/ql4_os.c if (fw_ddb_entry == NULL) { fw_ddb_entry 7005 drivers/scsi/qla4xxx/ql4_os.c ret = qla4xxx_get_fwddb_entry(ha, idx, fw_ddb_entry, fw_ddb_dma, fw_ddb_entry 7015 drivers/scsi/qla4xxx/ql4_os.c if (strlen((char *) fw_ddb_entry->iscsi_name) == 0) fw_ddb_entry 7018 drivers/scsi/qla4xxx/ql4_os.c ddb_link = le16_to_cpu(fw_ddb_entry->ddb_link); fw_ddb_entry 7020 drivers/scsi/qla4xxx/ql4_os.c qla4xxx_update_fw_ddb_link(ha, list_st, fw_ddb_entry); fw_ddb_entry 7042 drivers/scsi/qla4xxx/ql4_os.c &fw_ddb_entry->isid[0], fw_ddb_entry 7046 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry); fw_ddb_entry 7054 drivers/scsi/qla4xxx/ql4_os.c memcpy(&nt_ddb_idx->fw_ddb, fw_ddb_entry, fw_ddb_entry 7059 drivers/scsi/qla4xxx/ql4_os.c ret = qla4xxx_is_session_exists(ha, fw_ddb_entry, fw_ddb_entry 7067 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry); fw_ddb_entry 7072 drivers/scsi/qla4xxx/ql4_os.c ret = qla4xxx_sess_conn_setup(ha, fw_ddb_entry, is_reset, idx); fw_ddb_entry 7082 drivers/scsi/qla4xxx/ql4_os.c if (fw_ddb_entry) fw_ddb_entry 7083 drivers/scsi/qla4xxx/ql4_os.c dma_pool_free(ha->fw_ddb_dma_pool, fw_ddb_entry, fw_ddb_dma); fw_ddb_entry 7090 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry; fw_ddb_entry 7100 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry = dma_pool_alloc(ha->fw_ddb_dma_pool, GFP_KERNEL, fw_ddb_entry 7102 drivers/scsi/qla4xxx/ql4_os.c if (fw_ddb_entry == NULL) { fw_ddb_entry 7111 drivers/scsi/qla4xxx/ql4_os.c ret = qla4xxx_get_fwddb_entry(ha, idx, fw_ddb_entry, fw_ddb_dma, fw_ddb_entry 7118 drivers/scsi/qla4xxx/ql4_os.c if (strlen((char *)fw_ddb_entry->iscsi_name) == 0) fw_ddb_entry 7133 drivers/scsi/qla4xxx/ql4_os.c ret = qla4xxx_is_session_exists(ha, fw_ddb_entry, NULL); fw_ddb_entry 7141 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->ddb_link = cpu_to_le16(target_id); fw_ddb_entry 7145 drivers/scsi/qla4xxx/ql4_os.c ret = qla4xxx_sess_conn_setup(ha, fw_ddb_entry, RESET_ADAPTER, fw_ddb_entry 7156 drivers/scsi/qla4xxx/ql4_os.c if (fw_ddb_entry) fw_ddb_entry 7157 drivers/scsi/qla4xxx/ql4_os.c dma_pool_free(ha->fw_ddb_dma_pool, fw_ddb_entry, fw_ddb_dma); fw_ddb_entry 7198 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry, fw_ddb_entry 7235 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry); fw_ddb_entry 7267 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry = NULL; fw_ddb_entry 7285 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry = dma_alloc_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 7287 drivers/scsi/qla4xxx/ql4_os.c if (!fw_ddb_entry) { fw_ddb_entry 7306 drivers/scsi/qla4xxx/ql4_os.c if (qla4xxx_flashdb_by_index(ha, fw_ddb_entry, fw_ddb_entry 7321 drivers/scsi/qla4xxx/ql4_os.c rval = qla4xxx_sysfs_ddb_tgt_create(ha, fw_ddb_entry, &idx, 1); fw_ddb_entry 7324 drivers/scsi/qla4xxx/ql4_os.c if (fw_ddb_entry) fw_ddb_entry 7325 drivers/scsi/qla4xxx/ql4_os.c dma_free_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 7326 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry, fw_ddb_entry_dma); fw_ddb_entry 7347 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry = NULL; fw_ddb_entry 7352 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry = dma_alloc_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 7354 drivers/scsi/qla4xxx/ql4_os.c if (!fw_ddb_entry) { fw_ddb_entry 7370 drivers/scsi/qla4xxx/ql4_os.c sizeof(*fw_ddb_entry)); fw_ddb_entry 7372 drivers/scsi/qla4xxx/ql4_os.c qla4xxx_copy_to_fwddb_param(fnode_sess, fnode_conn, fw_ddb_entry); fw_ddb_entry 7373 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->cookie = DDB_VALID_COOKIE; fw_ddb_entry 7376 drivers/scsi/qla4xxx/ql4_os.c sizeof(*fw_ddb_entry), FLASH_OPT_RMW_COMMIT); fw_ddb_entry 7391 drivers/scsi/qla4xxx/ql4_os.c if (fw_ddb_entry) fw_ddb_entry 7392 drivers/scsi/qla4xxx/ql4_os.c dma_free_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 7393 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry, fw_ddb_entry_dma); fw_ddb_entry 7398 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry, fw_ddb_entry 7418 drivers/scsi/qla4xxx/ql4_os.c memcpy(ddb_entry, fw_ddb_entry, sizeof(*ddb_entry)); fw_ddb_entry 7461 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry, fw_ddb_entry 7483 drivers/scsi/qla4xxx/ql4_os.c ret = qla4xxx_sysfs_ddb_conn_open(ha, fw_ddb_entry, ddb_index); fw_ddb_entry 7509 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry, fw_ddb_entry 7514 drivers/scsi/qla4xxx/ql4_os.c ret = qla4xxx_is_session_exists(ha, fw_ddb_entry, NULL); fw_ddb_entry 7516 drivers/scsi/qla4xxx/ql4_os.c ret = qla4xxx_sess_conn_setup(ha, fw_ddb_entry, RESET_ADAPTER, fw_ddb_entry 7536 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry = NULL; fw_ddb_entry 7548 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry = dma_alloc_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 7550 drivers/scsi/qla4xxx/ql4_os.c if (!fw_ddb_entry) { fw_ddb_entry 7565 drivers/scsi/qla4xxx/ql4_os.c qla4xxx_copy_to_fwddb_param(fnode_sess, fnode_conn, fw_ddb_entry); fw_ddb_entry 7566 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->cookie = DDB_VALID_COOKIE; fw_ddb_entry 7568 drivers/scsi/qla4xxx/ql4_os.c if (strlen((char *)fw_ddb_entry->iscsi_name) == 0) fw_ddb_entry 7569 drivers/scsi/qla4xxx/ql4_os.c ret = qla4xxx_ddb_login_st(ha, fw_ddb_entry, fw_ddb_entry 7572 drivers/scsi/qla4xxx/ql4_os.c ret = qla4xxx_ddb_login_nt(ha, fw_ddb_entry, fw_ddb_entry 7579 drivers/scsi/qla4xxx/ql4_os.c if (fw_ddb_entry) fw_ddb_entry 7580 drivers/scsi/qla4xxx/ql4_os.c dma_free_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 7581 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry, fw_ddb_entry_dma); fw_ddb_entry 7596 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry = NULL; fw_ddb_entry 7623 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry = dma_alloc_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 7625 drivers/scsi/qla4xxx/ql4_os.c if (!fw_ddb_entry) { fw_ddb_entry 7636 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry, fw_ddb_entry_dma, fw_ddb_entry 7663 drivers/scsi/qla4xxx/ql4_os.c memset(fw_ddb_entry, 0, sizeof(*fw_ddb_entry)); fw_ddb_entry 7667 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry, fw_ddb_entry_dma, fw_ddb_entry 7702 drivers/scsi/qla4xxx/ql4_os.c if (fw_ddb_entry) fw_ddb_entry 7703 drivers/scsi/qla4xxx/ql4_os.c dma_free_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 7704 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry, fw_ddb_entry_dma); fw_ddb_entry 7722 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry = NULL; fw_ddb_entry 7731 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry = dma_pool_alloc(ha->fw_ddb_dma_pool, GFP_KERNEL, fw_ddb_entry 7733 drivers/scsi/qla4xxx/ql4_os.c if (fw_ddb_entry == NULL) { fw_ddb_entry 7793 drivers/scsi/qla4xxx/ql4_os.c status = qla4xxx_get_fwddb_entry(ha, index, fw_ddb_entry, fw_ddb_entry 7802 drivers/scsi/qla4xxx/ql4_os.c qla4xxx_convert_param_ddb(fw_ddb_entry, tmp_tddb, NULL); fw_ddb_entry 7820 drivers/scsi/qla4xxx/ql4_os.c if (fw_ddb_entry) fw_ddb_entry 7821 drivers/scsi/qla4xxx/ql4_os.c dma_pool_free(ha->fw_ddb_dma_pool, fw_ddb_entry, fw_ddb_dma); fw_ddb_entry 8315 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry = NULL; fw_ddb_entry 8338 drivers/scsi/qla4xxx/ql4_os.c sizeof(*fw_ddb_entry)); fw_ddb_entry 8339 drivers/scsi/qla4xxx/ql4_os.c ddb_size = sizeof(*fw_ddb_entry); fw_ddb_entry 8353 drivers/scsi/qla4xxx/ql4_os.c sizeof(*fw_ddb_entry)); fw_ddb_entry 8380 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry = pddb; fw_ddb_entry 8381 drivers/scsi/qla4xxx/ql4_os.c memset(fw_ddb_entry, 0, ddb_size); fw_ddb_entry 8382 drivers/scsi/qla4xxx/ql4_os.c ddb_cookie = &fw_ddb_entry->cookie; fw_ddb_entry 8413 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry = NULL; fw_ddb_entry 8419 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry = dma_alloc_coherent(&ha->pdev->dev, fw_ddb_entry 8420 drivers/scsi/qla4xxx/ql4_os.c sizeof(*fw_ddb_entry), fw_ddb_entry 8422 drivers/scsi/qla4xxx/ql4_os.c if (!fw_ddb_entry) { fw_ddb_entry 8433 drivers/scsi/qla4xxx/ql4_os.c if (qla4xxx_flashdb_by_index(ha, fw_ddb_entry, fw_ddb_entry_dma, fw_ddb_entry 8437 drivers/scsi/qla4xxx/ql4_os.c ret = qla4xxx_sysfs_ddb_tgt_create(ha, fw_ddb_entry, &idx, 0); fw_ddb_entry 8444 drivers/scsi/qla4xxx/ql4_os.c dma_free_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry, fw_ddb_entry 8531 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry = NULL; fw_ddb_entry 8540 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry = dma_alloc_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 8542 drivers/scsi/qla4xxx/ql4_os.c if (!fw_ddb_entry) { fw_ddb_entry 8562 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry, fw_ddb_entry_dma, fw_ddb_entry 8586 drivers/scsi/qla4xxx/ql4_os.c if (fw_ddb_entry) fw_ddb_entry 8587 drivers/scsi/qla4xxx/ql4_os.c dma_free_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 8588 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry, fw_ddb_entry_dma); fw_ddb_entry 8909 drivers/scsi/qla4xxx/ql4_os.c struct dev_db_entry *fw_ddb_entry = NULL; fw_ddb_entry 8922 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry = dma_alloc_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 8924 drivers/scsi/qla4xxx/ql4_os.c if (!fw_ddb_entry) { fw_ddb_entry 8933 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry, fw_ddb_entry_dma, fw_ddb_entry 8947 drivers/scsi/qla4xxx/ql4_os.c dma_free_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), fw_ddb_entry 8948 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry, fw_ddb_entry_dma);