/bionic/libc/kernel/arch-x86/asm/ |
pgtable-2level.h | 15 #define pte_ERROR(e) printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, (e).pte_low) 27 #define pte_none(x) (!(x).pte_low) 32 #define pte_to_pgoff(pte) ((((pte).pte_low >> 1) & 0x1f ) + (((pte).pte_low >> 8) << 5 )) 37 #define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_low })
|
pgtable_32.h | 132 #define pte_present(x) ((x).pte_low & (_PAGE_PRESENT | _PAGE_PROTNONE)) 144 #define ptep_set_access_flags(vma, address, ptep, entry, dirty) ({ int __changed = !pte_same(*(ptep), entry); if (__changed && dirty) { (ptep)->pte_low = (entry).pte_low; pte_update_defer((vma)->vm_mm, (address), (ptep)); flush_tlb_page(vma, address); } __changed; }) 146 #define ptep_test_and_clear_young(vma, addr, ptep) ({ int __ret = 0; if (pte_young(*(ptep))) __ret = test_and_clear_bit(_PAGE_BIT_ACCESSED, &(ptep)->pte_low); if (__ret) pte_update((vma)->vm_mm, addr, ptep); __ret; })
|
/ndk/build/platforms/android-5/arch-x86/usr/include/asm/ |
pgtable-2level.h | 15 #define pte_ERROR(e) printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, (e).pte_low) 27 #define pte_none(x) (!(x).pte_low) 32 #define pte_to_pgoff(pte) ((((pte).pte_low >> 1) & 0x1f ) + (((pte).pte_low >> 8) << 5 )) 37 #define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_low })
|
pgtable_32.h | 132 #define pte_present(x) ((x).pte_low & (_PAGE_PRESENT | _PAGE_PROTNONE)) 144 #define ptep_set_access_flags(vma, address, ptep, entry, dirty) ({ int __changed = !pte_same(*(ptep), entry); if (__changed && dirty) { (ptep)->pte_low = (entry).pte_low; pte_update_defer((vma)->vm_mm, (address), (ptep)); flush_tlb_page(vma, address); } __changed; }) 146 #define ptep_test_and_clear_young(vma, addr, ptep) ({ int __ret = 0; if (pte_young(*(ptep))) __ret = test_and_clear_bit(_PAGE_BIT_ACCESSED, &(ptep)->pte_low); if (__ret) pte_update((vma)->vm_mm, addr, ptep); __ret; })
|
/ndk/build/platforms/android-8/arch-x86/usr/include/asm/ |
pgtable-2level.h | 15 #define pte_ERROR(e) printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, (e).pte_low) 27 #define pte_none(x) (!(x).pte_low) 32 #define pte_to_pgoff(pte) ((((pte).pte_low >> 1) & 0x1f ) + (((pte).pte_low >> 8) << 5 )) 37 #define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_low })
|
pgtable_32.h | 132 #define pte_present(x) ((x).pte_low & (_PAGE_PRESENT | _PAGE_PROTNONE)) 144 #define ptep_set_access_flags(vma, address, ptep, entry, dirty) ({ int __changed = !pte_same(*(ptep), entry); if (__changed && dirty) { (ptep)->pte_low = (entry).pte_low; pte_update_defer((vma)->vm_mm, (address), (ptep)); flush_tlb_page(vma, address); } __changed; }) 146 #define ptep_test_and_clear_young(vma, addr, ptep) ({ int __ret = 0; if (pte_young(*(ptep))) __ret = test_and_clear_bit(_PAGE_BIT_ACCESSED, &(ptep)->pte_low); if (__ret) pte_update((vma)->vm_mm, addr, ptep); __ret; })
|
/external/kernel-headers/original/asm-x86/ |
pgtable-2level.h | 5 printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, (e).pte_low) 47 return __pte(xchg(&xp->pte_low, 0)); 54 #define pte_none(x) (!(x).pte_low) 74 ((((pte).pte_low >> 1) & 0x1f ) + (((pte).pte_low >> 8) << 5 )) 83 #define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_low })
|
pgtable_32.h | 204 #define pte_present(x) ((x).pte_low & (_PAGE_PRESENT | _PAGE_PROTNONE)) 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; } 231 static inline pte_t pte_mkdirty(pte_t pte) { (pte).pte_low |= _PAGE_DIRTY; return pte; [all...] |
page_32.h | 47 typedef struct { unsigned long pte_low, pte_high; } pte_t; member in struct:__anon2865 64 return pte.pte_low | ((unsigned long long)pte.pte_high << 32); 79 return (pte_t) { .pte_low = val, .pte_high = (val >> 32) } ; 90 typedef struct { unsigned long pte_low; } pte_t; member in struct:__anon2869 102 return pte.pte_low; 112 return (pte_t) { .pte_low = val };
|
paravirt.h | 849 x.pte_low, x.pte_high); 866 PVOP_VCALL3(pv_mmu_ops.set_pte, ptep, pteval.pte_low, pteval.pte_high); 879 pteval.pte_low, pteval.pte_high); 925 return PVOP_CALL1(unsigned long, pv_mmu_ops.pte_val, x.pte_low); 935 PVOP_VCALL2(pv_mmu_ops.set_pte, ptep, pteval.pte_low); 941 PVOP_VCALL4(pv_mmu_ops.set_pte_at, mm, addr, ptep, pteval.pte_low);
|
/external/kernel-headers/original/asm-x86/xen/ |
hypercall.h | 225 new_val.pte_low, pte_hi, flags); 283 new_val.pte_low, pte_hi, flags, domid); 318 mcl->args[1] = new_val.pte_low; 321 mcl->args[1] = new_val.pte_low; 345 mcl->args[1] = new_val.pte_low; 348 mcl->args[1] = new_val.pte_low;
|