Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_scsi.c1685 unsigned int remainder, subtotal; in lpfc_bg_setup_bpl_prot() local
1807 subtotal = 0; /* total bytes processed for current prot grp */ in lpfc_bg_setup_bpl_prot()
1826 if ((subtotal + remainder) <= protgrp_bytes) { in lpfc_bg_setup_bpl_prot()
1831 if ((subtotal + remainder) == protgrp_bytes) in lpfc_bg_setup_bpl_prot()
1835 bpl->tus.f.bdeSize = protgrp_bytes - subtotal; in lpfc_bg_setup_bpl_prot()
1839 subtotal += bpl->tus.f.bdeSize; in lpfc_bg_setup_bpl_prot()
2110 unsigned int remainder, subtotal; in lpfc_bg_setup_sgl_prot() local
2317 if ((subtotal + remainder) <= protgrp_bytes) { in lpfc_bg_setup_sgl_prot()
2322 if ((subtotal + remainder) == in lpfc_bg_setup_sgl_prot()
2329 dma_len = protgrp_bytes - subtotal; in lpfc_bg_setup_sgl_prot()
[all …]