Searched refs:copysz (Results 1 – 1 of 1) sorted by relevance
3077 u64 left, leftlen, copysz; in set_eth_seg() local3090 copysz = min_t(u64, leftlen, left); in set_eth_seg()3092 memcpy(seg - size_of_inl_hdr_start, pdata, copysz); in set_eth_seg()3094 if (likely(copysz > size_of_inl_hdr_start)) { in set_eth_seg()3095 seg += ALIGN(copysz - size_of_inl_hdr_start, 16); in set_eth_seg()3096 *size += ALIGN(copysz - size_of_inl_hdr_start, 16) / 16; in set_eth_seg()3099 if (unlikely(copysz < left)) { /* the last wqe in the queue */ in set_eth_seg()3101 left -= copysz; in set_eth_seg()3102 pdata += copysz; in set_eth_seg()