Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_cq.c374 struct ipath_cq_wc *old_wc; in ipath_resize_cq() local
413 old_wc = cq->queue; in ipath_resize_cq()
414 head = old_wc->head; in ipath_resize_cq()
417 tail = old_wc->tail; in ipath_resize_cq()
430 wc->uqueue[n] = old_wc->uqueue[tail]; in ipath_resize_cq()
432 wc->kqueue[n] = old_wc->kqueue[tail]; in ipath_resize_cq()
444 vfree(old_wc); in ipath_resize_cq()
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_cq.c390 struct qib_cq_wc *old_wc; in qib_resize_cq() local
429 old_wc = cq->queue; in qib_resize_cq()
430 head = old_wc->head; in qib_resize_cq()
433 tail = old_wc->tail; in qib_resize_cq()
446 wc->uqueue[n] = old_wc->uqueue[tail]; in qib_resize_cq()
448 wc->kqueue[n] = old_wc->kqueue[tail]; in qib_resize_cq()
460 vfree(old_wc); in qib_resize_cq()