Searched refs:copy_length (Results 1 – 2 of 2) sorted by relevance
165 u16 copy_length; in asix_rx_fixup_internal() local213 copy_length = skb->len - offset; in asix_rx_fixup_internal()214 rx->remaining -= copy_length; in asix_rx_fixup_internal()216 copy_length = rx->remaining; in asix_rx_fixup_internal()222 copy_length); in asix_rx_fixup_internal()229 offset += (copy_length + 1) & 0xfffe; in asix_rx_fixup_internal()
115 size_t copy_length; in mlx5_ib_read_user_wqe_common() local121 copy_length = min_t(u32, buflen, wq_end - offset); in mlx5_ib_read_user_wqe_common()122 copy_length = min_t(u32, copy_length, bcnt); in mlx5_ib_read_user_wqe_common()124 ret = ib_umem_copy_from(buffer, umem, offset, copy_length); in mlx5_ib_read_user_wqe_common()129 *bytes_copied = copy_length; in mlx5_ib_read_user_wqe_common()153 size_t copy_length = in mlx5_ib_read_kernel_wqe_sq() local156 if (!copy_length) in mlx5_ib_read_kernel_wqe_sq()159 memcpy(buffer + bytes_copied, p, copy_length); in mlx5_ib_read_kernel_wqe_sq()160 bytes_copied += copy_length; in mlx5_ib_read_kernel_wqe_sq()