Searched refs:first_copy_length (Results 1 – 1 of 1) sorted by relevance
152 u32 first_copy_length; in mlx5_ib_read_user_wqe() local172 first_copy_length = min_t(u32, offset + length, wq_end) - offset; in mlx5_ib_read_user_wqe()173 ret = ib_umem_copy_from(buffer, umem, offset, first_copy_length); in mlx5_ib_read_user_wqe()186 if (wqe_length <= first_copy_length) in mlx5_ib_read_user_wqe()187 return first_copy_length; in mlx5_ib_read_user_wqe()189 ret = ib_umem_copy_from(buffer + first_copy_length, umem, wq->offset, in mlx5_ib_read_user_wqe()190 wqe_length - first_copy_length); in mlx5_ib_read_user_wqe()