Home
last modified time | relevance | path

Searched refs:pte (Results 1 – 21 of 21) sorted by relevance

/external/kernel-headers/original/asm-mips/
Dpgtable.h91 #define pte_none(pte) (!(((pte).pte_low | (pte).pte_high) & ~_PAGE_GLOBAL)) argument
92 #define pte_present(pte) ((pte).pte_low & _PAGE_PRESENT) argument
94 static inline void set_pte(pte_t *ptep, pte_t pte) in set_pte() argument
96 ptep->pte_high = pte.pte_high; in set_pte()
98 ptep->pte_low = pte.pte_low; in set_pte()
101 if (pte.pte_low & _PAGE_GLOBAL) { in set_pte()
127 #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL)) argument
128 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) argument
193 static inline int pte_write(pte_t pte) { return pte.pte_low & _PAGE_WRITE; } in pte_write() argument
194 static inline int pte_dirty(pte_t pte) { return pte.pte_low & _PAGE_MODIFIED; } in pte_dirty() argument
[all …]
Dpgalloc.h17 pte_t *pte) in pmd_populate_kernel() argument
19 set_pmd(pmd, __pmd((unsigned long)pte)); in pmd_populate_kernel()
23 pgtable_t pte) in pmd_populate() argument
25 set_pmd(pmd, __pmd((unsigned long)page_address(pte))); in pmd_populate()
70 pte_t *pte; in pte_alloc_one_kernel() local
72 pte = (pte_t *) __get_free_pages(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO, PTE_ORDER); in pte_alloc_one_kernel()
74 return pte; in pte_alloc_one_kernel()
80 struct page *pte; in pte_alloc_one() local
82 pte = alloc_pages(GFP_KERNEL | __GFP_REPEAT, PTE_ORDER); in pte_alloc_one()
83 if (pte) { in pte_alloc_one()
[all …]
/external/kernel-headers/original/asm-x86/
Dpgtable_32.h218 static inline int pte_dirty(pte_t pte) { return (pte).pte_low & _PAGE_DIRTY; } in pte_dirty() argument
219 static inline int pte_young(pte_t pte) { return (pte).pte_low & _PAGE_ACCESSED; } in pte_young() argument
220 static inline int pte_write(pte_t pte) { return (pte).pte_low & _PAGE_RW; } in pte_write() argument
221 static inline int pte_huge(pte_t pte) { return (pte).pte_low & _PAGE_PSE; } in pte_huge() argument
226 static inline int pte_file(pte_t pte) { return (pte).pte_low & _PAGE_FILE; } in pte_file() argument
228 static inline pte_t pte_mkclean(pte_t pte) { (pte).pte_low &= ~_PAGE_DIRTY; return pte; } in pte_mkclean() argument
229 static inline pte_t pte_mkold(pte_t pte) { (pte).pte_low &= ~_PAGE_ACCESSED; return pte; } in pte_mkold() argument
230 static inline pte_t pte_wrprotect(pte_t pte) { (pte).pte_low &= ~_PAGE_RW; return pte; } in pte_wrprotect() argument
231 static inline pte_t pte_mkdirty(pte_t pte) { (pte).pte_low |= _PAGE_DIRTY; return pte; } in pte_mkdirty() argument
232 static inline pte_t pte_mkyoung(pte_t pte) { (pte).pte_low |= _PAGE_ACCESSED; return pte; } in pte_mkyoung() argument
[all …]
Dpgalloc_32.h18 #define pmd_populate_kernel(mm, pmd, pte) \ argument
20 paravirt_alloc_pt(mm, __pa(pte) >> PAGE_SHIFT); \
21 set_pmd(pmd, __pmd(_PAGE_TABLE + __pa(pte))); \
24 #define pmd_populate(mm, pmd, pte) \ argument
26 paravirt_alloc_pt(mm, page_to_pfn(pte)); \
28 ((unsigned long long)page_to_pfn(pte) << \
41 static inline void pte_free_kernel(pte_t *pte) in pte_free_kernel() argument
43 free_page((unsigned long)pte); in pte_free_kernel()
46 static inline void pte_free(struct page *pte) in pte_free() argument
48 __free_page(pte); in pte_free()
[all …]
Dpgtable-2level.h14 static inline void native_set_pte(pte_t *ptep , pte_t pte) in native_set_pte() argument
16 *ptep = pte; in native_set_pte()
19 pte_t *ptep , pte_t pte) in native_set_pte_at() argument
21 native_set_pte(ptep, pte); in native_set_pte_at()
62 static inline int pte_exec_kernel(pte_t pte) in pte_exec_kernel() argument
73 #define pte_to_pgoff(pte) \ argument
74 ((((pte).pte_low >> 1) & 0x1f ) + (((pte).pte_low >> 8) << 5 ))
83 #define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_low }) argument
Dpage_32.h62 static inline unsigned long long native_pte_val(pte_t pte) in native_pte_val() argument
64 return pte.pte_low | ((unsigned long long)pte.pte_high << 32); in native_pte_val()
100 static inline unsigned long native_pte_val(pte_t pte) in native_pte_val() argument
102 return pte.pte_low; in native_pte_val()
Dparavirt.h218 pte_t *ptep, pte_t pte);
227 pte_t (*make_pte)(unsigned long long pte);
234 pte_t (*make_pte)(unsigned long pte);
883 pte_t *ptep, pte_t pte) in set_pte_present() argument
886 pv_mmu_ops.set_pte_present(mm, addr, ptep, pte); in set_pte_present()
/external/kernel-headers/original/asm-arm/
Dpgalloc.h31 #define pgd_populate(mm,pmd,pte) BUG() argument
58 pte_t *pte; in pte_alloc_one_kernel() local
60 pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO); in pte_alloc_one_kernel()
61 if (pte) { in pte_alloc_one_kernel()
62 clean_dcache_area(pte, sizeof(pte_t) * PTRS_PER_PTE); in pte_alloc_one_kernel()
63 pte += PTRS_PER_PTE; in pte_alloc_one_kernel()
66 return pte; in pte_alloc_one_kernel()
72 struct page *pte; in pte_alloc_one() local
74 pte = alloc_pages(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO, 0); in pte_alloc_one()
75 if (pte) { in pte_alloc_one()
[all …]
Dpgtable.h118 #define pte_ERROR(pte) __pte_error(__FILE__, __LINE__, pte_val(pte)) argument
221 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) argument
224 #define pte_none(pte) (!pte_val(pte)) argument
226 #define pte_page(pte) (pfn_to_page(pte_pfn(pte))) argument
230 #define pte_unmap(pte) do { } while (0) argument
231 #define pte_unmap_nested(pte) do { } while (0) argument
233 #define set_pte(ptep, pte) cpu_set_pte(ptep,pte) argument
240 #define pte_present(pte) (pte_val(pte) & L_PTE_PRESENT) argument
241 #define pte_read(pte) (pte_val(pte) & L_PTE_USER) argument
242 #define pte_write(pte) (pte_val(pte) & L_PTE_WRITE) argument
[all …]
Dpage.h143 typedef struct { unsigned long pte; } pte_t; member
148 #define pte_val(x) ((x).pte)
Dtlbflush.h423 extern void update_mmu_cache(struct vm_area_struct *vma, unsigned long addr, pte_t pte);
/external/oprofile/module/x86/
Dop_fixmap.c46 pte_t * pte; in set_pte_phys() local
50 pte = pte_offset(pmd, vaddr); in set_pte_phys()
56 set_pte(pte, mk_pte_phys(phys, prot)); in set_pte_phys()
72 pte_t * pte; in free_fixmap() local
86 pte = pte_offset(pmd, vaddr); in free_fixmap()
87 if (!pte) in free_fixmap()
91 pte_clear(pte); in free_fixmap()
/external/llvm/runtime/libprofile/
DPathProfiling.c70 PathProfileTableEntry pte; in writeArrayTable() local
71 pte.pathNumber = arrayIterator; in writeArrayTable()
72 pte.pathCounter = pc; in writeArrayTable()
84 if (write(outFile, &pte, sizeof(PathProfileTableEntry)) < 0) { in writeArrayTable()
135 PathProfileTableEntry pte; in writeHashTable() local
136 pte.pathNumber = hashEntry->pathNumber; in writeHashTable()
137 pte.pathCounter = hashEntry->pathCount; in writeHashTable()
139 if (write(outFile, &pte, sizeof(PathProfileTableEntry)) < 0) { in writeHashTable()
/external/qemu/target-i386/
Dhelper.c984 uint64_t ptep, pte; in cpu_x86_handle_mmu_fault() local
999 pte = addr; in cpu_x86_handle_mmu_fault()
1105 pte = pde & ((PHYS_ADDR_MASK & ~(page_size - 1)) | 0xfff); in cpu_x86_handle_mmu_fault()
1115 pte = ldq_phys(pte_addr); in cpu_x86_handle_mmu_fault()
1116 if (!(pte & PG_PRESENT_MASK)) { in cpu_x86_handle_mmu_fault()
1120 if (!(env->efer & MSR_EFER_NXE) && (pte & PG_NX_MASK)) { in cpu_x86_handle_mmu_fault()
1125 ptep &= pte ^ PG_NX_MASK; in cpu_x86_handle_mmu_fault()
1139 is_dirty = is_write && !(pte & PG_DIRTY_MASK); in cpu_x86_handle_mmu_fault()
1140 if (!(pte & PG_ACCESSED_MASK) || is_dirty) { in cpu_x86_handle_mmu_fault()
1141 pte |= PG_ACCESSED_MASK; in cpu_x86_handle_mmu_fault()
[all …]
/external/oprofile/module/
Dop_util.c27 pte_t * ptep, pte; in uvirt_to_kva() local
33 pte = *ptep; in uvirt_to_kva()
34 if (pte_present(pte)) { in uvirt_to_kva()
35 ret = (unsigned long) pte_page_address(pte); in uvirt_to_kva()
/external/kernel-headers/original/asm-generic/
Dpgtable.h145 #define pte_maybe_dirty(pte) pte_dirty(pte) argument
147 #define pte_maybe_dirty(pte) (1) argument
159 #define lazy_mmu_prot_update(pte) do { } while (0) argument
163 #define move_pte(pte, prot, old_addr, new_addr) (pte) argument
/external/qemu/
Dmonitor.c1228 static void print_pte(Monitor *mon, uint32_t addr, uint32_t pte, uint32_t mask) in print_pte() argument
1232 pte & mask, in print_pte()
1233 pte & PG_GLOBAL_MASK ? 'G' : '-', in print_pte()
1234 pte & PG_PSE_MASK ? 'P' : '-', in print_pte()
1235 pte & PG_DIRTY_MASK ? 'D' : '-', in print_pte()
1236 pte & PG_ACCESSED_MASK ? 'A' : '-', in print_pte()
1237 pte & PG_PCD_MASK ? 'C' : '-', in print_pte()
1238 pte & PG_PWT_MASK ? 'T' : '-', in print_pte()
1239 pte & PG_USER_MASK ? 'U' : '-', in print_pte()
1240 pte & PG_RW_MASK ? 'W' : '-'); in print_pte()
[all …]
/external/llvm/test/CodeGen/X86/
Dbss_pagealigned.ll8 %pte.addr.i = alloca %struct.kmem_cache_order_objects*
/external/kernel-headers/original/linux/
Dmm.h861 #define pte_unmap_unlock(pte, ptl) do { \ argument
863 pte_unmap(pte); \
/external/icu4c/data/region/
Dgsw.txt111 EG{"Ägüpte"}
/external/webkit/PerformanceTests/Parser/resources/
Dfinal-url-en65772 http://www.pte.state.id.us/ast/journal-jessie.htm