/external/kernel-headers/original/asm-mips/ |
pgtable.h | 91 #define pte_none(pte) (!(((pte).pte_low | (pte).pte_high) & ~_PAGE_GLOBAL)) 92 #define pte_present(pte) ((pte).pte_low & _PAGE_PRESENT) 94 static inline void set_pte(pte_t *ptep, pte_t pte) 96 ptep->pte_high = pte.pte_high; 98 ptep->pte_low = pte.pte_low; 101 if (pte.pte_low & _PAGE_GLOBAL) { 127 #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL) [all...] |
pgalloc.h | 17 pte_t *pte) 19 set_pmd(pmd, __pmd((unsigned long)pte)); 23 pgtable_t pte) 25 set_pmd(pmd, __pmd((unsigned long)page_address(pte))); 70 pte_t *pte; local 72 pte = (pte_t *) __get_free_pages(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO, PTE_ORDER); 74 return pte; 80 struct page *pte; local 82 pte = alloc_pages(GFP_KERNEL | __GFP_REPEAT, PTE_ORDER); 83 if (pte) { [all...] |
/bionic/libc/kernel/arch-x86/asm/ |
pgalloc_32.h | 31 #define pmd_populate_kernel(mm, pmd, pte) do { paravirt_alloc_pt(mm, __pa(pte) >> PAGE_SHIFT); set_pmd(pmd, __pmd(_PAGE_TABLE + __pa(pte))); } while (0) 32 #define pmd_populate(mm, pmd, pte) do { paravirt_alloc_pt(mm, page_to_pfn(pte)); set_pmd(pmd, __pmd(_PAGE_TABLE + ((unsigned long long)page_to_pfn(pte) << (unsigned long long) PAGE_SHIFT))); } while (0) 34 #define __pte_free_tlb(tlb,pte) do { paravirt_release_pt(page_to_pfn(pte)); tlb_remove_page((tlb),(pte)); } while (0)
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
pgalloc_32.h | 31 #define pmd_populate_kernel(mm, pmd, pte) do { paravirt_alloc_pt(mm, __pa(pte) >> PAGE_SHIFT); set_pmd(pmd, __pmd(_PAGE_TABLE + __pa(pte))); } while (0) 32 #define pmd_populate(mm, pmd, pte) do { paravirt_alloc_pt(mm, page_to_pfn(pte)); set_pmd(pmd, __pmd(_PAGE_TABLE + ((unsigned long long)page_to_pfn(pte) << (unsigned long long) PAGE_SHIFT))); } while (0) 34 #define __pte_free_tlb(tlb,pte) do { paravirt_release_pt(page_to_pfn(pte)); tlb_remove_page((tlb),(pte)); } while (0)
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/asm/ |
pgalloc_32.h | 25 #define pmd_populate_kernel(mm, pmd, pte) do { paravirt_alloc_pt(mm, __pa(pte) >> PAGE_SHIFT); set_pmd(pmd, __pmd(_PAGE_TABLE + __pa(pte))); } while (0) 27 #define pmd_populate(mm, pmd, pte) do { paravirt_alloc_pt(mm, page_to_pfn(pte)); set_pmd(pmd, __pmd(_PAGE_TABLE + ((unsigned long long)page_to_pfn(pte) << (unsigned long long) PAGE_SHIFT))); } while (0) 29 #define __pte_free_tlb(tlb,pte) do { paravirt_release_pt(page_to_pfn(pte)); tlb_remove_page((tlb),(pte)); } while (0)
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/asm/ |
pgalloc_32.h | 25 #define pmd_populate_kernel(mm, pmd, pte) do { paravirt_alloc_pt(mm, __pa(pte) >> PAGE_SHIFT); set_pmd(pmd, __pmd(_PAGE_TABLE + __pa(pte))); } while (0) 27 #define pmd_populate(mm, pmd, pte) do { paravirt_alloc_pt(mm, page_to_pfn(pte)); set_pmd(pmd, __pmd(_PAGE_TABLE + ((unsigned long long)page_to_pfn(pte) << (unsigned long long) PAGE_SHIFT))); } while (0) 29 #define __pte_free_tlb(tlb,pte) do { paravirt_release_pt(page_to_pfn(pte)); tlb_remove_page((tlb),(pte)); } while (0)
|
/prebuilts/ndk/6/platforms/android-9/arch-x86/usr/include/asm/ |
pgalloc_32.h | 25 #define pmd_populate_kernel(mm, pmd, pte) do { paravirt_alloc_pt(mm, __pa(pte) >> PAGE_SHIFT); set_pmd(pmd, __pmd(_PAGE_TABLE + __pa(pte))); } while (0) 27 #define pmd_populate(mm, pmd, pte) do { paravirt_alloc_pt(mm, page_to_pfn(pte)); set_pmd(pmd, __pmd(_PAGE_TABLE + ((unsigned long long)page_to_pfn(pte) << (unsigned long long) PAGE_SHIFT))); } while (0) 29 #define __pte_free_tlb(tlb,pte) do { paravirt_release_pt(page_to_pfn(pte)); tlb_remove_page((tlb),(pte)); } while (0)
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/asm/ |
pgalloc_32.h | 25 #define pmd_populate_kernel(mm, pmd, pte) do { paravirt_alloc_pt(mm, __pa(pte) >> PAGE_SHIFT); set_pmd(pmd, __pmd(_PAGE_TABLE + __pa(pte))); } while (0) 27 #define pmd_populate(mm, pmd, pte) do { paravirt_alloc_pt(mm, page_to_pfn(pte)); set_pmd(pmd, __pmd(_PAGE_TABLE + ((unsigned long long)page_to_pfn(pte) << (unsigned long long) PAGE_SHIFT))); } while (0) 29 #define __pte_free_tlb(tlb,pte) do { paravirt_release_pt(page_to_pfn(pte)); tlb_remove_page((tlb),(pte)); } while (0)
|
/prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/asm/ |
pgalloc_32.h | 25 #define pmd_populate_kernel(mm, pmd, pte) do { paravirt_alloc_pt(mm, __pa(pte) >> PAGE_SHIFT); set_pmd(pmd, __pmd(_PAGE_TABLE + __pa(pte))); } while (0) 27 #define pmd_populate(mm, pmd, pte) do { paravirt_alloc_pt(mm, page_to_pfn(pte)); set_pmd(pmd, __pmd(_PAGE_TABLE + ((unsigned long long)page_to_pfn(pte) << (unsigned long long) PAGE_SHIFT))); } while (0) 29 #define __pte_free_tlb(tlb,pte) do { paravirt_release_pt(page_to_pfn(pte)); tlb_remove_page((tlb),(pte)); } while (0)
|
/prebuilts/ndk/8/platforms/android-14/arch-x86/usr/include/asm/ |
pgalloc_32.h | 31 #define pmd_populate_kernel(mm, pmd, pte) do { paravirt_alloc_pt(mm, __pa(pte) >> PAGE_SHIFT); set_pmd(pmd, __pmd(_PAGE_TABLE + __pa(pte))); } while (0) 32 #define pmd_populate(mm, pmd, pte) do { paravirt_alloc_pt(mm, page_to_pfn(pte)); set_pmd(pmd, __pmd(_PAGE_TABLE + ((unsigned long long)page_to_pfn(pte) << (unsigned long long) PAGE_SHIFT))); } while (0) 34 #define __pte_free_tlb(tlb,pte) do { paravirt_release_pt(page_to_pfn(pte)); tlb_remove_page((tlb),(pte)); } while (0)
|
/prebuilts/ndk/8/platforms/android-9/arch-x86/usr/include/asm/ |
pgalloc_32.h | 31 #define pmd_populate_kernel(mm, pmd, pte) do { paravirt_alloc_pt(mm, __pa(pte) >> PAGE_SHIFT); set_pmd(pmd, __pmd(_PAGE_TABLE + __pa(pte))); } while (0) 32 #define pmd_populate(mm, pmd, pte) do { paravirt_alloc_pt(mm, page_to_pfn(pte)); set_pmd(pmd, __pmd(_PAGE_TABLE + ((unsigned long long)page_to_pfn(pte) << (unsigned long long) PAGE_SHIFT))); } while (0) 34 #define __pte_free_tlb(tlb,pte) do { paravirt_release_pt(page_to_pfn(pte)); tlb_remove_page((tlb),(pte)); } while (0)
|
/prebuilts/ndk/9/platforms/android-14/arch-x86/usr/include/asm/ |
pgalloc_32.h | 31 #define pmd_populate_kernel(mm, pmd, pte) do { paravirt_alloc_pt(mm, __pa(pte) >> PAGE_SHIFT); set_pmd(pmd, __pmd(_PAGE_TABLE + __pa(pte))); } while (0) 32 #define pmd_populate(mm, pmd, pte) do { paravirt_alloc_pt(mm, page_to_pfn(pte)); set_pmd(pmd, __pmd(_PAGE_TABLE + ((unsigned long long)page_to_pfn(pte) << (unsigned long long) PAGE_SHIFT))); } while (0) 34 #define __pte_free_tlb(tlb,pte) do { paravirt_release_pt(page_to_pfn(pte)); tlb_remove_page((tlb),(pte)); } while (0)
|
/prebuilts/ndk/9/platforms/android-18/arch-x86/usr/include/asm/ |
pgalloc_32.h | 31 #define pmd_populate_kernel(mm, pmd, pte) do { paravirt_alloc_pt(mm, __pa(pte) >> PAGE_SHIFT); set_pmd(pmd, __pmd(_PAGE_TABLE + __pa(pte))); } while (0) 32 #define pmd_populate(mm, pmd, pte) do { paravirt_alloc_pt(mm, page_to_pfn(pte)); set_pmd(pmd, __pmd(_PAGE_TABLE + ((unsigned long long)page_to_pfn(pte) << (unsigned long long) PAGE_SHIFT))); } while (0) 34 #define __pte_free_tlb(tlb,pte) do { paravirt_release_pt(page_to_pfn(pte)); tlb_remove_page((tlb),(pte)); } while (0)
|
/prebuilts/ndk/9/platforms/android-9/arch-x86/usr/include/asm/ |
pgalloc_32.h | 31 #define pmd_populate_kernel(mm, pmd, pte) do { paravirt_alloc_pt(mm, __pa(pte) >> PAGE_SHIFT); set_pmd(pmd, __pmd(_PAGE_TABLE + __pa(pte))); } while (0) 32 #define pmd_populate(mm, pmd, pte) do { paravirt_alloc_pt(mm, page_to_pfn(pte)); set_pmd(pmd, __pmd(_PAGE_TABLE + ((unsigned long long)page_to_pfn(pte) << (unsigned long long) PAGE_SHIFT))); } while (0) 34 #define __pte_free_tlb(tlb,pte) do { paravirt_release_pt(page_to_pfn(pte)); tlb_remove_page((tlb),(pte)); } while (0)
|
/external/kernel-headers/original/asm-x86/ |
pgalloc_32.h | 18 #define pmd_populate_kernel(mm, pmd, pte) \ 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) \ 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) 43 free_page((unsigned long)pte); 46 static inline void pte_free(struct page *pte) 48 __free_page(pte); [all...] |
pgtable_32.h | 120 #define _PAGE_FILE 0x040 /* nonlinear file mapping, saved PTE; unset:swap */ 218 static inline int pte_dirty(pte_t pte) { return (pte).pte_low & _PAGE_DIRTY; } 219 static inline int pte_young(pte_t pte) { return (pte).pte_low & _PAGE_ACCESSED; } 220 static inline int pte_write(pte_t pte) { return (pte).pte_low & _PAGE_RW; } 221 static inline int pte_huge(pte_t pte) { return (pte).pte_low & _PAGE_PSE; } 226 static inline int pte_file(pte_t pte) { return (pte).pte_low & _PAGE_FILE; 313 pte_t pte = native_ptep_get_and_clear(ptep); local 321 pte_t pte; local [all...] |
/external/kernel-headers/original/asm-arm/ |
pgalloc.h | 31 #define pgd_populate(mm,pmd,pte) BUG() 40 * Allocate one PTE table. 42 * This actually allocates two hardware PTE tables, but we wrap this up 58 pte_t *pte; local 60 pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO); 61 if (pte) { 62 clean_dcache_area(pte, sizeof(pte_t) * PTRS_PER_PTE); 63 pte += PTRS_PER_PTE; 66 return pte; 72 struct page *pte; local [all...] |
pgtable.h | 50 * and PTE only. However, Linux also expects one "PTE" table per page, and 56 * hardware PTE tables arranged contiguously, followed by Linux versions 58 * with 512 entries in the "PTE" level. 62 * pgd pte 81 * iff the page is marked "writable" and "dirty" in the Linux PTE. This 91 * PTE entry. Again, ptep_establish() will ensure that the TLB is up to 95 * by clearing the hardware PTE. Currently Linux does not flush the TLB 118 #define pte_ERROR(pte) __pte_error(__FILE__, __LINE__, pte_val(pte)) [all...] |
/bionic/libc/kernel/arch-mips/asm/ |
pgalloc.h | 26 #define __pte_free_tlb(tlb,pte) do { pgtable_page_dtor(pte); tlb_remove_page((tlb), pte); } while (0)
|
/development/ndk/platforms/android-9/arch-mips/include/asm/ |
pgalloc.h | 26 #define __pte_free_tlb(tlb,pte) do { pgtable_page_dtor(pte); tlb_remove_page((tlb), pte); } while (0)
|
/prebuilts/ndk/8/platforms/android-14/arch-mips/usr/include/asm/ |
pgalloc.h | 26 #define __pte_free_tlb(tlb,pte) do { pgtable_page_dtor(pte); tlb_remove_page((tlb), pte); } while (0)
|
/prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/asm/ |
pgalloc.h | 26 #define __pte_free_tlb(tlb,pte) do { pgtable_page_dtor(pte); tlb_remove_page((tlb), pte); } while (0)
|
/prebuilts/ndk/9/platforms/android-14/arch-mips/usr/include/asm/ |
pgalloc.h | 26 #define __pte_free_tlb(tlb,pte) do { pgtable_page_dtor(pte); tlb_remove_page((tlb), pte); } while (0)
|
/prebuilts/ndk/9/platforms/android-18/arch-mips/usr/include/asm/ |
pgalloc.h | 26 #define __pte_free_tlb(tlb,pte) do { pgtable_page_dtor(pte); tlb_remove_page((tlb), pte); } while (0)
|
/prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/asm/ |
pgalloc.h | 26 #define __pte_free_tlb(tlb,pte) do { pgtable_page_dtor(pte); tlb_remove_page((tlb), pte); } while (0)
|