HomeSort by relevance Sort by last modified time
    Searched refs:pte_t (Results 1 - 25 of 40) sorted by null

1 2

  /external/kernel-headers/original/asm-arm/
pgalloc.h 55 static inline pte_t *
58 pte_t *pte;
60 pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO);
62 clean_dcache_area(pte, sizeof(pte_t) * PTRS_PER_PTE);
77 clean_dcache_area(page, sizeof(pte_t) * PTRS_PER_PTE);
86 static inline void pte_free_kernel(pte_t *pte)
102 pmdp[1] = __pmd(pmdval + 256 * sizeof(pte_t));
113 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmdp, pte_t *ptep)
page.h 143 typedef struct { unsigned long pte; } pte_t; typedef in typeref:struct:__anon6748
153 #define __pte(x) ((pte_t) { (x) } )
161 typedef unsigned long pte_t; typedef
  /external/kernel-headers/original/asm-x86/
pgtable-2level.h 14 static inline void native_set_pte(pte_t *ptep , pte_t pte)
19 pte_t *ptep , pte_t pte)
39 static inline void native_pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *xp)
45 static inline pte_t native_ptep_get_and_clear(pte_t *xp)
62 static inline int pte_exec_kernel(pte_t pte)
77 ((pte_t) { (((off) & 0x1f) << 1) + (((off) >> 5) << 8) + _PAGE_FILE })
84 #define __swp_entry_to_pte(x) ((pte_t) { (x).val }
    [all...]
pgtable_32.h 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; }
228 static inline pte_t pte_mkclean(pte_t pte) { (pte).pte_low &= ~_PAGE_DIRTY; return pte; }
229 static inline pte_t pte_mkold(pte_t pte) { (pte).pte_low &= ~_PAGE_ACCESSED; return pte; }
230 static inline pte_t pte_wrprotect(pte_t pte) { (pte).pte_low &= ~_PAGE_RW; return pte;
    [all...]
page_32.h 47 typedef struct { unsigned long pte_low, pte_high; } pte_t; typedef in typeref:struct:__anon6830
62 static inline unsigned long long native_pte_val(pte_t pte)
77 static inline pte_t native_make_pte(unsigned long long val)
79 return (pte_t) { .pte_low = val, .pte_high = (val >> 32) } ;
90 typedef struct { unsigned long pte_low; } pte_t; typedef in typeref:struct:__anon6834
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)
110 static inline pte_t native_make_pte(unsigned long val)
112 return (pte_t) { .pte_low = val };
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)
    [all...]
highmem.h 32 extern pte_t *kmap_pte;
34 extern pte_t *pkmap_page_table;
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)
  /external/kernel-headers/original/asm-generic/
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)
134 pte_t old_pte = *ptep;
  /bionic/libc/kernel/arch-sh/asm/
page.h 30 typedef struct { unsigned long pte_low; } pte_t; typedef in typeref:struct:__anon90
34 #define __pte(x) ((pte_t) { (x) } )
  /bionic/libc/kernel/common/asm-generic/
pgtable.h 30 #define ptep_test_and_clear_young(__vma, __address, __ptep) ({ pte_t __pte = *(__ptep); int r = 1; if (!pte_young(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkold(__pte)); r; })
38 #define ptep_test_and_clear_dirty(__vma, __address, __ptep) ({ pte_t __pte = *__ptep; int r = 1; if (!pte_dirty(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkclean(__pte)); r; })
46 #define ptep_get_and_clear(__mm, __address, __ptep) ({ pte_t __pte = *(__ptep); pte_clear((__mm), (__address), (__ptep)); __pte; })
50 #define ptep_get_and_clear_full(__mm, __address, __ptep, __full) ({ pte_t __pte; __pte = ptep_get_and_clear((__mm), (__address), (__ptep)); __pte; })
58 #define ptep_clear_flush(__vma, __address, __ptep) ({ pte_t __pte; __pte = ptep_get_and_clear((__vma)->vm_mm, __address, __ptep); flush_tlb_page(__vma, __address); __pte; })
  /development/ndk/platforms/android-3/include/asm-generic/
pgtable.h 30 #define ptep_test_and_clear_young(__vma, __address, __ptep) ({ pte_t __pte = *(__ptep); int r = 1; if (!pte_young(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkold(__pte)); r; })
38 #define ptep_test_and_clear_dirty(__vma, __address, __ptep) ({ pte_t __pte = *__ptep; int r = 1; if (!pte_dirty(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkclean(__pte)); r; })
46 #define ptep_get_and_clear(__mm, __address, __ptep) ({ pte_t __pte = *(__ptep); pte_clear((__mm), (__address), (__ptep)); __pte; })
50 #define ptep_get_and_clear_full(__mm, __address, __ptep, __full) ({ pte_t __pte; __pte = ptep_get_and_clear((__mm), (__address), (__ptep)); __pte; })
58 #define ptep_clear_flush(__vma, __address, __ptep) ({ pte_t __pte; __pte = ptep_get_and_clear((__vma)->vm_mm, __address, __ptep); flush_tlb_page(__vma, __address); __pte; })
  /prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm-generic/
pgtable.h 30 #define ptep_test_and_clear_young(__vma, __address, __ptep) ({ pte_t __pte = *(__ptep); int r = 1; if (!pte_young(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkold(__pte)); r; })
38 #define ptep_test_and_clear_dirty(__vma, __address, __ptep) ({ pte_t __pte = *__ptep; int r = 1; if (!pte_dirty(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkclean(__pte)); r; })
46 #define ptep_get_and_clear(__mm, __address, __ptep) ({ pte_t __pte = *(__ptep); pte_clear((__mm), (__address), (__ptep)); __pte; })
50 #define ptep_get_and_clear_full(__mm, __address, __ptep, __full) ({ pte_t __pte; __pte = ptep_get_and_clear((__mm), (__address), (__ptep)); __pte; })
58 #define ptep_clear_flush(__vma, __address, __ptep) ({ pte_t __pte; __pte = ptep_get_and_clear((__vma)->vm_mm, __address, __ptep); flush_tlb_page(__vma, __address); __pte; })
  /prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/asm-generic/
pgtable.h 30 #define ptep_test_and_clear_young(__vma, __address, __ptep) ({ pte_t __pte = *(__ptep); int r = 1; if (!pte_young(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkold(__pte)); r; })
38 #define ptep_test_and_clear_dirty(__vma, __address, __ptep) ({ pte_t __pte = *__ptep; int r = 1; if (!pte_dirty(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkclean(__pte)); r; })
46 #define ptep_get_and_clear(__mm, __address, __ptep) ({ pte_t __pte = *(__ptep); pte_clear((__mm), (__address), (__ptep)); __pte; })
50 #define ptep_get_and_clear_full(__mm, __address, __ptep, __full) ({ pte_t __pte; __pte = ptep_get_and_clear((__mm), (__address), (__ptep)); __pte; })
58 #define ptep_clear_flush(__vma, __address, __ptep) ({ pte_t __pte; __pte = ptep_get_and_clear((__vma)->vm_mm, __address, __ptep); flush_tlb_page(__vma, __address); __pte; })
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/asm-generic/
pgtable.h 30 #define ptep_test_and_clear_young(__vma, __address, __ptep) ({ pte_t __pte = *(__ptep); int r = 1; if (!pte_young(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkold(__pte)); r; })
38 #define ptep_test_and_clear_dirty(__vma, __address, __ptep) ({ pte_t __pte = *__ptep; int r = 1; if (!pte_dirty(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkclean(__pte)); r; })
46 #define ptep_get_and_clear(__mm, __address, __ptep) ({ pte_t __pte = *(__ptep); pte_clear((__mm), (__address), (__ptep)); __pte; })
50 #define ptep_get_and_clear_full(__mm, __address, __ptep, __full) ({ pte_t __pte; __pte = ptep_get_and_clear((__mm), (__address), (__ptep)); __pte; })
58 #define ptep_clear_flush(__vma, __address, __ptep) ({ pte_t __pte; __pte = ptep_get_and_clear((__vma)->vm_mm, __address, __ptep); flush_tlb_page(__vma, __address); __pte; })
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/asm-generic/
pgtable.h 30 #define ptep_test_and_clear_young(__vma, __address, __ptep) ({ pte_t __pte = *(__ptep); int r = 1; if (!pte_young(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkold(__pte)); r; })
38 #define ptep_test_and_clear_dirty(__vma, __address, __ptep) ({ pte_t __pte = *__ptep; int r = 1; if (!pte_dirty(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkclean(__pte)); r; })
46 #define ptep_get_and_clear(__mm, __address, __ptep) ({ pte_t __pte = *(__ptep); pte_clear((__mm), (__address), (__ptep)); __pte; })
50 #define ptep_get_and_clear_full(__mm, __address, __ptep, __full) ({ pte_t __pte; __pte = ptep_get_and_clear((__mm), (__address), (__ptep)); __pte; })
58 #define ptep_clear_flush(__vma, __address, __ptep) ({ pte_t __pte; __pte = ptep_get_and_clear((__vma)->vm_mm, __address, __ptep); flush_tlb_page(__vma, __address); __pte; })
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/asm-generic/
pgtable.h 30 #define ptep_test_and_clear_young(__vma, __address, __ptep) ({ pte_t __pte = *(__ptep); int r = 1; if (!pte_young(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkold(__pte)); r; })
38 #define ptep_test_and_clear_dirty(__vma, __address, __ptep) ({ pte_t __pte = *__ptep; int r = 1; if (!pte_dirty(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkclean(__pte)); r; })
46 #define ptep_get_and_clear(__mm, __address, __ptep) ({ pte_t __pte = *(__ptep); pte_clear((__mm), (__address), (__ptep)); __pte; })
50 #define ptep_get_and_clear_full(__mm, __address, __ptep, __full) ({ pte_t __pte; __pte = ptep_get_and_clear((__mm), (__address), (__ptep)); __pte; })
58 #define ptep_clear_flush(__vma, __address, __ptep) ({ pte_t __pte; __pte = ptep_get_and_clear((__vma)->vm_mm, __address, __ptep); flush_tlb_page(__vma, __address); __pte; })
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/asm-generic/
pgtable.h 30 #define ptep_test_and_clear_young(__vma, __address, __ptep) ({ pte_t __pte = *(__ptep); int r = 1; if (!pte_young(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkold(__pte)); r; })
38 #define ptep_test_and_clear_dirty(__vma, __address, __ptep) ({ pte_t __pte = *__ptep; int r = 1; if (!pte_dirty(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkclean(__pte)); r; })
46 #define ptep_get_and_clear(__mm, __address, __ptep) ({ pte_t __pte = *(__ptep); pte_clear((__mm), (__address), (__ptep)); __pte; })
50 #define ptep_get_and_clear_full(__mm, __address, __ptep, __full) ({ pte_t __pte; __pte = ptep_get_and_clear((__mm), (__address), (__ptep)); __pte; })
58 #define ptep_clear_flush(__vma, __address, __ptep) ({ pte_t __pte; __pte = ptep_get_and_clear((__vma)->vm_mm, __address, __ptep); flush_tlb_page(__vma, __address); __pte; })
  /prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/asm-generic/
pgtable.h 30 #define ptep_test_and_clear_young(__vma, __address, __ptep) ({ pte_t __pte = *(__ptep); int r = 1; if (!pte_young(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkold(__pte)); r; })
38 #define ptep_test_and_clear_dirty(__vma, __address, __ptep) ({ pte_t __pte = *__ptep; int r = 1; if (!pte_dirty(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkclean(__pte)); r; })
46 #define ptep_get_and_clear(__mm, __address, __ptep) ({ pte_t __pte = *(__ptep); pte_clear((__mm), (__address), (__ptep)); __pte; })
50 #define ptep_get_and_clear_full(__mm, __address, __ptep, __full) ({ pte_t __pte; __pte = ptep_get_and_clear((__mm), (__address), (__ptep)); __pte; })
58 #define ptep_clear_flush(__vma, __address, __ptep) ({ pte_t __pte; __pte = ptep_get_and_clear((__vma)->vm_mm, __address, __ptep); flush_tlb_page(__vma, __address); __pte; })
  /prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/asm-generic/
pgtable.h 30 #define ptep_test_and_clear_young(__vma, __address, __ptep) ({ pte_t __pte = *(__ptep); int r = 1; if (!pte_young(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkold(__pte)); r; })
38 #define ptep_test_and_clear_dirty(__vma, __address, __ptep) ({ pte_t __pte = *__ptep; int r = 1; if (!pte_dirty(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkclean(__pte)); r; })
46 #define ptep_get_and_clear(__mm, __address, __ptep) ({ pte_t __pte = *(__ptep); pte_clear((__mm), (__address), (__ptep)); __pte; })
50 #define ptep_get_and_clear_full(__mm, __address, __ptep, __full) ({ pte_t __pte; __pte = ptep_get_and_clear((__mm), (__address), (__ptep)); __pte; })
58 #define ptep_clear_flush(__vma, __address, __ptep) ({ pte_t __pte; __pte = ptep_get_and_clear((__vma)->vm_mm, __address, __ptep); flush_tlb_page(__vma, __address); __pte; })
  /prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/asm-generic/
pgtable.h 30 #define ptep_test_and_clear_young(__vma, __address, __ptep) ({ pte_t __pte = *(__ptep); int r = 1; if (!pte_young(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkold(__pte)); r; })
38 #define ptep_test_and_clear_dirty(__vma, __address, __ptep) ({ pte_t __pte = *__ptep; int r = 1; if (!pte_dirty(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkclean(__pte)); r; })
46 #define ptep_get_and_clear(__mm, __address, __ptep) ({ pte_t __pte = *(__ptep); pte_clear((__mm), (__address), (__ptep)); __pte; })
50 #define ptep_get_and_clear_full(__mm, __address, __ptep, __full) ({ pte_t __pte; __pte = ptep_get_and_clear((__mm), (__address), (__ptep)); __pte; })
58 #define ptep_clear_flush(__vma, __address, __ptep) ({ pte_t __pte; __pte = ptep_get_and_clear((__vma)->vm_mm, __address, __ptep); flush_tlb_page(__vma, __address); __pte; })
  /bionic/libc/kernel/arch-x86/asm/
pgtable-2level.h 33 #define pgoff_to_pte(off) ((pte_t) { (((off) & 0x1f) << 1) + (((off) >> 5) << 8) + _PAGE_FILE })
38 #define __swp_entry_to_pte(x) ((pte_t) { (x).val })
  /development/ndk/platforms/android-9/arch-x86/include/asm/
pgtable-2level.h 33 #define pgoff_to_pte(off) ((pte_t) { (((off) & 0x1f) << 1) + (((off) >> 5) << 8) + _PAGE_FILE })
38 #define __swp_entry_to_pte(x) ((pte_t) { (x).val })
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/asm/
pgtable-2level.h 33 #define pgoff_to_pte(off) ((pte_t) { (((off) & 0x1f) << 1) + (((off) >> 5) << 8) + _PAGE_FILE })
38 #define __swp_entry_to_pte(x) ((pte_t) { (x).val })
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/asm/
pgtable-2level.h 33 #define pgoff_to_pte(off) ((pte_t) { (((off) & 0x1f) << 1) + (((off) >> 5) << 8) + _PAGE_FILE })
38 #define __swp_entry_to_pte(x) ((pte_t) { (x).val })

Completed in 397 milliseconds

1 2