Home
last modified time | relevance | path

Searched refs:pkt_rsplen (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/fcoei/
H A Dfcoei_eth.c591 actual_size = fpkt->pkt_rsplen; in fcoei_process_sol_fcp_resp()
692 if (actual_size > fpkt->pkt_rsplen) { in fcoei_process_sol_els_rsp()
694 "0x(%x - %x)", actual_size, fpkt->pkt_rsplen); in fcoei_process_sol_els_rsp()
695 actual_size = fpkt->pkt_rsplen; in fcoei_process_sol_els_rsp()
758 actual_size = fpkt->pkt_rsplen; in fcoei_process_sol_ct_rsp()
H A Dfcoei_lv.c1834 fpkt->pkt_rsplen = 20; in fcoei_logo_peer()
1835 fpkt->pkt_resp = kmem_zalloc(fpkt->pkt_rsplen, KM_SLEEP); in fcoei_logo_peer()
1898 kmem_free(xch->xch_fpkt->pkt_resp, xch->xch_fpkt->pkt_rsplen); in fcoei_fpkt_comp()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_pkt.c112 if (pkt->pkt_rsplen) { in emlxs_pkt_free()
186 pkt->pkt_rsplen = rsplen; in emlxs_pkt_alloc()
H A Demlxs_els.c137 if (pkt->pkt_rsplen) { in emlxs_els_handle_event()
138 EMLXS_MPDATA_SYNC(pkt->pkt_resp_dma, 0, pkt->pkt_rsplen, in emlxs_els_handle_event()
174 pkt->pkt_rsplen - iocb->un.elsreq64.bdl.bdeSize; in emlxs_els_handle_event()
2870 if (pkt->pkt_rsplen) { in emlxs_menlo_handle_event()
2871 EMLXS_MPDATA_SYNC(pkt->pkt_resp_dma, 0, pkt->pkt_rsplen, in emlxs_menlo_handle_event()
2892 pkt->pkt_rsplen - iocb->unsli3.ext_iocb.rsplen; in emlxs_menlo_handle_event()
2895 pkt->pkt_rsplen - iocb->un.genreq64.bdl.bdeSize; in emlxs_menlo_handle_event()
3003 if (pkt->pkt_rsplen) { in emlxs_ct_handle_event()
3004 EMLXS_MPDATA_SYNC(pkt->pkt_resp_dma, 0, pkt->pkt_rsplen, in emlxs_ct_handle_event()
3071 pkt->pkt_rsplen - iocb->unsli3.ext_iocb.rsplen; in emlxs_ct_handle_event()
[all …]
H A Demlxs_fcp.c136 bzero((uint8_t *)pkt->pkt_resp, pkt->pkt_rsplen); in emlxs_handle_fcp_event()
186 if ((iostat != IOSTAT_FCP_RSP_ERROR) || (pkt->pkt_rsplen == 0)) { in emlxs_handle_fcp_event()
190 EMLXS_MPDATA_SYNC(pkt->pkt_resp_dma, 0, pkt->pkt_rsplen, in emlxs_handle_fcp_event()
213 if (length > pkt->pkt_rsplen) { in emlxs_handle_fcp_event()
581 if (pkt->pkt_rsplen) { in emlxs_handle_fcp_event()
582 bzero((uint8_t *)pkt->pkt_resp, pkt->pkt_rsplen); in emlxs_handle_fcp_event()
685 did, sbp, scsi_opcode, pkt->pkt_datalen, pkt->pkt_rsplen, in emlxs_handle_fcp_event()
H A Demlxs_solaris.c2242 if (pkt->pkt_rsplen) { in emlxs_initialize_pkt()
2243 bzero(pkt->pkt_resp, pkt->pkt_rsplen); in emlxs_initialize_pkt()
8556 if (pkt->pkt_rsplen) { in emlxs_fast_target_reset()
8558 pkt->pkt_rsplen); in emlxs_fast_target_reset()
10735 FC_TYPE_SCSI_FCP) && pkt->pkt_rsplen && in emlxs_set_pkt_state()
10747 pkt->pkt_resp_resid = pkt->pkt_rsplen; in emlxs_set_pkt_state()
10850 rsp = (pkt->pkt_rsplen && in emlxs_swap_fcp_pkt()
10907 rsp = (pkt->pkt_rsplen && in emlxs_swap_els_pkt()
11021 rsp = (pkt->pkt_rsplen && in emlxs_swap_ct_pkt()
12284 if (pkt->pkt_rsplen) { in emlxs_check_dma()
H A Demlxs_sli3.c2280 size = (int32_t)pkt->pkt_rsplen; in emlxs_pkt_to_bpl()
2309 size = (int32_t)pkt->pkt_rsplen; in emlxs_pkt_to_bpl()
2546 iocb->unsli3.ext_iocb.ebde1.tus.f.bdeSize = pkt->pkt_rsplen; in emlxs_sli3_bde_setup()
2601 iocb->unsli3.ext_iocb.ebde1.tus.f.bdeSize = pkt->pkt_rsplen; in emlxs_sli3_bde_setup()
2627 iocb->unsli3.ext_iocb.ebde1.tus.f.bdeSize = pkt->pkt_rsplen; in emlxs_sli3_bde_setup()
H A Demlxs_sli4.c2802 size = (int32_t)pkt->pkt_rsplen; in emlxs_pkt_to_sgl()
2827 size = (int32_t)pkt->pkt_rsplen; in emlxs_pkt_to_sgl()
4596 pkt->pkt_cmd, pkt->pkt_cmdlen, pkt->pkt_rsplen, pkt->pkt_datalen); in emlxs_sli4_prep_fcp_iocb()
4855 sge->length = pkt->pkt_rsplen; in emlxs_sli4_prep_els_iocb()
5175 pkt->pkt_cmd, pkt->pkt_cmdlen, pkt->pkt_rsplen); in emlxs_sli4_prep_ct_iocb()
H A Demlxs_fct.c3913 pkt->pkt_rsplen, DDI_DMA_SYNC_FORKERNEL); in emlxs_fct_pkt_comp()
3957 pkt->pkt_rsplen, DDI_DMA_SYNC_FORKERNEL); in emlxs_fct_pkt_comp()
H A Demlxs_dfc.c9256 size = MIN(size, pkt->pkt_rsplen); in emlxs_dfc_handle_unsol_req()
/illumos-gate/usr/src/uts/common/sys/fibre-channel/impl/
H A Dfctl.h150 uint32_t pkt_rsplen; /* response length */ member
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_fm.c154 pkt->pkt_rsplen != 0) { in qlc_fm_check_pkt_dma_handle()
H A Dql_isr.c2412 bzero(sp->pkt->pkt_resp, sp->pkt->pkt_rsplen); in ql_status_error()
2440 (sp->pkt->pkt_rsplen > sizeof (fcp_rsp_t))) { in ql_status_error()
2442 sense_sz = sp->pkt->pkt_rsplen - (uint32_t)sizeof (fcp_rsp_t); in ql_status_error()
2638 if (sp->pkt->pkt_rsplen <= in ql_status_error()
2644 (sp->pkt->pkt_rsplen - in ql_status_error()
3275 QL_DUMP_3(sp->pkt->pkt_resp, 8, sp->pkt->pkt_rsplen); in ql_ms_entry()
H A Dql_iocb.c1120 (uint32_t)sp->pkt->pkt_rsplen); in ql_ms_iocb()
1201 (uint32_t)sp->pkt->pkt_rsplen); in ql_ms_24xx_iocb()
H A Dql_api.c3024 if (pkt->pkt_rsplen) { in ql_els_send()
3025 bzero((void *)pkt->pkt_resp, pkt->pkt_rsplen); in ql_els_send()
3437 if (pkt->pkt_rsplen) { in ql_transport()
3438 bzero((void *)pkt->pkt_resp, pkt->pkt_rsplen); in ql_transport()
5189 pkt->pkt_rsplen != 0) { in ql_cmd_setup()
7497 bzero(fcpr, pkt->pkt_rsplen); in ql_task_mgmt()
7642 if (cnt > (uint32_t)pkt->pkt_rsplen) { in ql_fc_services()
7644 pkt->pkt_rsplen); in ql_fc_services()
18419 els_desc->rsp_byte_count = pkt->pkt_rsplen; in ql_fca_isp_els_request()
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c2124 pkt->pkt_rsplen = resp_len; in fp_alloc_pkt()
2219 pkt->pkt_rsplen = 0; in fp_free_dma()
4112 cmd->cmd_pkt.pkt_rsplen = sizeof (la_els_adisc_t); in fp_port_login()
4902 ASSERT(job->job_ulp_pkts[count]->pkt_rsplen >= in fp_plogi_group()
6472 pkt->pkt_rsplen = sizeof (la_els_adisc_t); in fp_plogi_intr()
6495 pkt->pkt_rsplen = FP_PORT_IDENTIFIER_LEN; in fp_plogi_intr()
6718 pkt->pkt_rsplen = FP_PORT_IDENTIFIER_LEN; in fp_adisc_intr()
11756 cmd->cmd_pkt.pkt_rsplen = 0; in fp_i_handle_unsol_els()
11774 cmd->cmd_pkt.pkt_rsplen = 0; in fp_i_handle_unsol_els()
11812 cmd->cmd_pkt.pkt_rsplen = 0; in fp_i_handle_unsol_els()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcip.c4040 fc_pkt->pkt_cmdlen, fc_pkt->pkt_rsplen, fc_pkt->pkt_datalen)); in fcip_start()
6106 fc_pkt->pkt_rsplen = sizeof (la_els_farp_t); in fcip_do_farp()
6245 fc_pkt->pkt_rsplen = sizeof (la_els_logi_t); in fcip_do_plogi()
6487 fc_pkt->pkt_rsplen = 0; in fcip_ipkt_alloc()
6576 fc_pkt->pkt_rsplen = resplen; in fcip_ipkt_alloc()
6710 fc_pkt->pkt_rsplen = 0; in fcip_init_unicast_pkt()
H A Dfcsm.c2233 pkt->pkt_rsplen = resp_len; in fcsm_alloc_cmd()
2273 kmem_free(pkt->pkt_resp, pkt->pkt_rsplen); in fcsm_free_cmd_dma()
2279 pkt->pkt_rsplen = 0; in fcsm_free_cmd_dma()
H A Dfcp.c5192 fpkt->pkt_rsplen = resp_len; in fcp_send_els()
5635 fpkt->pkt_rsplen = 0; in fcp_unsol_prli()
5795 fpkt->pkt_rsplen = resp_len; in fcp_icmd_alloc()
5986 fpkt->pkt_resp = kmem_zalloc(fpkt->pkt_rsplen, flags); in fcp_alloc_dma()
5991 ASSERT(fpkt->pkt_cmdlen && fpkt->pkt_rsplen); in fcp_alloc_dma()
6085 kmem_free(fpkt->pkt_resp, fpkt->pkt_rsplen); in fcp_alloc_dma()
10497 fpkt->pkt_rsplen = FCP_MAX_RSP_IU_SIZE; in fcp_kmem_cache_constructor()
10593 resp_len = fpkt->pkt_rsplen; in fcp_alloc_cmd_resp()
16157 cmd->cmd_fp_pkt->pkt_rsplen = FCP_MAX_RSP_IU_SIZE; in fcp_pseudo_init_pkt()