Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/usb/
Dasix_common.c139 u16 copy_length; in asix_rx_fixup_internal() local
187 copy_length = skb->len - offset; in asix_rx_fixup_internal()
188 rx->remaining -= copy_length; in asix_rx_fixup_internal()
190 copy_length = rx->remaining; in asix_rx_fixup_internal()
196 copy_length); in asix_rx_fixup_internal()
203 offset += (copy_length + 1) & 0xfffe; in asix_rx_fixup_internal()
/Linux-v5.15/drivers/infiniband/hw/mlx5/
Dqp.c114 size_t copy_length; in mlx5_ib_read_user_wqe_common() local
120 copy_length = min_t(u32, buflen, wq_end - offset); in mlx5_ib_read_user_wqe_common()
121 copy_length = min_t(u32, copy_length, bcnt); in mlx5_ib_read_user_wqe_common()
123 ret = ib_umem_copy_from(buffer, umem, offset, copy_length); in mlx5_ib_read_user_wqe_common()
128 *bytes_copied = copy_length; in mlx5_ib_read_user_wqe_common()
152 size_t copy_length = in mlx5_ib_read_kernel_wqe_sq() local
155 if (!copy_length) in mlx5_ib_read_kernel_wqe_sq()
158 memcpy(buffer + bytes_copied, p, copy_length); in mlx5_ib_read_kernel_wqe_sq()
159 bytes_copied += copy_length; in mlx5_ib_read_kernel_wqe_sq()