Lines Matching refs:seg_phash
93 struct seg_phash *p_hashp; /* our pcache hash bucket */
100 struct seg_phash { struct
154 struct seg_phash *p_htabwin; /* hash table for non wired entries */
223 ((struct seg_phash *)&seg_phashtab_wired[P_HASHWIRED_MASK & \
247 #define hlink2phash(hl, l) ((struct seg_phash *)((uintptr_t)(hl) - \
248 offsetof(struct seg_phash, p_halink[l])))
285 seg_padd_abuck(struct seg_phash *hp) in seg_padd_abuck()
290 ASSERT((struct seg_phash *)hp->p_hnext != hp); in seg_padd_abuck()
291 ASSERT((struct seg_phash *)hp->p_hprev != hp); in seg_padd_abuck()
339 seg_premove_abuck(struct seg_phash *hp, int athr) in seg_premove_abuck()
344 ASSERT((struct seg_phash *)hp->p_hnext == hp); in seg_premove_abuck()
345 ASSERT((struct seg_phash *)hp->p_hprev == hp); in seg_premove_abuck()
422 seg_plookup_checkdup(struct seg_phash *hp, void *htag0, in seg_plookup_checkdup()
467 struct seg_phash *hp; in seg_plookup()
529 struct seg_phash *hp; in seg_pinactive()
805 struct seg_phash *hp; in seg_pinsert()
941 struct seg_phash *hp; in seg_ppurge_async()
1019 (struct seg_phash *)hpw); in seg_ppurge_async()
1218 ASSERT(pcp->p_hashp == (struct seg_phash *)hp); in seg_ppurge_wiredpp()
1273 struct seg_phash *hp; in seg_ppurge()
1372 struct seg_phash *hp; in seg_pinit()
1427 seg_phashsize_win * sizeof (struct seg_phash), in seg_pinit()
1467 hp = (struct seg_phash *)&seg_phashtab_wired[i]; in seg_pinit()