/linux-master/arch/arm/include/asm/ |
H A D | hugetlb-3level.h | 21 static inline pte_t huge_ptep_get(pte_t *ptep) 23 pte_t retval = *ptep;
|
/linux-master/arch/s390/include/asm/ |
H A D | hugetlb.h | 19 pte_t *ptep, pte_t pte, unsigned long sz); 21 pte_t *ptep, pte_t pte); 22 pte_t huge_ptep_get(pte_t *ptep); 23 pte_t huge_ptep_get_and_clear(struct mm_struct *mm, 24 unsigned long addr, pte_t *ptep); 49 pte_t *ptep, unsigned long sz) 57 static inline pte_t huge_ptep_clear_flus [all...] |
/linux-master/include/asm-generic/ |
H A D | hugetlb.h | 8 static inline pte_t mk_huge_pte(struct page *page, pgprot_t pgprot) 13 static inline unsigned long huge_pte_write(pte_t pte) 18 static inline unsigned long huge_pte_dirty(pte_t pte) 23 static inline pte_t huge_pte_mkwrite(pte_t pte) 29 static inline pte_t huge_pte_wrprotect(pte_t pte) 35 static inline pte_t huge_pte_mkdirty(pte_t pte) 40 static inline pte_t huge_pte_modif [all...] |
H A D | pgtable_uffd.h | 5 static __always_inline int pte_uffd_wp(pte_t pte) 15 static __always_inline pte_t pte_mkuffd_wp(pte_t pte) 25 static __always_inline pte_t pte_clear_uffd_wp(pte_t pte) 35 static __always_inline pte_t pte_swp_mkuffd_wp(pte_t pte) 40 static __always_inline int pte_swp_uffd_wp(pte_t pte) 45 static __always_inline pte_t pte_swp_clear_uffd_wp(pte_t pt [all...] |
/linux-master/arch/arm64/include/asm/ |
H A D | hugetlb.h | 27 pte_t arch_make_huge_pte(pte_t entry, unsigned int shift, vm_flags_t flags); 31 pte_t *ptep, pte_t pte, unsigned long sz); 34 unsigned long addr, pte_t *ptep, 35 pte_t pte, int dirty); 37 extern pte_t huge_ptep_get_and_clear(struct mm_struct *mm, 38 unsigned long addr, pte_t *ptep); 41 unsigned long addr, pte_t *ptep); 43 extern pte_t huge_ptep_clear_flus [all...] |
/linux-master/arch/parisc/include/asm/ |
H A D | hugetlb.h | 9 pte_t *ptep, pte_t pte, unsigned long sz); 12 pte_t huge_ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, 13 pte_t *ptep); 31 static inline pte_t huge_ptep_clear_flush(struct vm_area_struct *vma, 32 unsigned long addr, pte_t *ptep) 39 unsigned long addr, pte_t *ptep); 43 unsigned long addr, pte_t *ptep, 44 pte_t pte, int dirty);
|
/linux-master/arch/riscv/include/asm/ |
H A D | hugetlb.h | 22 pte_t *ptep, unsigned long sz); 26 unsigned long addr, pte_t *ptep, pte_t pte, 30 pte_t huge_ptep_get_and_clear(struct mm_struct *mm, 31 unsigned long addr, pte_t *ptep); 34 pte_t huge_ptep_clear_flush(struct vm_area_struct *vma, 35 unsigned long addr, pte_t *ptep); 39 unsigned long addr, pte_t *ptep); 43 unsigned long addr, pte_t *ptep, 44 pte_t pt [all...] |
/linux-master/arch/powerpc/include/asm/nohash/ |
H A D | pgtable.h | 6 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *p, 50 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *p, 73 unsigned long addr, pte_t *ptep) 85 pte_t *ptep) 92 static inline pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, 93 pte_t *ptep) 99 static inline void pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) 107 pte_t *ptep, pte_t entry, 123 static inline pte_t pte_mkwrite_novm [all...] |
H A D | hugetlb-e500.h | 5 static inline pte_t *hugepd_page(hugepd_t hpd) 10 return (pte_t *)((hpd_val(hpd) & ~HUGEPD_SHIFT_MASK) | PD_HUGE); 18 static inline pte_t *hugepte_offset(hugepd_t hpd, unsigned long addr, 31 static inline void hugepd_populate(hugepd_t *hpdp, pte_t *new, unsigned int pshift)
|
/linux-master/arch/x86/xen/ |
H A D | mmu.h | 20 pte_t xen_ptep_modify_prot_start(struct vm_area_struct *vma, unsigned long addr, pte_t *ptep); 22 pte_t *ptep, pte_t pte);
|
/linux-master/arch/powerpc/include/asm/ |
H A D | pgtable-types.h | 11 typedef struct { pte_basic_t pte, pte1, pte2, pte3; } pte_t; typedef in typeref:struct:__anon27 13 typedef struct { pte_basic_t pte; } pte_t; typedef in typeref:struct:__anon28 15 typedef pte_basic_t pte_t; typedef 20 #define __pte(x) ((pte_t) { (x) }) 21 static inline pte_basic_t pte_val(pte_t x) 26 #define __pte(x) ((pte_t)(x)) 27 static inline pte_basic_t pte_val(pte_t x) 69 typedef struct { pte_t pte; unsigned long hidx; } real_pte_t; 71 typedef struct { pte_t pte; } real_pte_t; 77 static inline bool pte_xchg(pte_t *pte [all...] |
H A D | hugetlb.h | 39 static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm, 40 unsigned long addr, pte_t *ptep) 46 static inline pte_t huge_ptep_clear_flush(struct vm_area_struct *vma, 47 unsigned long addr, pte_t *ptep) 49 pte_t pte; 58 unsigned long addr, pte_t *ptep, 59 pte_t pte, int dirty); 71 static inline pte_t *hugepte_offset(hugepd_t hpd, unsigned long addr,
|
/linux-master/arch/sparc/include/asm/ |
H A D | hugetlb.h | 17 pte_t *ptep, pte_t pte, unsigned long sz); 19 pte_t *ptep, pte_t pte); 22 pte_t huge_ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, 23 pte_t *ptep); 26 static inline pte_t huge_ptep_clear_flush(struct vm_area_struct *vma, 27 unsigned long addr, pte_t *ptep) 34 unsigned long addr, pte_t *ptep) 36 pte_t old_pt [all...] |
/linux-master/arch/um/include/asm/ |
H A D | pgtable.h | 111 static inline int pte_none(pte_t pte) 120 static inline int pte_read(pte_t pte) 126 static inline int pte_exec(pte_t pte){ 131 static inline int pte_write(pte_t pte) 137 static inline int pte_dirty(pte_t pte) 142 static inline int pte_young(pte_t pte) 147 static inline int pte_newpage(pte_t pte) 152 static inline int pte_newprot(pte_t pte) 163 static inline pte_t pte_mknewprot(pte_t pt [all...] |
/linux-master/arch/mips/include/asm/ |
H A D | hugetlb.h | 34 static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm, 35 unsigned long addr, pte_t *ptep) 37 pte_t clear; 38 pte_t pte = *ptep; 46 static inline pte_t huge_ptep_clear_flush(struct vm_area_struct *vma, 47 unsigned long addr, pte_t *ptep) 49 pte_t pte; 62 static inline int huge_pte_none(pte_t pte) 71 pte_t *ptep, pte_t pt [all...] |
H A D | pgtable.h | 45 extern void __update_cache(unsigned long address, pte_t pte); 119 static inline void set_pte(pte_t *ptep, pte_t pte) 130 pte_t *buddy = ptep_buddy(ptep); 143 static inline void pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) 145 pte_t null = __pte(0); 171 static inline void set_pte(pte_t *ptep, pte_t pteval) 176 pte_t *buddy = ptep_buddy(ptep); 190 static inline void pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *pte [all...] |
/linux-master/arch/loongarch/include/asm/ |
H A D | hugetlb.h | 33 static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm, 34 unsigned long addr, pte_t *ptep) 36 pte_t clear; 37 pte_t pte = *ptep; 45 static inline pte_t huge_ptep_clear_flush(struct vm_area_struct *vma, 46 unsigned long addr, pte_t *ptep) 48 pte_t pte; 56 static inline int huge_pte_none(pte_t pte) 65 pte_t *ptep, pte_t pt [all...] |
/linux-master/arch/m68k/include/asm/ |
H A D | mcf_pgtable.h | 105 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) 121 static inline int pte_none(pte_t pte) 126 static inline int pte_present(pte_t pte) 132 pte_t *ptep) 158 static inline int pte_read(pte_t pte) 163 static inline int pte_write(pte_t pte) 168 static inline int pte_exec(pte_t pte) 173 static inline int pte_dirty(pte_t pte) 178 static inline int pte_young(pte_t pt [all...] |
/linux-master/arch/microblaze/include/asm/ |
H A D | pgtable.h | 29 extern pte_t *va_to_pte(unsigned long address); 245 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; } 246 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; } 247 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } 248 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } 249 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } 251 static inline void pte_uncache(pte_t pte) { pte_val(pte) |= _PAGE_NO_CACHE; } 252 static inline void pte_cache(pte_t pte) { pte_val(pte) &= ~_PAGE_NO_CACHE; } 254 static inline pte_t pte_rdprotect(pte_t pt [all...] |
/linux-master/arch/nios2/include/asm/ |
H A D | pgtable.h | 56 #define PTRS_PER_PTE (PAGE_SIZE / sizeof(pte_t)) 73 extern pte_t invalid_pte_table[PAGE_SIZE/sizeof(pte_t)]; 84 static inline int pte_write(pte_t pte) \ 86 static inline int pte_dirty(pte_t pte) \ 88 static inline int pte_young(pte_t pte) \ 102 static inline int pte_none(pte_t pte) 107 static inline int pte_present(pte_t pte) \ 114 static inline pte_t pte_wrprotect(pte_t pt [all...] |
/linux-master/arch/powerpc/include/asm/book3s/64/ |
H A D | hugetlb.h | 16 unsigned long addr, pte_t *ptep, 17 pte_t old_pte, pte_t pte); 56 extern pte_t huge_ptep_modify_prot_start(struct vm_area_struct *vma, 57 unsigned long addr, pte_t *ptep); 61 unsigned long addr, pte_t *ptep, 62 pte_t old_pte, pte_t new_pte); 67 static inline pte_t *hugepd_page(hugepd_t hpd) 93 static inline pte_t *hugepte_offse [all...] |
/linux-master/arch/powerpc/include/asm/nohash/32/ |
H A D | hugetlb-8xx.h | 7 static inline pte_t *hugepd_page(hugepd_t hpd) 11 return (pte_t *)__va(hpd_val(hpd) & ~HUGEPD_SHIFT_MASK); 19 static inline pte_t *hugepte_offset(hugepd_t hpd, unsigned long addr, 33 static inline void hugepd_populate(hugepd_t *hpdp, pte_t *new, unsigned int pshift) 38 static inline void hugepd_populate_kernel(hugepd_t *hpdp, pte_t *new, unsigned int pshift) 49 void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep, 50 pte_t pte, unsigned long sz); 54 pte_t *ptep, unsigned long sz) 61 unsigned long addr, pte_t *ptep) 70 static inline pte_t arch_make_huge_pt [all...] |
/linux-master/arch/hexagon/include/asm/ |
H A D | pgtable.h | 143 extern void sync_icache_dcache(pte_t pte); 149 static inline void set_pte(pte_t *ptep, pte_t pteval) 177 pte_t *ptep) 226 * @pte: pte_t entry 228 static inline int pte_none(pte_t pte) 236 static inline int pte_present(pte_t pte) 248 static inline pte_t pte_mkold(pte_t pte) 255 static inline pte_t pte_mkyoun [all...] |
/linux-master/arch/openrisc/include/asm/ |
H A D | pgtable.h | 217 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; } 218 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } 219 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } 220 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } 221 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } 223 static inline pte_t pte_wrprotect(pte_t pte) 229 static inline pte_t pte_rdprotect(pte_t pte) 235 static inline pte_t pte_exprotec [all...] |
/linux-master/arch/sh/include/asm/ |
H A D | tlb.h | 13 extern void tlb_wire_entry(struct vm_area_struct *, unsigned long, pte_t); 17 unsigned long addr, pte_t pte)
|