Home
last modified time | relevance | path

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

/linux/arch/arm/mm/
H A Ddump.c202 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 Dptdump.c202 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 Dptdump.h20 extern struct pgtable_level pg_level[5];
H A Dshared.c70 struct pgtable_level pg_level[5] = { variable
H A D8xx.c72 struct pgtable_level pg_level[5] = { variable
H A Dbook3s64.c105 struct pgtable_level pg_level[5] = { variable
/linux/arch/arm64/mm/
H A Dptdump.c195 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 Dtdx-shared.c5 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 Dptdump.c187 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 Dsev.h509 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 Dpgtable_types.h548 enum pg_level { enum
/linux/arch/arm64/include/asm/
H A Dptdump.h48 struct ptdump_pg_level *pg_level; member
/linux/arch/x86/virt/svm/
H A Dsev.c541 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 Dptdump.c121 .pg_level = &st->level[0], in kvm_ptdump_parser_create()
/linux/arch/x86/mm/pat/
H A Dset_memory.c806 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 Dprocessor.h1338 enum pg_level {
1333 enum pg_level { global() enum