Lines Matching defs:maxcnt
4999 * If maxcnt is not -1 it assumes that caller has "maxcnt" claim(s) on the
5000 * sync queue and waits until sq_count reaches maxcnt.
5002 * If maxcnt is -1 there's no need to grab sq_putlocks since the caller
5009 blocksq(syncq_t *sq, ushort_t flag, int maxcnt)
5021 if (maxcnt != -1) {
5031 (maxcnt != -1 && count > (unsigned)maxcnt)) {
5033 if (maxcnt != -1) {
5037 if (maxcnt != -1) {
5045 ASSERT(maxcnt == -1 || count == maxcnt);
5046 if (maxcnt != -1) {
6048 uint_t maxcnt = (sq == osq) ? 1 : 0;
6054 if (sq->sq_count > maxcnt)