Home
last modified time | relevance | path

Searched refs:sdrain (Results 1 – 3 of 3) sorted by relevance

/drivers/infiniband/core/
Dverbs.c2818 struct ib_drain_cqe sdrain; in __ib_drain_sq() local
2822 { .wr_cqe = &sdrain.cqe, }, in __ib_drain_sq()
2834 sdrain.cqe.done = ib_drain_qp_done; in __ib_drain_sq()
2835 init_completion(&sdrain.done); in __ib_drain_sq()
2844 while (wait_for_completion_timeout(&sdrain.done, HZ / 10) <= 0) in __ib_drain_sq()
2847 wait_for_completion(&sdrain.done); in __ib_drain_sq()
/drivers/infiniband/hw/mlx4/
Dqp.c4398 struct mlx4_ib_drain_cqe *sdrain, in handle_drain_completion() argument
4404 while (wait_for_completion_timeout(&sdrain->done, HZ / 10) <= 0) in handle_drain_completion()
4443 wait_for_completion(&sdrain->done); in handle_drain_completion()
4450 struct mlx4_ib_drain_cqe sdrain; in mlx4_ib_drain_sq() local
4455 { .wr_cqe = &sdrain.cqe, }, in mlx4_ib_drain_sq()
4469 sdrain.cqe.done = mlx4_ib_drain_qp_done; in mlx4_ib_drain_sq()
4470 init_completion(&sdrain.done); in mlx4_ib_drain_sq()
4478 handle_drain_completion(cq, &sdrain, dev); in mlx4_ib_drain_sq()
/drivers/infiniband/hw/mlx5/
Dqp.c5689 struct mlx5_ib_drain_cqe *sdrain, in handle_drain_completion() argument
5695 while (wait_for_completion_timeout(&sdrain->done, HZ / 10) <= 0) in handle_drain_completion()
5734 wait_for_completion(&sdrain->done); in handle_drain_completion()
5741 struct mlx5_ib_drain_cqe sdrain; in mlx5_ib_drain_sq() local
5746 { .wr_cqe = &sdrain.cqe, }, in mlx5_ib_drain_sq()
5760 sdrain.cqe.done = mlx5_ib_drain_qp_done; in mlx5_ib_drain_sq()
5761 init_completion(&sdrain.done); in mlx5_ib_drain_sq()
5769 handle_drain_completion(cq, &sdrain, dev); in mlx5_ib_drain_sq()