Lines Matching refs:subtotal
1716 unsigned int remainder, subtotal; in lpfc_bg_setup_bpl_prot() local
1838 subtotal = 0; /* total bytes processed for current prot grp */ in lpfc_bg_setup_bpl_prot()
1857 if ((subtotal + remainder) <= protgrp_bytes) { in lpfc_bg_setup_bpl_prot()
1862 if ((subtotal + remainder) == protgrp_bytes) in lpfc_bg_setup_bpl_prot()
1866 bpl->tus.f.bdeSize = protgrp_bytes - subtotal; in lpfc_bg_setup_bpl_prot()
1870 subtotal += bpl->tus.f.bdeSize; in lpfc_bg_setup_bpl_prot()
2140 unsigned int remainder, subtotal; in lpfc_bg_setup_sgl_prot() local
2300 subtotal = 0; /* total bytes processed for current prot grp */ in lpfc_bg_setup_sgl_prot()
2348 if ((subtotal + remainder) <= protgrp_bytes) { in lpfc_bg_setup_sgl_prot()
2353 if ((subtotal + remainder) == in lpfc_bg_setup_sgl_prot()
2360 dma_len = protgrp_bytes - subtotal; in lpfc_bg_setup_sgl_prot()
2364 subtotal += dma_len; in lpfc_bg_setup_sgl_prot()