Lines Matching defs:hard
463 * level: a hard buffer (the buffer being produced into by cyclic_expire())
465 * During normal operation, the hard buffer and soft buffer point to the
468 * During a resize, however, cyclic_expand_xcall() changes the hard buffer
475 * cyclic_softint() will see that the hard buffer has changed. At that time,
476 * cyclic_softint() will change its soft buffer to point to the hard buffer,
1304 * seen the hard index change.
1404 uchar_t hard = softbuf->cys_hard;
1409 ASSERT(hard == softbuf->cys_soft);
1410 ASSERT(hard == 0 || hard == 1);
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);
1477 char hard = softbuf->cys_hard;
1478 cyc_pcbuffer_t *pc = &softbuf->cys_buf[hard ^ 1];
1480 ASSERT(hard == old_hard);
1481 ASSERT(hard == softbuf->cys_soft);
1511 char hard = softbuf->cys_hard;
1512 cyc_pcbuffer_t *pc = &softbuf->cys_buf[hard ^ 1];
1514 ASSERT(hard == (old_hard ^ 1));
1515 ASSERT(hard == softbuf->cys_soft);
2359 uchar_t hard = softbuf->cys_hard;
2360 cyc_pcbuffer_t *pc = &softbuf->cys_buf[hard];
2366 ASSERT(hard == softbuf->cys_soft);
2367 ASSERT(hard == 0 || hard == 1);
2369 ASSERT(softbuf->cys_buf[hard ^ 1].cypc_buf == NULL);