Lines Matching refs:pg_level
202 struct pg_level { struct
210 static struct pg_level pg_level[] = { argument
245 if ((st->current_prot & pg_level[st->level].ro_bit->mask) == in note_prot_wx()
246 pg_level[st->level].ro_bit->val) in note_prot_wx()
248 if ((st->current_prot & pg_level[st->level].nx_bit->mask) == in note_prot_wx()
249 pg_level[st->level].nx_bit->val) in note_prot_wx()
262 u64 prot = val & pg_level[level].mask; in note_page()
289 if (pg_level[st->level].bits) in note_page()
290 dump_prot(st, pg_level[st->level].bits, pg_level[st->level].num); in note_page()
427 for (i = 0; i < ARRAY_SIZE(pg_level); i++) in ptdump_initialize()
428 if (pg_level[i].bits) in ptdump_initialize()
429 for (j = 0; j < pg_level[i].num; j++) { in ptdump_initialize()
430 pg_level[i].mask |= pg_level[i].bits[j].mask; in ptdump_initialize()
431 if (pg_level[i].bits[j].ro_bit) in ptdump_initialize()
432 pg_level[i].ro_bit = &pg_level[i].bits[j]; in ptdump_initialize()
433 if (pg_level[i].bits[j].nx_bit) in ptdump_initialize()
434 pg_level[i].nx_bit = &pg_level[i].bits[j]; in ptdump_initialize()