Home
last modified time | relevance | path

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

/linux-6.1.9/arch/arm/mm/
Ddump.c202 struct pg_level { struct
211 static struct pg_level pg_level[] = { argument
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-6.1.9/arch/arm64/mm/
Dptdump.c173 struct pg_level { struct
180 static struct pg_level pg_level[] = { argument
259 prot = val & pg_level[level].mask; in note_page()
285 pg_level[st->level].name); in note_page()
286 if (st->current_prot && pg_level[st->level].bits) in note_page()
287 dump_prot(st, pg_level[st->level].bits, in note_page()
288 pg_level[st->level].num); in note_page()
336 for (i = 0; i < ARRAY_SIZE(pg_level); i++) in ptdump_initialize()
337 if (pg_level[i].bits) in ptdump_initialize()
338 for (j = 0; j < pg_level[i].num; j++) in ptdump_initialize()
[all …]
/linux-6.1.9/arch/powerpc/mm/ptdump/
Dptdump.c201 u64 flag = level >= 0 ? val & pg_level[level].mask : 0; in note_page_update_state()
217 u64 flag = level >= 0 ? val & pg_level[level].mask : 0; in note_page()
240 if (pg_level[st->level].flag) in note_page()
241 dump_flag_info(st, pg_level[st->level].flag, in note_page()
243 pg_level[st->level].num); in note_page()
323 for (i = 0; i < ARRAY_SIZE(pg_level); i++) in build_pgtable_complete_mask()
324 if (pg_level[i].flag) in build_pgtable_complete_mask()
325 for (j = 0; j < pg_level[i].num; j++) in build_pgtable_complete_mask()
326 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
/linux-6.1.9/arch/riscv/mm/
Dptdump.c187 struct pg_level { struct
192 static struct pg_level pg_level[] = { argument
246 pg_level[st->level].name); in dump_addr()
272 prot = val & pg_level[level].mask; in note_page()
387 for (i = 0; i < ARRAY_SIZE(pg_level); i++) in ptdump_init()
389 pg_level[i].mask |= pte_bits[j].mask; in ptdump_init()
/linux-6.1.9/arch/x86/coco/tdx/
Dtdx.c665 enum pg_level pg_level) in try_accept_one() argument
667 unsigned long accept_size = page_level_size(pg_level); in try_accept_one()
683 switch (pg_level) { in try_accept_one()
/linux-6.1.9/arch/x86/include/asm/
Dpgtable.h1257 static inline int page_level_shift(enum pg_level level) in page_level_shift()
1261 static inline unsigned long page_level_size(enum pg_level level) in page_level_size()
1265 static inline unsigned long page_level_mask(enum pg_level level) in page_level_mask()
Dpgtable_types.h521 enum pg_level { enum
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h856 enum pg_level { enum
/linux-6.1.9/arch/x86/mm/pat/
Dset_memory.c736 enum pg_level level; in slow_virt_to_phys()
815 enum pg_level level; in __should_split_large_page()