Lines Matching refs:magcnt
972 maglist[magcnt++] = mp->mag_round[i]; \
973 if (magcnt == magmax) { \
975 magcnt); \
989 size_t magcnt = 0;
1078 dprintf(("magazine layer: %d buffers\n", magcnt));
1084 *magcntp = magcnt;
1156 size_t magmax, magcnt;
1240 if (kmem_read_magazines(cp, addr, ncpus, &maglist, &magcnt,
1249 qsort(maglist, magcnt, sizeof (void *), addrcmp);
1259 kmw->kmw_count = magcnt;
1339 int magcnt = kmw->kmw_count;
1366 if (magcnt > 0 &&
1367 bsearch(&buf, maglist, magcnt, sizeof (void *),
1385 if ((type & KM_FREE) && magcnt != 0) {
1387 for (i = 0; i < magcnt; i++) {
1579 if (magcnt > 0 &&
1580 bsearch(&buf, maglist, magcnt, sizeof (void *),