Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/mlx4/
Dqp.c213 struct mlx4_ib_qp_event_work *qpe_work = in mlx4_ib_handle_qp_event() local
215 struct ib_qp *ibqp = &to_mibqp(qpe_work->qp)->ibqp; in mlx4_ib_handle_qp_event()
221 switch (qpe_work->type) { in mlx4_ib_handle_qp_event()
248 qpe_work->type, qpe_work->qp->qpn); in mlx4_ib_handle_qp_event()
255 mlx4_put_qp(qpe_work->qp); in mlx4_ib_handle_qp_event()
256 kfree(qpe_work); in mlx4_ib_handle_qp_event()
262 struct mlx4_ib_qp_event_work *qpe_work; in mlx4_ib_qp_event() local
270 qpe_work = kzalloc(sizeof(*qpe_work), GFP_ATOMIC); in mlx4_ib_qp_event()
271 if (!qpe_work) in mlx4_ib_qp_event()
274 qpe_work->qp = qp; in mlx4_ib_qp_event()
[all …]
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dqp.c357 struct mlx5_ib_qp_event_work *qpe_work = in mlx5_ib_handle_qp_event() local
359 struct ib_qp *ibqp = &to_mibqp(qpe_work->qp)->ibqp; in mlx5_ib_handle_qp_event()
364 switch (qpe_work->type) { in mlx5_ib_handle_qp_event()
391 qpe_work->type, qpe_work->qp->qpn); in mlx5_ib_handle_qp_event()
402 mlx5_core_res_put(&qpe_work->qp->common); in mlx5_ib_handle_qp_event()
403 kfree(qpe_work); in mlx5_ib_handle_qp_event()
409 struct mlx5_ib_qp_event_work *qpe_work; in mlx5_ib_qp_event() local
419 qpe_work = kzalloc(sizeof(*qpe_work), GFP_ATOMIC); in mlx5_ib_qp_event()
420 if (!qpe_work) in mlx5_ib_qp_event()
423 qpe_work->qp = qp; in mlx5_ib_qp_event()
[all …]