Searched refs:first_copy_length (Results 1 – 1 of 1) sorted by relevance
142 u32 first_copy_length; in mlx5_ib_read_user_wqe() local162 first_copy_length = min_t(u32, offset + length, wq_end) - offset; in mlx5_ib_read_user_wqe()163 ret = ib_umem_copy_from(buffer, umem, offset, first_copy_length); in mlx5_ib_read_user_wqe()176 if (wqe_length <= first_copy_length) in mlx5_ib_read_user_wqe()177 return first_copy_length; in mlx5_ib_read_user_wqe()179 ret = ib_umem_copy_from(buffer + first_copy_length, umem, wq->offset, in mlx5_ib_read_user_wqe()180 wqe_length - first_copy_length); in mlx5_ib_read_user_wqe()