Lines Matching refs:qps
344 xa_for_each(&qpd->devp->qps, index, qp) in qp_open()
354 xa_lock_irq(&qpd->devp->qps); in qp_open()
355 xa_for_each(&qpd->devp->qps, index, qp) in qp_open()
357 xa_unlock_irq(&qpd->devp->qps); in qp_open()
940 WARN_ON(!xa_empty(&ctx->dev->qps)); in c4iw_dealloc()
1050 xa_init_flags(&devp->qps, XA_FLAGS_LOCK_IRQ); in c4iw_alloc()
1273 xa_lock_irqsave(&ctx->dev->qps, flags); in stop_queues()
1277 xa_for_each(&ctx->dev->qps, index, qp) in stop_queues()
1282 xa_unlock_irqrestore(&ctx->dev->qps, flags); in stop_queues()
1312 xa_lock_irq(&ctx->dev->qps); in resume_queues()
1325 xa_for_each(&ctx->dev->qps, index, qp) in resume_queues()
1338 xa_unlock_irq(&ctx->dev->qps); in resume_queues()
1343 xa_lock_irq(&ctx->dev->qps); in resume_queues()
1352 xa_unlock_irq(&ctx->dev->qps); in resume_queues()
1357 struct c4iw_qp **qps; member
1365 c4iw_qp_rem_ref(&qp_list->qps[idx]->ibqp); in deref_qps()
1374 struct c4iw_qp *qp = qp_list->qps[idx]; in recover_lost_dbs()
1376 xa_lock_irq(&qp->rhp->qps); in recover_lost_dbs()
1386 xa_unlock_irq(&qp->rhp->qps); in recover_lost_dbs()
1400 xa_unlock_irq(&qp->rhp->qps); in recover_lost_dbs()
1405 xa_unlock_irq(&qp->rhp->qps); in recover_lost_dbs()
1436 xa_lock_irq(&ctx->dev->qps); in recover_queues()
1439 xa_for_each(&ctx->dev->qps, index, qp) in recover_queues()
1442 qp_list.qps = kcalloc(count, sizeof(*qp_list.qps), GFP_ATOMIC); in recover_queues()
1443 if (!qp_list.qps) { in recover_queues()
1444 xa_unlock_irq(&ctx->dev->qps); in recover_queues()
1450 xa_for_each(&ctx->dev->qps, index, qp) { in recover_queues()
1452 qp_list.qps[qp_list.idx++] = qp; in recover_queues()
1455 xa_unlock_irq(&ctx->dev->qps); in recover_queues()
1462 kfree(qp_list.qps); in recover_queues()
1464 xa_lock_irq(&ctx->dev->qps); in recover_queues()
1467 xa_unlock_irq(&ctx->dev->qps); in recover_queues()