Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_cq.c379 struct ipath_cq_wc *old_wc; in ipath_resize_cq() local
418 old_wc = cq->queue; in ipath_resize_cq()
419 head = old_wc->head; in ipath_resize_cq()
422 tail = old_wc->tail; in ipath_resize_cq()
435 wc->uqueue[n] = old_wc->uqueue[tail]; in ipath_resize_cq()
437 wc->kqueue[n] = old_wc->kqueue[tail]; in ipath_resize_cq()
449 vfree(old_wc); in ipath_resize_cq()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_cq.c395 struct qib_cq_wc *old_wc; in qib_resize_cq() local
434 old_wc = cq->queue; in qib_resize_cq()
435 head = old_wc->head; in qib_resize_cq()
438 tail = old_wc->tail; in qib_resize_cq()
451 wc->uqueue[n] = old_wc->uqueue[tail]; in qib_resize_cq()
453 wc->kqueue[n] = old_wc->kqueue[tail]; in qib_resize_cq()
465 vfree(old_wc); in qib_resize_cq()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dcq.c408 struct hfi1_cq_wc *old_wc; in hfi1_resize_cq() local
447 old_wc = cq->queue; in hfi1_resize_cq()
448 head = old_wc->head; in hfi1_resize_cq()
451 tail = old_wc->tail; in hfi1_resize_cq()
464 wc->uqueue[n] = old_wc->uqueue[tail]; in hfi1_resize_cq()
466 wc->kqueue[n] = old_wc->kqueue[tail]; in hfi1_resize_cq()
478 vfree(old_wc); in hfi1_resize_cq()