Home
last modified time | relevance | path

Searched refs:copy_length (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/usb/
Dasix_common.c165 u16 copy_length; in asix_rx_fixup_internal() local
213 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()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dqp.c115 size_t copy_length; in mlx5_ib_read_user_wqe_common() local
121 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() local
156 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()