Searched refs:rdrain (Results 1 – 2 of 2) sorted by relevance
2872 struct ib_drain_cqe rdrain; in __ib_drain_rq() local2882 rwr.wr_cqe = &rdrain.cqe; in __ib_drain_rq()2883 rdrain.cqe.done = ib_drain_qp_done; in __ib_drain_rq()2884 init_completion(&rdrain.done); in __ib_drain_rq()2893 while (wait_for_completion_timeout(&rdrain.done, HZ / 10) <= 0) in __ib_drain_rq()2896 wait_for_completion(&rdrain.done); in __ib_drain_rq()
5811 struct mlx5_ib_drain_cqe rdrain; in mlx5_ib_drain_rq() local5824 rwr.wr_cqe = &rdrain.cqe; in mlx5_ib_drain_rq()5825 rdrain.cqe.done = mlx5_ib_drain_qp_done; in mlx5_ib_drain_rq()5826 init_completion(&rdrain.done); in mlx5_ib_drain_rq()5834 handle_drain_completion(cq, &rdrain, dev); in mlx5_ib_drain_rq()