/linux/arch/arm/mm/ |
H A D | dump.c | 202 struct pg_level { struct 211 static struct pg_level pg_level[] = { variable 248 if ((st->current_prot & pg_level[st->level].ro_bit->mask) == in note_prot_wx() 249 pg_level[st->level].ro_bit->val) in note_prot_wx() 251 if ((st->current_prot & pg_level[st->level].nx_bit->mask) == in note_prot_wx() 252 pg_level[st->level].nx_bit->val) in note_prot_wx() 265 u64 prot = val & pg_level[level].mask; in note_page() 289 pg_level[st->level].name); in note_page() 293 if (pg_level[st->level].bits) in note_page() 294 dump_prot(st, pg_level[st->level].bits, pg_level[st->level].num); in note_page() [all …]
|
/linux/arch/powerpc/mm/ptdump/ |
H A D | ptdump.c | 202 u64 flag = level >= 0 ? val & pg_level[level].mask : 0; in note_page_update_state() 218 u64 flag = level >= 0 ? val & pg_level[level].mask : 0; in note_page() 241 if (pg_level[st->level].flag) in note_page() 242 dump_flag_info(st, pg_level[st->level].flag, in note_page() 244 pg_level[st->level].num); in note_page() 324 for (i = 0; i < ARRAY_SIZE(pg_level); i++) in build_pgtable_complete_mask() 325 if (pg_level[i].flag) in build_pgtable_complete_mask() 326 for (j = 0; j < pg_level[i].num; j++) in build_pgtable_complete_mask() 327 pg_level[i].mask |= pg_level[i].flag[j].mask; in build_pgtable_complete_mask()
|
H A D | ptdump.h | 20 extern struct pgtable_level pg_level[5];
|
H A D | shared.c | 70 struct pgtable_level pg_level[5] = { variable
|
H A D | 8xx.c | 72 struct pgtable_level pg_level[5] = { variable
|
H A D | book3s64.c | 105 struct pgtable_level pg_level[5] = { variable
|
/linux/arch/arm64/mm/ |
H A D | ptdump.c | 195 struct ptdump_pg_level *pg_level = st->pg_level; in note_page() local 205 prot = val & pg_level[level].mask; in note_page() 231 pg_level[st->level].name); in note_page() 232 if (st->current_prot && pg_level[st->level].bits) in note_page() 233 dump_prot(st, pg_level[st->level].bits, in note_page() 234 pg_level[st->level].num); in note_page() 266 .pg_level = &kernel_pg_levels[0], in ptdump_walk() 302 .pg_level = &kernel_pg_levels[0], in ptdump_check_wx()
|
/linux/arch/x86/coco/tdx/ |
H A D | tdx-shared.c | 5 enum pg_level pg_level) in try_accept_one() argument 7 unsigned long accept_size = page_level_size(pg_level); in try_accept_one() 23 switch (pg_level) { in try_accept_one()
|
/linux/arch/riscv/mm/ |
H A D | ptdump.c | 187 struct pg_level { struct 192 static struct pg_level pg_level[] = { argument 261 pg_level[st->level].name); in dump_addr() 287 prot = val & pg_level[level].mask; in note_page() 409 pg_level[1].name = pgtable_l5_enabled ? "P4D" : "PGD"; in ptdump_init() 410 pg_level[2].name = pgtable_l4_enabled ? "PUD" : "PGD"; in ptdump_init() 412 for (i = 0; i < ARRAY_SIZE(pg_level); i++) in ptdump_init() 414 pg_level[i].mask |= pte_bits[j].mask; in ptdump_init()
|
/linux/arch/x86/include/asm/ |
H A D | sev.h | 509 int rmp_make_private(u64 pfn, u64 gpa, enum pg_level level, u32 asid, bool immutable); 510 int rmp_make_shared(u64 pfn, enum pg_level level); 519 static inline int rmp_make_private(u64 pfn, u64 gpa, enum pg_level level, u32 asid, in rmp_make_private() 524 static inline int rmp_make_shared(u64 pfn, enum pg_level level) { return -ENODEV; } in rmp_make_shared()
|
H A D | pgtable_types.h | 548 enum pg_level { enum
|
/linux/arch/arm64/include/asm/ |
H A D | ptdump.h | 48 struct ptdump_pg_level *pg_level; member
|
/linux/arch/x86/virt/svm/ |
H A D | sev.c | 541 int rmp_make_private(u64 pfn, u64 gpa, enum pg_level level, u32 asid, bool immutable) in rmp_make_private() 557 int rmp_make_shared(u64 pfn, enum pg_level level) in rmp_make_shared()
|
/linux/arch/arm64/kvm/ |
H A D | ptdump.c | 121 .pg_level = &st->level[0], in kvm_ptdump_parser_create()
|
/linux/arch/x86/mm/pat/ |
H A D | set_memory.c | 806 enum pg_level level; in slow_virt_to_phys() 885 enum pg_level level; in __should_split_large_page()
|
/linux/tools/testing/selftests/kvm/include/x86_64/ |
H A D | processor.h | 1338 enum pg_level { 1333 enum pg_level { global() enum
|