Searched refs:hash_table_size (Results 1 - 6 of 6) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dmem.h45 extern unsigned int hash_table_size;
H A Dhibernate_ppc.c106 PCAsize = round_page((hash_table_size / PerProcTable[0].ppe_vaddr->pf.pfPTEG)
110 count = atop_64(hash_table_size + PCAsize);
H A Dpmap.c401 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
[all...]
H A Ddb_low_trace.c357 if(s4bit) htsize = hash_table_size >> 7; /* Get number of entries in hash table for 64-bit */
358 else htsize = hash_table_size >> 6; /* get number of entries in hash table for 32-bit */
874 PTEGcnt = hash_table_size / 64; /* Get the number of PTEGS */
H A Dppc_vm_init.c66 unsigned int hash_table_size; /* Hash table size */ variable
67 int hash_table_shift; /* "ht_shift" boot arg, used to scale hash_table_size */
H A Dmappings.c194 __asm__ volatile("cntlzw %0, %1" : "=r" (tmp) : "r" (hash_table_size)); /* Get number of leading 0s */

Completed in 41 milliseconds