Searched refs:prot_seg_cnt (Results 1 – 4 of 4) sorted by relevance
630 lpfc_cmd->prot_seg_cnt = 0; in lpfc_get_scsi_buf_s4()713 psb->prot_seg_cnt = 0; in lpfc_release_scsi_buf_s3()739 psb->prot_seg_cnt = 0; in lpfc_release_scsi_buf_s4()2565 lpfc_cmd->prot_seg_cnt = protsegcnt; in lpfc_bg_scsi_prep_dma_buf_s3()2571 if ((lpfc_cmd->prot_seg_cnt * 4) > in lpfc_bg_scsi_prep_dma_buf_s3()2631 if (lpfc_cmd->prot_seg_cnt) in lpfc_bg_scsi_prep_dma_buf_s3()2639 lpfc_cmd->seg_cnt, lpfc_cmd->prot_seg_cnt, in lpfc_bg_scsi_prep_dma_buf_s3()2644 lpfc_cmd->prot_seg_cnt = 0; in lpfc_bg_scsi_prep_dma_buf_s3()2717 protsegcnt = lpfc_cmd->prot_seg_cnt; in lpfc_calc_bg_err()3375 lpfc_cmd->prot_seg_cnt = protsegcnt; in lpfc_bg_scsi_prep_dma_buf_s4()[all …]
461 uint32_t prot_seg_cnt; /* seg_cnt's counterpart for member
2464 prm->prot_seg_cnt = dma_map_sg(&cmd->qpair->pdev->dev, in qlt_pci_map_calc_cnt()2467 if (unlikely(prm->prot_seg_cnt == 0)) in qlt_pci_map_calc_cnt()2473 prm->prot_seg_cnt = DIV_ROUND_UP(cmd->bufflen, in qlt_pci_map_calc_cnt()2475 prm->tot_dsds += prm->prot_seg_cnt; in qlt_pci_map_calc_cnt()2477 prm->tot_dsds += prm->prot_seg_cnt; in qlt_pci_map_calc_cnt()2796 prm->prot_seg_cnt = 0; in qlt_pre_xmit_response()3073 prm->prot_sg, prm->prot_seg_cnt, se_cmd->t_task_lba); in qlt_build_ctio_crc2_pkt()3203 cpu_to_le16(prm->tot_dsds - prm->prot_seg_cnt); in qlt_build_ctio_crc2_pkt()3225 if (!bundling && prm->prot_seg_cnt) { in qlt_build_ctio_crc2_pkt()3230 (prm->tot_dsds - prm->prot_seg_cnt), &tc)) in qlt_build_ctio_crc2_pkt()[all …]
992 uint16_t prot_seg_cnt; member