Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/core/
Dverbs.c2703 struct ib_drain_cqe sdrain; in __ib_drain_sq() local
2707 { .wr_cqe = &sdrain.cqe, }, in __ib_drain_sq()
2719 sdrain.cqe.done = ib_drain_qp_done; in __ib_drain_sq()
2720 init_completion(&sdrain.done); in __ib_drain_sq()
2729 while (wait_for_completion_timeout(&sdrain.done, HZ / 10) <= 0) in __ib_drain_sq()
2732 wait_for_completion(&sdrain.done); in __ib_drain_sq()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dqp.c4359 struct mlx4_ib_drain_cqe *sdrain, in handle_drain_completion() argument
4365 while (wait_for_completion_timeout(&sdrain->done, HZ / 10) <= 0) in handle_drain_completion()
4404 wait_for_completion(&sdrain->done); in handle_drain_completion()
4411 struct mlx4_ib_drain_cqe sdrain; in mlx4_ib_drain_sq() local
4416 { .wr_cqe = &sdrain.cqe, }, in mlx4_ib_drain_sq()
4430 sdrain.cqe.done = mlx4_ib_drain_qp_done; in mlx4_ib_drain_sq()
4431 init_completion(&sdrain.done); in mlx4_ib_drain_sq()
4439 handle_drain_completion(cq, &sdrain, dev); in mlx4_ib_drain_sq()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dqp.c5330 struct mlx5_ib_drain_cqe *sdrain, in handle_drain_completion() argument
5336 while (wait_for_completion_timeout(&sdrain->done, HZ / 10) <= 0) in handle_drain_completion()
5375 wait_for_completion(&sdrain->done); in handle_drain_completion()
5382 struct mlx5_ib_drain_cqe sdrain; in mlx5_ib_drain_sq() local
5387 { .wr_cqe = &sdrain.cqe, }, in mlx5_ib_drain_sq()
5401 sdrain.cqe.done = mlx5_ib_drain_qp_done; in mlx5_ib_drain_sq()
5402 init_completion(&sdrain.done); in mlx5_ib_drain_sq()
5410 handle_drain_completion(cq, &sdrain, dev); in mlx5_ib_drain_sq()