Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/usb/
H A 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()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dqp.c127 size_t copy_length; in mlx5_ib_read_user_wqe_common() local
133 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() local
168 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()