Home
last modified time | relevance | path

Searched refs:pgprotval_t (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/arch/x86/mm/
H A Ddump_pagetables.c31 pgprotval_t current_prot;
32 pgprotval_t effective_prot;
33 pgprotval_t prot_levels[5];
179 static void printk_prot(struct seq_file *m, pgprotval_t pr, int level, bool dmsg) in printk_prot()
254 pgprotval_t prot = val & PTE_FLAGS_MASK; in effective_prot()
255 pgprotval_t effective; in effective_prot()
258 pgprotval_t higher_prot = st->prot_levels[level - 1]; in effective_prot()
278 pgprotval_t new_prot, new_eff; in note_page()
279 pgprotval_t cur, eff; in note_page()
/openbmc/linux/arch/x86/include/asm/
H A Dpgtable.h339 static inline pgprotval_t mksaveddirty_shift(pgprotval_t v) in mksaveddirty_shift()
341 pgprotval_t cond = (~v >> _PAGE_BIT_RW) & 1; in mksaveddirty_shift()
349 static inline pgprotval_t clear_saveddirty_shift(pgprotval_t v) in clear_saveddirty_shift()
351 pgprotval_t cond = (v >> _PAGE_BIT_RW) & 1; in clear_saveddirty_shift()
720 static inline pgprotval_t massage_pgprot(pgprot_t pgprot) in massage_pgprot()
722 pgprotval_t protval = pgprot_val(pgprot); in massage_pgprot()
730 static inline pgprotval_t check_pgprot(pgprot_t pgprot) in check_pgprot()
732 pgprotval_t massaged_val = massage_pgprot(pgprot); in check_pgprot()
848 pgprotval_t preservebits = pgprot_val(oldprot) & _PAGE_CHG_MASK; in pgprot_modify()
849 pgprotval_t addbits = pgprot_val(newprot) & ~_PAGE_CHG_MASK; in pgprot_modify()
H A Dpgtable_types.h293 typedef struct pgprot { pgprotval_t pgprot; } pgprot_t;
495 static inline pgprotval_t protval_4k_2_large(pgprotval_t val) in protval_4k_2_large()
504 static inline pgprotval_t protval_large_2_4k(pgprotval_t val) in protval_large_2_4k()
H A Dpgtable-2level_types.h13 typedef unsigned long pgprotval_t; typedef
H A Dpgtable-3level_types.h13 typedef u64 pgprotval_t; typedef
H A Dpgtable_64_types.h19 typedef unsigned long pgprotval_t; typedef
/openbmc/linux/arch/x86/mm/pat/
H A Dset_memory.c450 static pgprotval_t protect_pci_bios(unsigned long spfn, unsigned long epfn) in protect_pci_bios()
457 static pgprotval_t protect_pci_bios(unsigned long spfn, unsigned long epfn) in protect_pci_bios()
468 static pgprotval_t protect_rodata(unsigned long spfn, unsigned long epfn) in protect_rodata()
491 static pgprotval_t protect_kernel_text(unsigned long start, unsigned long end) in protect_kernel_text()
511 static pgprotval_t protect_kernel_text_ro(unsigned long start, in protect_kernel_text_ro()
537 static pgprotval_t protect_kernel_text_ro(unsigned long start, in protect_kernel_text_ro()
544 static inline bool conflicts(pgprot_t prot, pgprotval_t val) in conflicts()
549 static inline void check_conflict(int warnlvl, pgprot_t prot, pgprotval_t val, in check_conflict()
577 pgprotval_t forbidden, res; in static_protections()