Lines Matching defs:softbuf
882 cyc_softbuf_t *softbuf = &cpu->cyp_softbuf[level];
883 cyc_pcbuffer_t *pc = &softbuf->cys_buf[softbuf->cys_hard];
1124 cyc_softbuf_t *softbuf;
1134 softbuf = &cpu->cyp_softbuf[level];
1136 soft = softbuf->cys_soft;
1139 pc = &softbuf->cys_buf[soft];
1273 if (soft != softbuf->cys_hard) {
1280 ASSERT(softbuf->cys_buf[softbuf->cys_hard].cypc_sizemask ==
1281 (softbuf->cys_buf[soft].cypc_sizemask << 1) + 1 ||
1282 softbuf->cys_buf[soft].cypc_sizemask == 0);
1283 ASSERT(softbuf->cys_hard == (softbuf->cys_soft ^ 1));
1288 * pend loop and the check against softbuf->cys_hard.
1295 softbuf->cys_soft = softbuf->cys_hard;
1403 cyc_softbuf_t *softbuf = &cpu->cyp_softbuf[i];
1404 uchar_t hard = softbuf->cys_hard;
1409 ASSERT(hard == softbuf->cys_soft);
1411 ASSERT(softbuf->cys_buf[hard].cypc_buf != NULL);
1413 softbuf->cys_hard = hard ^ 1;
1420 ASSERT(softbuf->cys_buf[hard ^ 1].cypc_buf != NULL);
1421 ASSERT(softbuf->cys_buf[hard ^ 1].cypc_prodndx == 0);
1422 ASSERT(softbuf->cys_buf[hard ^ 1].cypc_consndx == 0);
1471 * on cpu_lock), so we can safely read the softbuf metadata.
1476 cyc_softbuf_t *softbuf = &cpu->cyp_softbuf[i];
1477 char hard = softbuf->cys_hard;
1478 cyc_pcbuffer_t *pc = &softbuf->cys_buf[hard ^ 1];
1481 ASSERT(hard == softbuf->cys_soft);
1510 cyc_softbuf_t *softbuf = &cpu->cyp_softbuf[i];
1511 char hard = softbuf->cys_hard;
1512 cyc_pcbuffer_t *pc = &softbuf->cys_buf[hard ^ 1];
1515 ASSERT(hard == softbuf->cys_soft);
2358 cyc_softbuf_t *softbuf = &cpu->cyp_softbuf[i];
2359 uchar_t hard = softbuf->cys_hard;
2360 cyc_pcbuffer_t *pc = &softbuf->cys_buf[hard];
2366 ASSERT(hard == softbuf->cys_soft);
2369 ASSERT(softbuf->cys_buf[hard ^ 1].cypc_buf == NULL);