Searched refs:pte_t (Results 1 – 13 of 13) sorted by relevance
/external/kernel-headers/original/asm-x86/ |
D | pgtable_32.h | 218 static inline int pte_dirty(pte_t pte) { return (pte).pte_low & _PAGE_DIRTY; } in pte_dirty() 219 static inline int pte_young(pte_t pte) { return (pte).pte_low & _PAGE_ACCESSED; } in pte_young() 220 static inline int pte_write(pte_t pte) { return (pte).pte_low & _PAGE_RW; } in pte_write() 221 static inline int pte_huge(pte_t pte) { return (pte).pte_low & _PAGE_PSE; } in pte_huge() 226 static inline int pte_file(pte_t pte) { return (pte).pte_low & _PAGE_FILE; } in pte_file() 228 static inline pte_t pte_mkclean(pte_t pte) { (pte).pte_low &= ~_PAGE_DIRTY; return pte; } in pte_mkclean() 229 static inline pte_t pte_mkold(pte_t pte) { (pte).pte_low &= ~_PAGE_ACCESSED; return pte; } in pte_mkold() 230 static inline pte_t pte_wrprotect(pte_t pte) { (pte).pte_low &= ~_PAGE_RW; return pte; } in pte_wrprotect() 231 static inline pte_t pte_mkdirty(pte_t pte) { (pte).pte_low |= _PAGE_DIRTY; return pte; } in pte_mkdirty() 232 static inline pte_t pte_mkyoung(pte_t pte) { (pte).pte_low |= _PAGE_ACCESSED; return pte; } in pte_mkyoung() [all …]
|
D | pgtable-2level.h | 14 static inline void native_set_pte(pte_t *ptep , pte_t pte) in native_set_pte() 19 pte_t *ptep , pte_t pte) in native_set_pte_at() 39 static inline void native_pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *xp) in native_pte_clear() 45 static inline pte_t native_ptep_get_and_clear(pte_t *xp) in native_ptep_get_and_clear() 62 static inline int pte_exec_kernel(pte_t pte) in pte_exec_kernel() 77 ((pte_t) { (((off) & 0x1f) << 1) + (((off) >> 5) << 8) + _PAGE_FILE }) 84 #define __swp_entry_to_pte(x) ((pte_t) { (x).val })
|
D | paravirt.h | 207 void (*set_pte)(pte_t *ptep, pte_t pteval); 209 pte_t *ptep, pte_t pteval); 211 void (*pte_update)(struct mm_struct *mm, unsigned long addr, pte_t *ptep); 213 unsigned long addr, pte_t *ptep); 216 void (*set_pte_atomic)(pte_t *ptep, pte_t pteval); 218 pte_t *ptep, pte_t pte); 220 void (*pte_clear)(struct mm_struct *mm, unsigned long addr, pte_t *ptep); 223 unsigned long long (*pte_val)(pte_t); 227 pte_t (*make_pte)(unsigned long long pte); 231 unsigned long (*pte_val)(pte_t); [all …]
|
D | page_32.h | 47 typedef struct { unsigned long pte_low, pte_high; } pte_t; typedef 62 static inline unsigned long long native_pte_val(pte_t pte) in native_pte_val() 77 static inline pte_t native_make_pte(unsigned long long val) in native_make_pte() 79 return (pte_t) { .pte_low = val, .pte_high = (val >> 32) } ; in native_make_pte() 90 typedef struct { unsigned long pte_low; } pte_t; typedef 93 #define boot_pte_t pte_t /* or would you rather have a typedef */ 100 static inline unsigned long native_pte_val(pte_t pte) in native_pte_val() 110 static inline pte_t native_make_pte(unsigned long val) in native_make_pte() 112 return (pte_t) { .pte_low = val }; in native_make_pte()
|
D | highmem.h | 32 extern pte_t *kmap_pte; 34 extern pte_t *pkmap_page_table;
|
D | pgalloc_32.h | 38 extern pte_t *pte_alloc_one_kernel(struct mm_struct *, unsigned long); 41 static inline void pte_free_kernel(pte_t *pte) in pte_free_kernel()
|
/external/kernel-headers/original/asm-arm/ |
D | pgalloc.h | 55 static inline pte_t * 58 pte_t *pte; in pte_alloc_one_kernel() 60 pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO); in pte_alloc_one_kernel() 62 clean_dcache_area(pte, sizeof(pte_t) * PTRS_PER_PTE); in pte_alloc_one_kernel() 77 clean_dcache_area(page, sizeof(pte_t) * PTRS_PER_PTE); in pte_alloc_one() 86 static inline void pte_free_kernel(pte_t *pte) in pte_free_kernel() 102 pmdp[1] = __pmd(pmdval + 256 * sizeof(pte_t)); in __pmd_populate() 113 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmdp, pte_t *ptep) in pmd_populate_kernel()
|
D | pgtable.h | 257 static inline pte_t pte_##fn(pte_t pte) { pte_val(pte) op; return pte; } 294 static inline pte_t *pmd_page_kernel(pmd_t pmd) in pmd_page_kernel() 342 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() 359 #define __swp_entry_to_pte(swp) ((pte_t) { (swp).val })
|
D | page.h | 143 typedef struct { unsigned long pte; } pte_t; typedef 153 #define __pte(x) ((pte_t) { (x) } ) 161 typedef unsigned long pte_t; typedef
|
D | tlbflush.h | 423 extern void update_mmu_cache(struct vm_area_struct *vma, unsigned long addr, pte_t pte);
|
/external/kernel-headers/original/asm-generic/ |
D | pgtable.h | 48 pte_t __pte = *(__ptep); \ 73 pte_t __pte = *__ptep; \ 98 pte_t __pte = *(__ptep); \ 107 pte_t __pte; \ 123 pte_t __pte; \ 132 static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long address, pte_t *ptep) in ptep_set_wrprotect() 134 pte_t old_pte = *ptep; in ptep_set_wrprotect()
|
/external/kernel-headers/original/asm-x86/xen/ |
D | hypercall.h | 217 HYPERVISOR_update_va_mapping(unsigned long va, pte_t new_val, in HYPERVISOR_update_va_mapping() 275 HYPERVISOR_update_va_mapping_otherdomain(unsigned long va, pte_t new_val, in HYPERVISOR_update_va_mapping_otherdomain() 313 pte_t new_val, unsigned long flags) in MULTI_update_va_mapping() 339 pte_t new_val, unsigned long flags, in MULTI_update_va_mapping_otherdomain()
|
/external/kernel-headers/original/linux/ |
D | mm.h | 711 struct page *vm_normal_page(struct vm_area_struct *, unsigned long, pte_t); 768 void print_bad_pte(struct vm_area_struct *, pte_t, unsigned long); 805 extern pte_t *FASTCALL(get_locked_pte(struct mm_struct *mm, unsigned long addr, spinlock_t **ptl)); 855 pte_t *__pte = pte_offset_map(pmd, address); \
|