Lines Matching defs:entry
90 * Lots of highly shared pages will have the same value for "entry" (consider
93 * The shift by 9 corresponds to the range of values for entry (0..511).
95 #define HMENT_HASH(pfn, entry) (uint32_t) \
96 ((((pfn) << 9) + entry + pfn) & (hment_hash_entries - 1))
337 * Prepare a mapping list entry to the given page.
353 hment_prepare(htable_t *htable, uint_t entry, page_t *pp)
392 if (pp->p_mapping == htable && pp->p_mlentry == entry) {
446 * Record a mapping list entry for the htable/entry to the given page.
451 hment_assign(htable_t *htable, uint_t entry, page_t *pp, hment_t *hm)
466 pp->p_mlentry = entry;
480 hm->hm_entry = entry;
491 hment_walk(page_t *pp, htable_t **ht, uint_t *entry, hment_t *prev)
500 *entry = pp->p_mlentry;
516 *entry = hm->hm_entry;
525 * Finds the mapping list entry with the given pte_t and
529 hment_remove(page_t *pp, htable_t *ht, uint_t entry)
543 ASSERT(entry == pp->p_mlentry);
557 dummy.hm_entry = entry;
559 idx = HMENT_HASH(ht->ht_pfn, entry);
564 "entry=0x%x hash index=0x%x", (uintptr_t)pp, (uintptr_t)ht,
565 entry, idx);