Lines Matching refs:wdesc
2138 * the wdesc->sendwait_lock. n_send_rbufs count
2277 rib_free_sendwait(struct send_wid *wdesc)
2279 cv_destroy(&wdesc->wait_cv);
2280 mutex_destroy(&wdesc->sendwait_lock);
2281 kmem_free(wdesc, sizeof (*wdesc));
2308 struct send_wid *wdesc;
2343 wdesc = rib_init_sendwait(msgid, cv_sig, qp);
2344 *swid = (caddr_t)wdesc;
2345 tx_wr.wr_id = (ibt_wrid_t)(uintptr_t)wdesc;
2346 mutex_enter(&wdesc->sendwait_lock);
2347 wdesc->nsbufs = nds;
2349 wdesc->sbufaddr[i] = sgl[i].ds_va;
2374 (void *)(uintptr_t)wdesc->sbufaddr[i]);
2376 mutex_exit(&wdesc->sendwait_lock);
2377 (void) rib_free_sendwait(wdesc);
2386 mutex_exit(&wdesc->sendwait_lock);
2393 ret = rib_sendwait(qp, wdesc);
2754 struct send_wid *wdesc;
2787 wdesc = rib_init_sendwait(0, cv_sig, qp);
2788 tx_wr.wr_id = (ibt_wrid_t)(uintptr_t)wdesc;
2789 mutex_enter(&wdesc->sendwait_lock);
2810 mutex_exit(&wdesc->sendwait_lock);
2811 (void) rib_free_sendwait(wdesc);
2824 mutex_exit(&wdesc->sendwait_lock);
2826 ret = rib_sendwait(qp, wdesc);
2846 struct send_wid *wdesc;
2876 wdesc = rib_init_sendwait(0, cv_sig, qp);
2878 rx_wr.wr_id = (ibt_wrid_t)(uintptr_t)wdesc;
2879 mutex_enter(&wdesc->sendwait_lock);
2899 mutex_exit(&wdesc->sendwait_lock);
2900 (void) rib_free_sendwait(wdesc);
2913 mutex_exit(&wdesc->sendwait_lock);
2915 ret = rib_sendwait(qp, wdesc);