Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/core/
Dverbs.c2833 struct ib_drain_cqe sdrain; in __ib_drain_sq() local
2837 { .wr_cqe = &sdrain.cqe, }, in __ib_drain_sq()
2849 sdrain.cqe.done = ib_drain_qp_done; in __ib_drain_sq()
2850 init_completion(&sdrain.done); in __ib_drain_sq()
2859 while (wait_for_completion_timeout(&sdrain.done, HZ / 10) <= 0) in __ib_drain_sq()
2862 wait_for_completion(&sdrain.done); in __ib_drain_sq()
/linux-6.12.1/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()
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dqp.c5681 struct mlx5_ib_drain_cqe *sdrain, in handle_drain_completion() argument
5687 while (wait_for_completion_timeout(&sdrain->done, HZ / 10) <= 0) in handle_drain_completion()
5726 wait_for_completion(&sdrain->done); in handle_drain_completion()
5733 struct mlx5_ib_drain_cqe sdrain; in mlx5_ib_drain_sq() local
5738 { .wr_cqe = &sdrain.cqe, }, in mlx5_ib_drain_sq()
5752 sdrain.cqe.done = mlx5_ib_drain_qp_done; in mlx5_ib_drain_sq()
5753 init_completion(&sdrain.done); in mlx5_ib_drain_sq()
5761 handle_drain_completion(cq, &sdrain, dev); in mlx5_ib_drain_sq()