Searched refs:rdrain (Results 1 – 3 of 3) sorted by relevance
2857 struct ib_drain_cqe rdrain; in __ib_drain_rq() local2867 rwr.wr_cqe = &rdrain.cqe; in __ib_drain_rq()2868 rdrain.cqe.done = ib_drain_qp_done; in __ib_drain_rq()2869 init_completion(&rdrain.done); in __ib_drain_rq()2878 while (wait_for_completion_timeout(&rdrain.done, HZ / 10) <= 0) in __ib_drain_rq()2881 wait_for_completion(&rdrain.done); in __ib_drain_rq()
4485 struct mlx4_ib_drain_cqe rdrain; in mlx4_ib_drain_rq() local4498 rwr.wr_cqe = &rdrain.cqe; in mlx4_ib_drain_rq()4499 rdrain.cqe.done = mlx4_ib_drain_qp_done; in mlx4_ib_drain_rq()4500 init_completion(&rdrain.done); in mlx4_ib_drain_rq()4508 handle_drain_completion(cq, &rdrain, dev); in mlx4_ib_drain_rq()
5776 struct mlx5_ib_drain_cqe rdrain; in mlx5_ib_drain_rq() local5789 rwr.wr_cqe = &rdrain.cqe; in mlx5_ib_drain_rq()5790 rdrain.cqe.done = mlx5_ib_drain_qp_done; in mlx5_ib_drain_rq()5791 init_completion(&rdrain.done); in mlx5_ib_drain_rq()5799 handle_drain_completion(cq, &rdrain, dev); in mlx5_ib_drain_rq()