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()
127 size_t copy_length; in mlx5_ib_read_user_wqe_common() local133 copy_length = min_t(u32, buflen, wq_end - offset); in mlx5_ib_read_user_wqe_common()134 copy_length = min_t(u32, copy_length, bcnt); in mlx5_ib_read_user_wqe_common()136 ret = ib_umem_copy_from(buffer, umem, offset, copy_length); in mlx5_ib_read_user_wqe_common()141 *bytes_copied = copy_length; in mlx5_ib_read_user_wqe_common()165 size_t copy_length = in mlx5_ib_read_kernel_wqe_sq() local168 if (!copy_length) in mlx5_ib_read_kernel_wqe_sq()171 memcpy(buffer + bytes_copied, p, copy_length); in mlx5_ib_read_kernel_wqe_sq()172 bytes_copied += copy_length; in mlx5_ib_read_kernel_wqe_sq()