Home
last modified time | relevance | path

Searched refs:max_level (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dflowgraph.c123 int max_level = 0; in domtree_build() local
187 if (max_level < level) in domtree_build()
188 max_level = level; in domtree_build()
190 ep->dom_levels = max_level + 1; in domtree_build()
/illumos-gate/usr/src/uts/i86pc/vm/
H A Di86_mmu.c292 nwindows = MAX(nwindows, mmu.max_level); in hat_kern_alloc()
339 for (l = start_level; l < mmu.max_level; ++l) { in hat_kern_alloc()
356 LEVEL_SHIFT(mmu.max_level)) & (mmu.top_level_count - 1)); in hat_kern_alloc()
397 htable_attach(kas.a_hat, 0, mmu.max_level, NULL, in hat_kern_setup()
H A Dhtable.h137 (((ht)->ht_level == mmu.max_level) ? 512 : 4) : 512)
140 ((ht)->ht_level == mmu.max_level ? ((uintptr_t)0UL - MMU_PAGESIZE) :\
H A Dhtable.c676 if (ht->ht_level == mmu.max_level) { in htable_steal()
901 if (level == mmu.max_level) { in htable_alloc()
966 if (level == mmu.max_level) in htable_alloc()
1010 if (ht->ht_level == mmu.max_level && hat != NULL) { in htable_free()
1147 ASSERT(new->ht_level != mmu.max_level); in link_ptp()
1501 if (level == mmu.max_level) in htable_attach()
1650 if (l == mmu.max_level && va >= mmu.hole_start && va <= mmu.hole_end) in htable_scan()
1872 if (ht->ht_level == mmu.max_level && va >= mmu.hole_start) in htable_e2va()
2173 if (ht->ht_level == mmu.max_level && ht->ht_hat != kas.a_hat) { in x86pte_cas()
2392 if (dest->ht_level == mmu.max_level && in x86pte_copy()
H A Dhat_i86.c488 hat->hat_max_level = mmu.max_level; in hat_alloc()
506 hat->hat_max_level = mmu.max_level; in hat_alloc()
513 hat->hat_max_level = mmu.max_level; in hat_alloc()
587 xen_pin(hat->hat_htable->ht_pfn, mmu.max_level); in hat_alloc()
588 xen_pin(hat->hat_user_ptable, mmu.max_level); in hat_alloc()
614 hat->hat_max_level = mmu.max_level; in hat_cpu_alloc()
786 shift = _userlimit >> mmu.level_shift[mmu.max_level]; in mmu_calc_user_slots()
905 mmu.max_level = 3; in mmu_init()
1022 ASSERT3U(mmu.max_level, >, 0); in hat_init()
1023 kas.a_hat->hat_max_level = mmu.max_level; in hat_init()
[all …]
H A Dhat_kdi.c184 for (level = mmu.max_level; ; --level) { in kdi_vtop()
H A Dhat_pte.h175 uint_t max_level; /* just num_level - 1 */ member
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/
H A Di86mmu.c498 if (level > mmu.max_level) { in pte_dcmd()
575 for (level = 0; level <= mmu.max_level; ++level) { in do_va2pa()
943 if (level != (uint64_t)-1 && level > mmu.max_level) { in ptable_dcmd()
1019 for (level_t l = mmu.max_level; l >= 0; l--) in entry2va()
1061 curlevel = mmu.max_level; in ptmap_dcmd()
1107 if (curlevel == mmu.max_level) { in ptmap_dcmd()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmain.c2649 int ilevel, olevel, max_level; local
2729 max_level = max_data_rate / 10;
2730 if (max_level < MAXLEVELMINSIZE)
2731 max_level = MAXLEVELMINSIZE;
2733 max_level = sizeof(inpacket_buf) + 1;
2753 if (ilevel >= max_level)
2760 if (olevel >= max_level)
2849 if (olevel + n > max_level)
2850 n = max_level - olevel;
2871 if (ilevel + n > max_level)
[all …]
/illumos-gate/usr/src/uts/i86xpv/os/
H A Dxpv_panic.c200 for (l = mmu.max_level; l >= 0; l--) in xpv_va_walk()
208 for (l = mmu.max_level; l >= 0; l--) { in xpv_va_walk()
219 if (l == mmu.max_level && mmu.pae_hat) in xpv_va_walk()
756 for (l = mmu.max_level; l >= 0; l--) in xpv_do_panic()
/illumos-gate/usr/src/uts/i86pc/os/cpupm/
H A Dcpupm_mach.c878 int max_level; in cpupm_get_top_speed() local
889 max_level = nspeeds - 1; in cpupm_get_top_speed()
890 if ((plat_level < 0) || (plat_level > max_level)) { in cpupm_get_top_speed()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dstartup.c364 ((uintptr_t)P2ROUNDUP((uintptr_t)(x), mmu.level_size[mmu.max_level]))