Lines Matching refs:vm_page_bucket_count
136 unsigned int vm_page_bucket_count = 0; /* How big is array? */
156 for (i = 0; i < vm_page_bucket_count; i++) {
164 printf("Total number of buckets: %d\n", vm_page_bucket_count);
166 numbuckets, 100*numbuckets/vm_page_bucket_count);
168 vm_page_bucket_count - numbuckets,
169 100*(vm_page_bucket_count-numbuckets)/vm_page_bucket_count);
172 highsum/vm_page_bucket_count,
173 highsum%vm_page_bucket_count);
498 if (vm_page_bucket_count == 0) {
501 vm_page_bucket_count = 1;
502 while (vm_page_bucket_count < npages)
503 vm_page_bucket_count <<= 1;
506 vm_page_hash_mask = vm_page_bucket_count - 1;
511 * B = log2(vm_page_bucket_count)
515 size = vm_page_bucket_count;
527 if (vm_page_hash_mask & vm_page_bucket_count)
531 pmap_steal_memory(vm_page_bucket_count *
534 for (i = 0; i < vm_page_bucket_count; i++) {
3524 if (vm_page_bucket_count < count)
3525 count = vm_page_bucket_count;
3541 return vm_page_bucket_count;