Lines Matching refs:magcnt
889 maglist[magcnt++] = mp->mag_round[i]; \
890 if (magcnt == magmax) { \
892 magcnt); \
906 size_t magcnt = 0;
983 dprintf(("magazine layer: %d buffers\n", magcnt));
988 *magcntp = magcnt;
1120 size_t magmax, magcnt;
1190 if (umem_read_magazines(cp, addr, &maglist, &magcnt, &magmax) != 0)
1196 if (umem_read_ptc(cp, &maglist, &magcnt, &magmax) != 0)
1205 qsort(maglist, magcnt, sizeof (void *), addrcmp);
1215 umw->umw_count = magcnt;
1295 int magcnt = umw->umw_count;
1322 if (magcnt > 0 &&
1323 bsearch(&buf, maglist, magcnt, sizeof (void *),
1341 if ((type & UM_FREE) && magcnt != 0) {
1343 for (i = 0; i < magcnt; i++) {
1528 if (magcnt > 0 &&
1529 bsearch(&buf, maglist, magcnt, sizeof (void *),