Lines Matching refs:subtotal
1690 unsigned int remainder, subtotal; in lpfc_bg_setup_bpl_prot() local
1812 subtotal = 0; /* total bytes processed for current prot grp */ in lpfc_bg_setup_bpl_prot()
1831 if ((subtotal + remainder) <= protgrp_bytes) { in lpfc_bg_setup_bpl_prot()
1836 if ((subtotal + remainder) == protgrp_bytes) in lpfc_bg_setup_bpl_prot()
1840 bpl->tus.f.bdeSize = protgrp_bytes - subtotal; in lpfc_bg_setup_bpl_prot()
1844 subtotal += bpl->tus.f.bdeSize; in lpfc_bg_setup_bpl_prot()
2115 unsigned int remainder, subtotal; in lpfc_bg_setup_sgl_prot() local
2274 subtotal = 0; /* total bytes processed for current prot grp */ in lpfc_bg_setup_sgl_prot()
2322 if ((subtotal + remainder) <= protgrp_bytes) { in lpfc_bg_setup_sgl_prot()
2327 if ((subtotal + remainder) == in lpfc_bg_setup_sgl_prot()
2334 dma_len = protgrp_bytes - subtotal; in lpfc_bg_setup_sgl_prot()
2338 subtotal += dma_len; in lpfc_bg_setup_sgl_prot()