Lines Matching refs:pv_hashed_entry_t
341 } *pv_hashed_entry_t;
351 typedef struct pv_rooted_entry { /* first three entries must match pv_hashed_entry_t */
367 } *pv_hashed_entry_t;
369 #define PV_HASHED_ENTRY_NULL ((pv_hashed_entry_t)0)
372 pv_hashed_entry_t *pv_hash_table; /* hash lists */
389 pv_hashed_entry_t pv_hashed_free_list = PV_HASHED_ENTRY_NULL;
390 pv_hashed_entry_t pv_hashed_kern_free_list = PV_HASHED_ENTRY_NULL;
410 pv_hashed_free_list = (pv_hashed_entry_t)pvh_e->qlink.next; \
430 pv_hashed_kern_free_list = (pv_hashed_entry_t)pvh_e->qlink.next; \
642 void pmap_pvh_unlink(pv_hashed_entry_t pv);
645 * unlinks the pv_hashed_entry_t pvh from the singly linked hash chain.
651 void pmap_pvh_unlink(pv_hashed_entry_t pvh)
653 pv_hashed_entry_t curh;
654 pv_hashed_entry_t *pprevh;
1380 + (sizeof (struct pv_hashed_entry_t *) * (npvhash+1))
1401 pv_hash_table = (pv_hashed_entry_t *)addr;
1927 pv_hashed_entry_t pvh_et = PV_HASHED_ENTRY_NULL;
1928 pv_hashed_entry_t pvh_eh = PV_HASHED_ENTRY_NULL;
1929 pv_hashed_entry_t pvh_e;
2027 pv_hashed_entry_t *pprevh;
2043 pvh_e = (pv_hashed_entry_t)queue_next(&pv_h->qlink);
2261 pv_hashed_entry_t pvh_eh = PV_HASHED_ENTRY_NULL;
2262 pv_hashed_entry_t pvh_et = PV_HASHED_ENTRY_NULL;
2263 pv_hashed_entry_t nexth;
2267 pv_hashed_entry_t pvh_e;
2316 pvh_e = (pv_hashed_entry_t)pv_e; /* cheat */
2330 nexth = (pv_hashed_entry_t)queue_next(&pvh_e->qlink); /* if there is one */
2399 pvh_e = (pv_hashed_entry_t)queue_next(&pv_h->qlink);
2401 if (pvh_e != (pv_hashed_entry_t)pv_h) {
2575 pv_hashed_entry_t pvh_e;
2576 pv_hashed_entry_t pvh_new;
2577 pv_hashed_entry_t *hashp;
2776 pvh_e = (pv_hashed_entry_t)queue_next(&pv_h->qlink);
2777 if (pvh_e != (pv_hashed_entry_t)pv_h) {
2792 pv_hashed_entry_t *pprevh;
2884 pvh_new = (pv_hashed_entry_t) zalloc(pv_hashed_list_zone);
3539 register pv_hashed_entry_t pv_e;
3575 pv_e = (pv_hashed_entry_t)pv_h;
3600 pv_e = (pv_hashed_entry_t)queue_next(&pv_e->qlink);
3602 } while (pv_e != (pv_hashed_entry_t)pv_h);
3622 register pv_hashed_entry_t pv_e;
3668 pv_e = (pv_hashed_entry_t)pv_h;
3692 pv_e = (pv_hashed_entry_t)queue_next(&pv_e->qlink);
3694 } while ((attributes != bits) && (pv_e != (pv_hashed_entry_t)pv_h));
4036 pv_hashed_entry_t pvh_e;
4037 pv_hashed_entry_t pvh_eh;
4038 pv_hashed_entry_t pvh_et;
4044 pvh_e = (pv_hashed_entry_t) zalloc(pv_hashed_list_zone);
4058 pvh_e = (pv_hashed_entry_t) zalloc(pv_hashed_list_zone);
4074 pv_hashed_entry_t pvh_e;
4075 pv_hashed_entry_t pvh_eh;
4076 pv_hashed_entry_t pvh_et;
4091 pvh_e = (pv_hashed_entry_t) zalloc(pv_hashed_list_zone);
4107 pvh_e = (pv_hashed_entry_t) zalloc(pv_hashed_list_zone);