Home
last modified time | relevance | path

Searched refs:pg_level (Results 1 – 11 of 11) sorted by relevance

/arch/arm/mm/
Ddump.c198 struct pg_level { struct
206 static struct pg_level pg_level[] = { argument
241 if ((st->current_prot & pg_level[st->level].ro_bit->mask) == in note_prot_wx()
242 pg_level[st->level].ro_bit->val) in note_prot_wx()
244 if ((st->current_prot & pg_level[st->level].nx_bit->mask) == in note_prot_wx()
245 pg_level[st->level].nx_bit->val) in note_prot_wx()
258 u64 prot = val & pg_level[level].mask; in note_page()
285 if (pg_level[st->level].bits) in note_page()
286 dump_prot(st, pg_level[st->level].bits, pg_level[st->level].num); in note_page()
423 for (i = 0; i < ARRAY_SIZE(pg_level); i++) in ptdump_initialize()
[all …]
/arch/arm64/mm/
Dptdump.c179 struct pg_level { struct
186 static struct pg_level pg_level[] = { argument
265 prot = val & pg_level[level].mask; in note_page()
291 pg_level[st->level].name); in note_page()
292 if (st->current_prot && pg_level[st->level].bits) in note_page()
293 dump_prot(st, pg_level[st->level].bits, in note_page()
294 pg_level[st->level].num); in note_page()
341 for (i = 0; i < ARRAY_SIZE(pg_level); i++) in ptdump_initialize()
342 if (pg_level[i].bits) in ptdump_initialize()
343 for (j = 0; j < pg_level[i].num; j++) in ptdump_initialize()
[all …]
/arch/powerpc/mm/ptdump/
Dptdump.c204 u64 flag = val & pg_level[level].mask; in note_page_update_state()
222 u64 flag = val & pg_level[level].mask; in note_page()
248 if (pg_level[st->level].flag) in note_page()
249 dump_flag_info(st, pg_level[st->level].flag, in note_page()
251 pg_level[st->level].num); in note_page()
433 for (i = 0; i < ARRAY_SIZE(pg_level); i++) in build_pgtable_complete_mask()
434 if (pg_level[i].flag) in build_pgtable_complete_mask()
435 for (j = 0; j < pg_level[i].num; j++) in build_pgtable_complete_mask()
436 pg_level[i].mask |= pg_level[i].flag[j].mask; in build_pgtable_complete_mask()
Dptdump.h20 extern struct pgtable_level pg_level[5];
Dshared.c70 struct pgtable_level pg_level[5] = { variable
D8xx.c77 struct pgtable_level pg_level[5] = { variable
Dbook3s64.c105 struct pgtable_level pg_level[5] = { variable
/arch/riscv/mm/
Dptdump.c160 struct pg_level { struct
165 static struct pg_level pg_level[] = { argument
219 pg_level[st->level].name); in dump_addr()
245 prot = val & pg_level[level].mask; in note_page()
338 for (i = 0; i < ARRAY_SIZE(pg_level); i++) in ptdump_init()
340 pg_level[i].mask |= pte_bits[j].mask; in ptdump_init()
/arch/x86/include/asm/
Dpgtable.h1267 static inline int page_level_shift(enum pg_level level) in page_level_shift()
1271 static inline unsigned long page_level_size(enum pg_level level) in page_level_size()
1275 static inline unsigned long page_level_mask(enum pg_level level) in page_level_mask()
Dpgtable_types.h543 enum pg_level { enum
/arch/x86/mm/pat/
Dset_memory.c692 enum pg_level level; in slow_virt_to_phys()
771 enum pg_level level; in __should_split_large_page()