Lines Matching refs:nentries
69 u_int32_t *bitmap, *deadlock, i, killid, nentries, nlockers;
103 nentries = ALIGN(nlockers, 32) / 32;
139 killid = (deadlock - bitmap) / nentries;
202 u_int32_t *bitmap, count, *entryp, i, id, nentries, *tmpmap;
227 nentries = ALIGN(count, 32) / 32;
236 sizeof(u_int32_t) * nentries, &bitmap)) != 0)
239 if ((ret = __os_calloc(sizeof(u_int32_t), nentries, &tmpmap)) != 0) {
240 __os_free(bitmap, sizeof(u_int32_t) * nentries);
246 __os_free(bitmap, count * sizeof(u_int32_t) * nentries);
247 __os_free(tmpmap, sizeof(u_int32_t) * nentries);
256 __os_free(bitmap, count * sizeof(u_int32_t) * nentries);
257 __os_free(tmpmap, sizeof(u_int32_t) * nentries);
283 CLEAR_MAP(tmpmap, nentries);
334 entryp = bitmap + (nentries * lockerp->dd_id);
335 OR_MAP(entryp, tmpmap, nentries);
383 __os_free(tmpmap, sizeof(u_int32_t) * nentries);
392 u_int32_t i, j, nentries, *mymap, *tmpmap;
398 nentries = ALIGN(nlockers, 32) / 32;
399 for (mymap = bmp, i = 0; i < nlockers; i++, mymap += nentries) {
405 tmpmap = bmp + (nentries * j);
406 OR_MAP(mymap, tmpmap, nentries);
472 u_int32_t i, j, *mymap, nentries;
485 nentries = ALIGN(nlockers, 32) / 32;
486 for (mymap = bitmap, i = 0; i < nlockers; i++, mymap += nentries) {