Home
last modified time | relevance | path

Searched refs:copy_length (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/usb/
H A Dasix_common.c116 u16 copy_length; in asix_rx_fixup_internal() local
164 copy_length = skb->len - offset; in asix_rx_fixup_internal()
165 rx->remaining -= copy_length; in asix_rx_fixup_internal()
167 copy_length = rx->remaining; in asix_rx_fixup_internal()
173 copy_length); in asix_rx_fixup_internal()
180 offset += (copy_length + 1) & 0xfffe; in asix_rx_fixup_internal()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A 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()
[all...]
/kernel/linux/linux-6.6/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()
[all...]

Completed in 12 milliseconds