Lines Matching refs:cnt
110 static int cmdk_bbh_bsearch(struct alts_ent *buf, int cnt, daddr32_t key);
2061 int cnt;
2108 for (idx = i, cnt = 0; idx < alts_used; idx++, altp++, cnt++) {
2113 if (!cnt) {
2119 cnt <<= 1;
2120 cnt++;
2124 (cnt * sizeof (*ckp))), KM_SLEEP);
2127 hp->h_totck = cnt;
2188 cmdk_bbh_bsearch(struct alts_ent *buf, int cnt, daddr32_t key)
2195 if (!cnt)
2199 for (i = 1; i <= cnt; i <<= 1)
2219 if ((ind == cnt) || !interval)
2221 if ((ind+interval) <= cnt)