Lines Matching refs:count
202 u_int32_t *bitmap, count, *entryp, i, id, nentries, *tmpmap;
214 retry: count = lt->region->nlockers;
218 if (count == 0) {
224 __db_err(dbenv, "%lu lockers", (u_long)count);
226 count += 10;
227 nentries = ALIGN(count, 32) / 32;
229 * Allocate enough space for a count by count bitmap matrix.
233 * reallocing if necessary because count grew by too much.
235 if ((ret = __os_calloc((size_t)count,
245 __os_calloc((size_t)count, sizeof(locker_info), &id_array)) != 0) {
246 __os_free(bitmap, count * sizeof(u_int32_t) * nentries);
255 if (lt->region->nlockers > count) {
256 __os_free(bitmap, count * sizeof(u_int32_t) * nentries);
258 __os_free(id_array, count * sizeof(locker_info));
350 for (id = 0; id < count; id++) {