Lines Matching refs:hash_table_size
401 hash_table_size = (uint_t)(tmemsize >> 13) * PerProcTable[0].ppe_vaddr->pf.pfPTEG;
404 hash_table_size >>= 1;
408 hash_table_size <<= hash_table_shift;
410 hash_table_size >>= (-hash_table_shift);
413 if (hash_table_size < (256 * 1024))
414 hash_table_size = (256 * 1024);
418 if(hash_table_size < (256 * 1024)) { /* Have we dropped too short? This should never, ever happen */
422 PCAsize = (hash_table_size / PerProcTable[0].ppe_vaddr->pf.pfPTEG) * sizeof(PCA_t); /* Get total size of PCA table */
427 hash_table_base = ((addr64_t)pmap_mem_regions[bank].mrEnd << 12) - hash_table_size + PAGE_SIZE; /* Get tenative address */
429 htslop = hash_table_base & (hash_table_size - 1); /* Get the extra that we will round down when we align */
430 hash_table_base = hash_table_base & -(addr64_t)hash_table_size; /* Round down to correct boundary */
437 hash_table_size = hash_table_size >> 1; /* Try the next size down */
448 pmap_mem_regions[i + 1].mrStart = (hash_table_base + hash_table_size) >> 12; /* Set the start of the next bank to the start of the slop area */
449 pmap_mem_regions[i + 1].mrAStart = (hash_table_base + hash_table_size) >> 12; /* Set the start of allocatable area to the start of the slop area */
450 pmap_mem_regions[i].mrEnd = (hash_table_base + hash_table_size - 4096) >> 12; /* Set the end of our bank to the end of the hash table */