Searched refs:thisoff (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_fcoe.c171 unsigned int thisoff = 0; ixgbe_fcoe_ddp_setup() local
240 thisoff = addr & ((dma_addr_t)bufflen - 1); for_each_sg()
241 thislen = min((bufflen - thisoff), len); for_each_sg()
246 if ((j != 0) && (thisoff)) for_each_sg()
254 && ((thislen + thisoff) != bufflen)) for_each_sg()
257 ddp->udl[j] = (u64)(addr - thisoff); for_each_sg()
260 firstoff = thisoff; for_each_sg()
267 lastsize = thisoff + thislen;
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
H A Di40e_fcoe.c827 unsigned int thisoff = 0; i40e_fcoe_ddp_setup() local
897 thisoff = addr & ((dma_addr_t)bufflen - 1); for_each_sg()
898 thislen = min_t(unsigned int, (bufflen - thisoff), len); for_each_sg()
902 if ((j != 0) && (thisoff)) for_each_sg()
910 ((thislen + thisoff) != bufflen)) for_each_sg()
913 ddp->udl[j] = (u64)(addr - thisoff); for_each_sg()
916 firstoff = thisoff; for_each_sg()
923 ddp->lastsize = thisoff + thislen;

Completed in 96 milliseconds