Searched refs:first_copy_length (Results 1 – 1 of 1) sorted by relevance
130 u32 first_copy_length; in mlx5_ib_read_user_wqe() local150 first_copy_length = min_t(u32, offset + length, wq_end) - offset; in mlx5_ib_read_user_wqe()151 ret = ib_umem_copy_from(buffer, umem, offset, first_copy_length); in mlx5_ib_read_user_wqe()164 if (wqe_length <= first_copy_length) in mlx5_ib_read_user_wqe()165 return first_copy_length; in mlx5_ib_read_user_wqe()167 ret = ib_umem_copy_from(buffer + first_copy_length, umem, wq->offset, in mlx5_ib_read_user_wqe()168 wqe_length - first_copy_length); in mlx5_ib_read_user_wqe()