/linux-master/arch/m68k/include/asm/ |
H A D | sun3_pgtable.h | 85 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) 101 static inline int pte_none (pte_t pte) { return !pte_val (pte); } 102 static inline int pte_present (pte_t pte) { return pte_val (pte) & SUN3_PAGE_VALID; } 103 static inline void pte_clear (struct mm_struct *mm, unsigned long addr, pte_t *ptep) 111 ({ pte_t __pte; pte_val(__pte) = pfn | pgprot_val(pgprot); __pte; }) 140 static inline int pte_write(pte_t pte) { return pte_val(pte) & SUN3_PAGE_WRITEABLE; } 141 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & SUN3_PAGE_MODIFIED; } 142 static inline int pte_young(pte_t pte) { return pte_val(pte) & SUN3_PAGE_ACCESSED; } 144 static inline pte_t pte_wrprotec [all...] |
H A D | motorola_pgtable.h | 90 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) 96 static inline void pmd_set(pmd_t *pmdp, pte_t *ptep) 152 static inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_RONLY); } 153 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } 154 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } 156 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_RONLY; return pte; } 157 static inline pte_t pte_mkclean(pte_t pt [all...] |
/linux-master/arch/powerpc/include/asm/book3s/32/ |
H A D | pgtable.h | 106 #define PTE_TABLE_SIZE (sizeof(pte_t) << PTE_INDEX_SIZE) 239 static inline void flush_hash_entry(struct mm_struct *mm, pte_t *ptep, unsigned long addr) 258 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *p, 301 unsigned long addr, pte_t *ptep) 314 static inline pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, 315 pte_t *ptep) 322 pte_t *ptep) 328 pte_t *ptep, pte_t entry, 365 #define __swp_entry_to_pte(x) ((pte_t) { ( [all...] |
/linux-master/arch/csky/include/asm/ |
H A D | pgtable.h | 24 #define PTRS_PER_PTE (PAGE_SIZE / sizeof(pte_t)) 43 #define __swp_entry_to_pte(x) ((pte_t) { (x).val }) 83 extern pte_t invalid_pte_table[PTRS_PER_PTE]; 85 static inline void set_pte(pte_t *p, pte_t pte) 95 static inline pte_t *pmd_page_vaddr(pmd_t pmd) 141 static inline int pte_read(pte_t pte) 146 static inline int pte_write(pte_t pte) 151 static inline int pte_dirty(pte_t pte) 156 static inline int pte_young(pte_t pt [all...] |
/linux-master/arch/alpha/include/asm/ |
H A D | pgtable.h | 135 extern pte_t __bad_page(void); 197 pte_t pte; \ 203 extern inline pte_t pfn_pte(unsigned long physpfn, pgprot_t pgprot) 204 { pte_t pte; pte_val(pte) = (PHYS_TWIDDLE(physpfn) << 32) | pgprot_val(pgprot); return pte; } 206 extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) 209 extern inline void pmd_set(pmd_t * pmdp, pte_t * ptep) 231 extern inline int pte_none(pte_t pte) { return !pte_val(pte); } 232 extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_VALID; } 233 extern inline void pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *pte [all...] |
/linux-master/arch/xtensa/include/asm/ |
H A D | pgtable.h | 251 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITABLE; } 252 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } 253 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } 255 static inline pte_t pte_wrprotect(pte_t pte) 257 static inline pte_t pte_mkclean(pte_t pte) 259 static inline pte_t pte_mkold(pte_t pte) 261 static inline pte_t pte_mkdirt [all...] |
H A D | pgalloc.h | 35 static inline void ptes_clear(pte_t *ptep) 43 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm) 45 pte_t *ptep; 47 ptep = (pte_t *)__pte_alloc_one_kernel(mm);
|
/linux-master/arch/sparc/include/asm/ |
H A D | pgtable_32.h | 99 static inline void set_pte(pte_t *ptep, pte_t pteval) 148 static inline int pte_present(pte_t pte) 153 static inline int pte_none(pte_t pte) 158 static inline void __pte_clear(pte_t *ptep) 163 static inline void pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) 185 set_pte((pte_t *)&pmd_val(*pmdp), __pte(0)); 205 set_pte((pte_t *)pudp, __pte(0)); 212 static inline int pte_write(pte_t pte) 217 static inline int pte_dirty(pte_t pt [all...] |
H A D | pgtable_64.h | 196 pte_t mk_pte_io(unsigned long, pgprot_t, int, unsigned long); 221 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot) 233 pte_t pte = pfn_pte(page_nr, pgprot); 241 static inline unsigned long pte_pfn(pte_t pte) 262 static inline pte_t pte_modify(pte_t pte, pgprot_t prot) 323 pte_t pte = __pte(pmd_val(pmd)); 361 static inline unsigned long pte_dirty(pte_t pte) 379 static inline unsigned long pte_write(pte_t pte) 398 pte_t arch_make_huge_pt [all...] |
/linux-master/arch/openrisc/mm/ |
H A D | ioremap.c | 34 pte_t __ref *pte_alloc_one_kernel(struct mm_struct *mm) 36 pte_t *pte; 39 pte = (pte_t *)get_zeroed_page(GFP_KERNEL);
|
/linux-master/arch/arm64/mm/ |
H A D | contpte.c | 24 static inline pte_t *contpte_align_down(pte_t *ptep) 30 pte_t *ptep, unsigned int nr) 42 pte_t *last_ptep = ptep + nr - 1; 50 pte_t *ptep, pte_t pte) 54 pte_t *start_ptep; 62 pte_t ptent = __ptep_get_and_clear(mm, addr, ptep); 77 pte_t *ptep, pte_t pt [all...] |
H A D | hugetlbpage.c | 83 pte_t *ptep, size_t *pgsize) 94 if ((pte_t *)pmdp == ptep) { 130 pte_t huge_ptep_get(pte_t *ptep) 134 pte_t orig_pte = __ptep_get(ptep); 141 pte_t pte = __ptep_get(ptep); 160 static pte_t get_clear_contig(struct mm_struct *mm, 162 pte_t *ptep, 166 pte_t orig_pte = __ptep_get(ptep); 170 pte_t pt [all...] |
/linux-master/arch/powerpc/include/asm/nohash/32/ |
H A D | pte-8xx.h | 88 static inline pte_t pte_wrprotect(pte_t pte) 95 static inline int pte_read(pte_t pte) 102 static inline int pte_write(pte_t pte) 109 static inline pte_t pte_mkwrite_novma(pte_t pte) 116 static inline pte_t pte_mkhuge(pte_t pte) 123 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *p, 126 static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr, pte_t *pte [all...] |
/linux-master/arch/arm/include/asm/ |
H A D | pgtable.h | 57 extern void __pte_error(const char *file, int line, pte_t); 161 static inline pte_t *pmd_page_vaddr(pmd_t pmd) 192 static inline bool pte_access_permitted(pte_t pte, bool write) 205 static inline void __sync_icache_dcache(pte_t pteval) 209 extern void __sync_icache_dcache(pte_t pteval); 215 pte_t *ptep, pte_t pteval, unsigned int nr); 218 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) 224 static inline pte_t set_pte_bi [all...] |
/linux-master/arch/arc/mm/ |
H A D | highmem.c | 48 extern pte_t * pkmap_page_table; 50 static noinline pte_t * __init alloc_kmap_pgtable(unsigned long kvaddr) 53 pte_t *pte_k; 55 pte_k = (pte_t *)memblock_alloc_low(PAGE_SIZE, PAGE_SIZE);
|
/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)
|
H A D | hugetlb.h | 24 static inline pte_t huge_ptep_clear_flush(struct vm_area_struct *vma, 25 unsigned long addr, pte_t *ptep)
|
/linux-master/arch/parisc/mm/ |
H A D | hugetlbpage.c | 47 pte_t *huge_pte_alloc(struct mm_struct *mm, struct vm_area_struct *vma, 54 pte_t *pte = NULL; 74 pte_t *huge_pte_offset(struct mm_struct *mm, 81 pte_t *pte = NULL; 123 pte_t *ptep, pte_t entry) 143 pte_t *ptep, pte_t entry, unsigned long sz) 149 pte_t huge_ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, 150 pte_t *pte [all...] |
/linux-master/arch/arm64/include/asm/ |
H A D | pgtable.h | 75 static inline phys_addr_t __pte_to_phys(pte_t pte) 166 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) 172 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) 190 static inline pte_t pte_mkwrite_novma(pte_t pte) 197 static inline pte_t pte_mkclean(pte_t pte) 205 static inline pte_t pte_mkdirt [all...] |
/linux-master/arch/powerpc/include/asm/ |
H A D | pgtable-be-types.h | 8 typedef struct { __be64 pte; } pte_t; typedef in typeref:struct:__anon19 9 #define __pte(x) ((pte_t) { cpu_to_be64(x) }) 10 #define __pte_raw(x) ((pte_t) { (x) }) 11 static inline unsigned long pte_val(pte_t x) 16 static inline __be64 pte_raw(pte_t x) 76 typedef struct { pte_t pte; unsigned long hidx; } real_pte_t; 78 typedef struct { pte_t pte; } real_pte_t; 81 static inline bool pte_xchg(pte_t *ptep, pte_t old, pte_t ne [all...] |
/linux-master/arch/arm/mm/ |
H A D | proc.c | 43 void cpu_arm720_set_pte_ext(pte_t *ptep, pte_t pte, unsigned int ext); 90 void cpu_arm920_set_pte_ext(pte_t *ptep, pte_t pte, unsigned int ext); 113 void cpu_arm922_set_pte_ext(pte_t *ptep, pte_t pte, unsigned int ext); 130 void cpu_arm925_set_pte_ext(pte_t *ptep, pte_t pte, unsigned int ext); 147 void cpu_arm926_set_pte_ext(pte_t *ptep, pte_t pt [all...] |
/linux-master/arch/parisc/include/asm/ |
H A D | pgtable.h | 64 extern void __update_cache(pte_t pte); 263 extern pte_t pg0[]; 315 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } 316 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } 317 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } 318 static inline int pte_special(pte_t pte) { return pte_val(pte) & _PAGE_SPECIAL; } 320 static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } 321 static inline pte_t pte_mkold(pte_t pt [all...] |
/linux-master/arch/riscv/mm/ |
H A D | hugetlbpage.c | 6 pte_t huge_ptep_get(pte_t *ptep) 10 pte_t orig_pte = ptep_get(ptep); 18 pte_t pte = ptep_get(ptep); 30 pte_t *huge_pte_alloc(struct mm_struct *mm, 36 pte_t *pte = NULL; 52 pte = (pte_t *)pud; 60 pte = (pte_t *)pmd_alloc(mm, pud, addr); 77 pte_t pteval = ptep_get_lockless(pte); 84 pte_t *huge_pte_offse [all...] |
/linux-master/arch/powerpc/include/asm/book3s/64/ |
H A D | pgtable.h | 344 pte_t *ptep, unsigned long clr, 362 unsigned long addr, pte_t *ptep) 400 static inline int pte_write(pte_t pte) 405 static inline int pte_read(pte_t pte) 412 pte_t *ptep) 420 unsigned long addr, pte_t *ptep) 427 static inline pte_t ptep_get_and_clear(struct mm_struct *mm, 428 unsigned long addr, pte_t *ptep) 435 static inline pte_t ptep_get_and_clear_full(struct mm_struct *mm, 437 pte_t *pte [all...] |
/linux-master/arch/x86/include/asm/ |
H A D | pgtable.h | 127 static inline bool pte_dirty(pte_t pte) 132 static inline bool pte_shstk(pte_t pte) 138 static inline int pte_young(pte_t pte) 172 static inline int pte_write(pte_t pte) 197 static inline int pte_huge(pte_t pte) 202 static inline int pte_global(pte_t pte) 207 static inline int pte_exec(pte_t pte) 212 static inline int pte_special(pte_t pte) 223 static inline unsigned long pte_pfn(pte_t pte) 315 static inline pte_t pte_set_flag [all...] |