sdesc
desc = dp->sdesc;
const char *sdesc; /* short description */
struct nscd_cfg_stat_desc *sdesc,
if (_nscd_cfg_flag_is_set(sdesc->sflag, NSCD_CFG_SFLAG_GLOBAL)) {
nscd_cfg_stat_desc_t *sdesc;
sdesc = &_nscd_cfg_stat_desc[i];
(void) memcpy(&h->desc, &sdesc, sizeof (sdesc));
sdesc->sflag, NSCD_CFG_SFLAG_GLOBAL);
struct nscd_cfg_stat_desc *sdesc,
struct nscd_cfg_stat_desc *sdesc,
struct nscd_cfg_stat_desc *sdesc,
if (_nscd_cfg_flag_is_set(sdesc->sflag, NSCD_CFG_SFLAG_GLOBAL)) {
struct nscd_cfg_stat_desc *sdesc,
struct fl_sdesc *sdesc; /* KVA of software descriptor ring */
struct tx_sdesc *sdesc; /* KVA of software descriptor ring */
fl->sdesc = kmem_zalloc(sizeof (struct fl_sdesc) * fl->cap,
if (fl->sdesc != NULL) {
kmem_free(fl->sdesc, sizeof (struct fl_sdesc) *
fl->sdesc = NULL;
txq->sdesc = kmem_zalloc(sizeof (struct tx_sdesc) * eq->cap, KM_SLEEP);
if (txq->sdesc != NULL) {
sd = &txq->sdesc[eq->cidx];
kmem_free(txq->sdesc, sizeof (struct tx_sdesc) * eq->cap);
txq->sdesc = NULL;
struct fl_sdesc *sd = &fl->sdesc[fl->pidx];
sd = fl->sdesc;
sd = &fl->sdesc[i];
rxb = fl->sdesc[cidx].rxb;
txsd = &txq->sdesc[eq->pidx];
txsd = &txq->sdesc[eq->pidx];
txsd = &txq->sdesc[eq->pidx];
txsd = &txq->sdesc[eq->pidx];
txq->sdesc[eq->pidx] = txsd;
struct tx_sdesc *txsd = &txq->sdesc[eq->cidx];
struct PVSCSIRingsState *sdesc = RINGS_STATE(pvs);
uint32_t cmp_ne = sdesc->cmpNumEntriesLog2;
while (sdesc->cmpConsIdx != sdesc->cmpProdIdx) {
cdesc = CMP_RING(pvs) + (sdesc->cmpConsIdx & MASK(cmp_ne));
sdesc->cmpConsIdx++;
struct PVSCSIRingsState *sdesc = RINGS_STATE(pvs);
uint32_t msg_ne = sdesc->msgNumEntriesLog2;
if (sdesc->msgProdIdx == sdesc->msgConsIdx) {
mdesc = MSG_RING(pvs) + (sdesc->msgConsIdx & MASK(msg_ne));
sdesc->msgConsIdx++;
struct PVSCSIRingsState *sdesc = RINGS_STATE(pvs);
uint32_t req_ne = sdesc->reqNumEntriesLog2;
if ((sdesc->reqProdIdx - sdesc->cmpConsIdx) >= (1 << req_ne)) {
rdesc = REQ_RING(pvs) + (sdesc->reqProdIdx & MASK(req_ne));
sdesc->reqProdIdx++;
ibt_srv_desc_t sdesc;
(void) bzero(&sdesc, sizeof (ibt_srv_desc_t));
sdesc.sd_handler = rib_srv_cm_handler;
sdesc.sd_flags = 0;
&sdesc, ibt_get_ip_sid(protocol_num, dst_port),