Lines Matching refs:npvhash
374 uint32_t npvhash = 0;
378 #define CHK_NPVHASH() if(0 == npvhash) panic("npvhash uninitialized");
484 #define pvhashidx(pmap, va) (((uint32_t)pmap ^ ((uint32_t)((uint64_t)va >> PAGE_SHIFT) & 0xFFFFFFFF)) & npvhash)
1218 if (PE_parse_boot_argn("npvhash", &npvhash, sizeof (npvhash))) {
1219 if (0 != ((npvhash+1) & npvhash)) {
1220 kprintf("invalid hash %d, must be ((2^N)-1), using default %d\n",npvhash,NPVHASH);
1221 npvhash = NPVHASH;
1224 npvhash = NPVHASH;
1226 printf("npvhash=%d\n",npvhash);
1380 + (sizeof (struct pv_hashed_entry_t *) * (npvhash+1))
1382 + pv_hash_lock_table_size((npvhash+1))
1392 if (0 == npvhash) panic("npvhash not initialized");
1402 addr = (vm_offset_t) (pv_hash_table + (npvhash + 1));
1408 addr = (vm_offset_t) (pv_hash_lock_table + pv_hash_lock_table_size((npvhash+1)));