Searched refs:first_copy_length (Results 1 – 1 of 1) sorted by relevance
125 u32 first_copy_length; in mlx5_ib_read_user_wqe() local145 first_copy_length = min_t(u32, offset + length, wq_end) - offset; in mlx5_ib_read_user_wqe()146 ret = ib_umem_copy_from(buffer, umem, offset, first_copy_length); in mlx5_ib_read_user_wqe()159 if (wqe_length <= first_copy_length) in mlx5_ib_read_user_wqe()160 return first_copy_length; in mlx5_ib_read_user_wqe()162 ret = ib_umem_copy_from(buffer + first_copy_length, umem, wq->offset, in mlx5_ib_read_user_wqe()163 wqe_length - first_copy_length); in mlx5_ib_read_user_wqe()