Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/sun4v/io/
H A Dvsw_txdring.c788 vsw_private_desc_t *priv_desc = NULL; in vsw_dringsend() local
833 if (vsw_dring_find_free_desc(dp, &priv_desc, &idx) != 0) { in vsw_dringsend()
843 "addr 0x%llx\n", __func__, ldcp->ldc_id, idx, priv_desc); in vsw_dringsend()
847 bufp = priv_desc->datap; in vsw_dringsend()
855 priv_desc->datalen = (size < (size_t)ETHERMIN) ? ETHERMIN : size; in vsw_dringsend()
857 pub = priv_desc->descp; in vsw_dringsend()
858 pub->nbytes = priv_desc->datalen; in vsw_dringsend()
866 ldcp->ldc_stats.obytes += priv_desc->datalen; in vsw_dringsend()
868 mutex_enter(&priv_desc->dstate_lock); in vsw_dringsend()
870 mutex_exit(&priv_desc->dstate_lock); in vsw_dringsend()
H A Dvsw_ldc.c4109 vsw_private_desc_t *priv_desc = NULL; in vsw_descrsend() local
4156 if (vsw_dring_find_free_desc(dp, &priv_desc, &idx) != 0) { in vsw_descrsend()
4168 "%ld addr 0x%x\n", __func__, ldcp->ldc_id, idx, priv_desc); in vsw_descrsend()
4173 bufp = priv_desc->datap; in vsw_descrsend()
4180 priv_desc->datalen = (size < (size_t)ETHERMIN) ? ETHERMIN : size; in vsw_descrsend()
4193 for (i = 0; i < priv_desc->ncookies; i++) { in vsw_descrsend()
4194 bcopy(&priv_desc->memcookie[i], &ibnd_msg.memcookie[i], in vsw_descrsend()
4199 ibnd_msg.ncookies = priv_desc->ncookies; in vsw_descrsend()