Searched refs:wqbd (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_tx.c | 36 static void oce_wqb_dtor(struct oce_wq *wq, oce_wq_bdesc_t *wqbd); 37 static int oce_wqb_ctor(oce_wq_bdesc_t *wqbd, struct oce_wq *wq, 40 static void oce_wqb_free(struct oce_wq *wq, oce_wq_bdesc_t *wqbd); 237 oce_wq_bdesc_t *wqbd; in oce_wqb_cache_destroy() local 238 while ((wqbd = OCE_LIST_REM_HEAD(&wq->wq_buf_list)) != NULL) { in oce_wqb_cache_destroy() 239 oce_wqb_dtor(wq, wqbd); in oce_wqb_cache_destroy() 257 oce_wqb_ctor(oce_wq_bdesc_t *wqbd, struct oce_wq *wq, size_t size, int flags) in oce_wqb_ctor() argument 262 wqbd->wqb = oce_alloc_dma_buffer(dev, size, &oce_tx_dma_buf_attr, in oce_wqb_ctor() 264 if (wqbd->wqb == NULL) { in oce_wqb_ctor() 267 wqbd->frag_addr.dw.addr_lo = ADDR_LO(wqbd->wqb->addr); in oce_wqb_ctor() [all …]
|