Home
last modified time | relevance | path

Searched refs:rdrain (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/infiniband/core/
H A Dverbs.c2872 struct ib_drain_cqe rdrain; in __ib_drain_rq() local
2882 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()
/linux/drivers/infiniband/hw/mlx4/
H A Dqp.c4485 struct mlx4_ib_drain_cqe rdrain; in mlx4_ib_drain_rq() local
4498 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()