Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_srq.c595 uint64_t *wre_new, *wre_old; in hermon_srq_modify() local
673 wre_new = kmem_zalloc((1 << log_srq_size) * sizeof (uint64_t), in hermon_srq_modify()
675 if (wre_new == NULL) { in hermon_srq_modify()
702 kmem_free(wre_new, (1 << log_srq_size) * in hermon_srq_modify()
792 kmem_free(wre_new, (1 << log_srq_size) * in hermon_srq_modify()
833 bcopy(wre_old, wre_new, srq_old_bufsz * sizeof (uint64_t)); in hermon_srq_modify()
836 srq->srq_wq_wqhdr->wq_wrid = wre_new; in hermon_srq_modify()
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_srq.c605 tavor_wrid_entry_t *wre_new, *wre_old; in tavor_srq_modify() local
684 wre_new = (tavor_wrid_entry_t *)kmem_zalloc((1 << log_srq_size) * in tavor_srq_modify()
686 if (wre_new == NULL) { in tavor_srq_modify()
724 kmem_free(wre_new, srq->srq_wq_bufsz * in tavor_srq_modify()
809 kmem_free(wre_new, srq->srq_wq_bufsz * in tavor_srq_modify()
861 bcopy(wre_old, wre_new, srq_old_bufsz * in tavor_srq_modify()
865 srq->srq_wridlist->wl_wre = wre_new; in tavor_srq_modify()