Searched refs:HTABLE_NUM_PTES (Results 1 – 4 of 4) sorted by relevance
130 #define HTABLE_NUM_PTES(ht) (((ht)->ht_flags & HTABLE_VLP) ? 4 : 512) macro135 ((uintptr_t)HTABLE_NUM_PTES(ht) << LEVEL_SHIFT((ht)->ht_level))))143 #define HTABLE_NUM_PTES(ht) \ macro147 ((uintptr_t)HTABLE_NUM_PTES(ht) << LEVEL_SHIFT((ht)->ht_level)))
474 e < HTABLE_NUM_PTES(ht) && ht->ht_valid_cnt > 0 && in htable_steal_active()1565 for (i = 0; i < HTABLE_NUM_PTES(ht); ++i) { in htable_attach()1630 end_pte_ptr = (caddr_t)PT_INDEX_PTR(pte_ptr, HTABLE_NUM_PTES(ht)); in htable_scan()1861 return ((va >> LEVEL_SHIFT(l)) & (HTABLE_NUM_PTES(ht) - 1)); in htable_va2entry()1874 ASSERT(entry < HTABLE_NUM_PTES(ht)); in htable_e2va()
328 cnt = HTABLE_NUM_PTES(ht) - start; in hat_alloc()3008 for (e = 1; e < HTABLE_NUM_PTES(ism_ht); ++e) { in hat_share()
533 return (entry & HTABLE_NUM_PTES(htable) - 1); in va2entry()786 entry < HTABLE_NUM_PTES(&htable); in do_report_maps()