Lines Matching refs:wq
360 if (qp->r_rq.wq) { in ipath_reset_qp()
361 qp->r_rq.wq->head = 0; in ipath_reset_qp()
362 qp->r_rq.wq->tail = 0; in ipath_reset_qp()
410 if (qp->r_rq.wq) { in ipath_error_qp()
411 struct ipath_rwq *wq; in ipath_error_qp() local
418 wq = qp->r_rq.wq; in ipath_error_qp()
419 head = wq->head; in ipath_error_qp()
422 tail = wq->tail; in ipath_error_qp()
431 wq->tail = tail; in ipath_error_qp()
690 struct ipath_rwq *wq = qp->r_rq.wq; in ipath_compute_aeth() local
695 head = wq->head; in ipath_compute_aeth()
698 tail = wq->tail; in ipath_compute_aeth()
824 qp->r_rq.wq = NULL; in ipath_create_qp()
832 qp->r_rq.wq = vmalloc_user(sizeof(struct ipath_rwq) + in ipath_create_qp()
834 if (!qp->r_rq.wq) { in ipath_create_qp()
865 vfree(qp->r_rq.wq); in ipath_create_qp()
886 if (!qp->r_rq.wq) { in ipath_create_qp()
902 qp->r_rq.wq); in ipath_create_qp()
940 vfree(qp->r_rq.wq); in ipath_create_qp()
1008 vfree(qp->r_rq.wq); in ipath_destroy_qp()