Lines Matching refs:pte_bits
135 static const struct prot_bits pte_bits[] = { variable
209 for (i = 0; i < ARRAY_SIZE(pte_bits); i++) { in dump_prot()
213 val = st->current_prot & pte_bits[i].mask; in dump_prot()
215 if (pte_bits[i].mask == _PAGE_SOFT) in dump_prot()
216 sprintf(s, pte_bits[i].set, val >> 8); in dump_prot()
218 else if (pte_bits[i].mask == _PAGE_MTMASK_SVPBMT) { in dump_prot()
220 sprintf(s, pte_bits[i].set, "NC"); in dump_prot()
222 sprintf(s, pte_bits[i].set, "IO"); in dump_prot()
224 sprintf(s, pte_bits[i].set, "??"); in dump_prot()
228 sprintf(s, "%s", pte_bits[i].set); in dump_prot()
230 sprintf(s, "%s", pte_bits[i].clear); in dump_prot()
452 for (j = 0; j < ARRAY_SIZE(pte_bits); j++) in ptdump_init()
453 pg_level[i].mask |= pte_bits[j].mask; in ptdump_init()