Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/core/
Dverbs.c2644 struct ib_drain_cqe sdrain; in __ib_drain_sq() local
2648 { .wr_cqe = &sdrain.cqe, }, in __ib_drain_sq()
2660 sdrain.cqe.done = ib_drain_qp_done; in __ib_drain_sq()
2661 init_completion(&sdrain.done); in __ib_drain_sq()
2670 while (wait_for_completion_timeout(&sdrain.done, HZ / 10) <= 0) in __ib_drain_sq()
2673 wait_for_completion(&sdrain.done); in __ib_drain_sq()
/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dqp.c4421 struct mlx4_ib_drain_cqe *sdrain, in handle_drain_completion() argument
4427 while (wait_for_completion_timeout(&sdrain->done, HZ / 10) <= 0) in handle_drain_completion()
4466 wait_for_completion(&sdrain->done); in handle_drain_completion()
4473 struct mlx4_ib_drain_cqe sdrain; in mlx4_ib_drain_sq() local
4478 { .wr_cqe = &sdrain.cqe, }, in mlx4_ib_drain_sq()
4492 sdrain.cqe.done = mlx4_ib_drain_qp_done; in mlx4_ib_drain_sq()
4493 init_completion(&sdrain.done); in mlx4_ib_drain_sq()
4501 handle_drain_completion(cq, &sdrain, dev); in mlx4_ib_drain_sq()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dqp.c6387 struct mlx5_ib_drain_cqe *sdrain, in handle_drain_completion() argument
6393 while (wait_for_completion_timeout(&sdrain->done, HZ / 10) <= 0) in handle_drain_completion()
6432 wait_for_completion(&sdrain->done); in handle_drain_completion()
6439 struct mlx5_ib_drain_cqe sdrain; in mlx5_ib_drain_sq() local
6444 { .wr_cqe = &sdrain.cqe, }, in mlx5_ib_drain_sq()
6458 sdrain.cqe.done = mlx5_ib_drain_qp_done; in mlx5_ib_drain_sq()
6459 init_completion(&sdrain.done); in mlx5_ib_drain_sq()
6467 handle_drain_completion(cq, &sdrain, dev); in mlx5_ib_drain_sq()