Lines Matching refs:qpe_work
213 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()
275 qpe_work->type = type; in mlx4_ib_qp_event()
276 INIT_WORK(&qpe_work->work, mlx4_ib_handle_qp_event); in mlx4_ib_qp_event()
277 queue_work(mlx4_ib_qp_event_wq, &qpe_work->work); in mlx4_ib_qp_event()