Lines Matching refs:vm_page_bucket_count
163 unsigned int vm_page_bucket_count = 0; /* How big is array? */
185 for (i = 0; i < vm_page_bucket_count; i++) {
193 printf("Total number of buckets: %d\n", vm_page_bucket_count);
195 numbuckets, 100*numbuckets/vm_page_bucket_count);
197 vm_page_bucket_count - numbuckets,
198 100*(vm_page_bucket_count-numbuckets)/vm_page_bucket_count);
201 highsum/vm_page_bucket_count,
202 highsum%vm_page_bucket_count);
618 if (vm_page_bucket_count == 0) {
621 vm_page_bucket_count = 1;
622 while (vm_page_bucket_count < npages)
623 vm_page_bucket_count <<= 1;
625 vm_page_bucket_lock_count = (vm_page_bucket_count + BUCKETS_PER_LOCK - 1) / BUCKETS_PER_LOCK;
627 vm_page_hash_mask = vm_page_bucket_count - 1;
632 * B = log2(vm_page_bucket_count)
636 size = vm_page_bucket_count;
648 if (vm_page_hash_mask & vm_page_bucket_count)
652 pmap_steal_memory(vm_page_bucket_count *
660 for (i = 0; i < vm_page_bucket_count; i++) {
5557 if (vm_page_bucket_count < count)
5558 count = vm_page_bucket_count;
5577 return vm_page_bucket_count;