/linux-master/arch/hexagon/include/asm/ |
H A D | page.h | 73 #define __pte(x) ((pte_t) { (x) }) macro
|
H A D | pgtable.h | 136 #define pte_mkhuge(pte) __pte((pte_val(pte) & ~0x3) | HVM_HUGEPAGE_SIZE) 343 #define pfn_pte(pfn, pgprot) __pte((pfn << PAGE_SHIFT) | pgprot_val(pgprot))
|
/linux-master/arch/m68k/include/asm/ |
H A D | sun3_pgtable.h | 111 ({ pte_t __pte; pte_val(__pte) = pfn | pgprot_val(pgprot); __pte; })
|
H A D | mcf_pgtable.h | 275 #define __swp_entry_to_pte(x) (__pte((x).val)) 298 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
|
/linux-master/arch/s390/include/asm/ |
H A D | pgtable.h | 548 return __pte(pte_val(pte) & ~pgprot_val(prot)); 553 return __pte(pte_val(pte) | pgprot_val(prot)); 992 set_pte(ptep, __pte(_PAGE_INVALID)); 1167 res = ptep_xchg_lazy(mm, addr, ptep, __pte(_PAGE_INVALID)); 1185 res = ptep_xchg_direct(vma->vm_mm, addr, ptep, __pte(_PAGE_INVALID)); 1208 set_pte(ptep, __pte(_PAGE_INVALID)); 1210 res = ptep_xchg_lazy(mm, addr, ptep, __pte(_PAGE_INVALID)); 1354 entry = __pte(pte_val(entry) + PAGE_SIZE); 1363 entry = __pte(pte_val(entry) + PAGE_SIZE); 1375 pte_t __pte; local 1386 pte_t __pte = mk_pte_phys(physpage, pgprot); local [all...] |
/linux-master/arch/xtensa/include/asm/ |
H A D | pgtable.h | 244 do { update_pte(ptep, __pte(_PAGE_CA_INVALID | _PAGE_USER)); } while (0) 281 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) 286 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot));
|
H A D | page.h | 108 #define __pte(x) ((pte_t) { (x) } ) macro
|
/linux-master/arch/microblaze/include/asm/ |
H A D | pgtable.h | 224 do { set_pte_at((mm), (addr), (ptep), __pte(0)); } while (0) 238 __pte(((pte_basic_t)(pfn) << PFN_PTE_SHIFT) | pgprot_val(prot)) 357 return __pte(pte_update(ptep, ~_PAGE_HASHPTE, 0));
|
H A D | page.h | 69 # define __pte(x) ((pte_t) { (x) }) macro
|
/linux-master/arch/arm/include/asm/ |
H A D | pgtable.h | 169 #define pfn_pte(pfn,prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot)) 174 #define pte_clear(mm,addr,ptep) set_pte_ext(ptep, __pte(0), 0) 304 #define __swp_entry_to_pte(swp) __pte((swp).val)
|
H A D | pgtable-3level.h | 171 #define set_pte_ext(ptep,pte,ext) cpu_set_pte_ext(ptep,__pte(pte_val(pte)|(ext))) 174 #define pte_mkhuge(pte) (__pte(pte_val(pte) & ~PTE_TABLE_BIT))
|
/linux-master/arch/powerpc/include/asm/ |
H A D | pgtable-be-types.h | 9 #define __pte(x) ((pte_t) { cpu_to_be64(x) }) macro
|
H A D | pgtable.h | 78 return pte_pgprot(pte_exprotect(__pte(pgprot_val(prot))));
|
/linux-master/arch/x86/include/asm/ |
H A D | pgtable-2level.h | 52 return __pte(xchg(&xp->pte_low, 0));
|
/linux-master/arch/loongarch/include/asm/ |
H A D | page.h | 52 #define __pte(x) ((pte_t) { (x) }) macro
|
H A D | pgtable.h | 254 #define pfn_pte(pfn, prot) __pte(((pfn) << PFN_PTE_SHIFT) | pgprot_val(prot)) 354 set_pte(ptep, __pte(_PAGE_GLOBAL)); 356 set_pte(ptep, __pte(0)); 448 return __pte((pte_val(pte) & _PAGE_CHG_MASK) |
|
/linux-master/arch/arc/include/asm/ |
H A D | pgtable-bits-arcv2.h | 100 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot));
|
/linux-master/arch/powerpc/include/asm/book3s/64/ |
H A D | radix.h | 195 *ptep = __pte(0); 199 return __pte(old_pte);
|
/linux-master/arch/x86/power/ |
H A D | hibernate_32.c | 165 __pte((jump_address_phys & PAGE_MASK) | pgprot_val(PAGE_KERNEL_EXEC)));
|
H A D | hibernate.c | 183 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_NX));
|
/linux-master/arch/x86/xen/ |
H A D | grant-table.c | 89 set_pte_at(&init_mm, addr, ptes[i], __pte(0));
|
/linux-master/arch/powerpc/mm/book3s64/ |
H A D | hash_tlb.c | 97 rpte = __real_pte(__pte(pte), ptep, offset);
|
/linux-master/arch/mips/include/asm/ |
H A D | pgtable.h | 145 pte_t null = __pte(0); 196 set_pte(ptep, __pte(_PAGE_GLOBAL)); 199 set_pte(ptep, __pte(0)); 227 pte = __pte(pte_val(pte) + (1UL << PFN_PTE_SHIFT));
|
/linux-master/arch/x86/kernel/ |
H A D | espfix_64.c | 192 pte = __pte(__pa(stack_page) | ((__PAGE_KERNEL_RO | _PAGE_ENC) & ptemask));
|
/linux-master/arch/um/include/asm/ |
H A D | page.h | 87 #define __pte(x) ((pte_t) { (x) } ) macro
|