/arch/x86/power/ |
D | hibernate_64.c | 37 pgprot_val(pmd_text_prot) &= __default_kernel_pte_mask; in set_up_temporary_text_mapping() 38 pgprot_val(pgtable_prot) &= __default_kernel_pte_mask; in set_up_temporary_text_mapping() 69 __pmd((jump_address_phys & PMD_MASK) | pgprot_val(pmd_text_prot))); in set_up_temporary_text_mapping() 71 __pud(__pa(pmd) | pgprot_val(pgtable_prot))); in set_up_temporary_text_mapping() 73 p4d_t new_p4d = __p4d(__pa(pud) | pgprot_val(pgtable_prot)); in set_up_temporary_text_mapping() 74 pgd_t new_pgd = __pgd(__pa(p4d) | pgprot_val(pgtable_prot)); in set_up_temporary_text_mapping() 80 pgd_t new_pgd = __pgd(__pa(pud) | pgprot_val(pgtable_prot)); in set_up_temporary_text_mapping()
|
/arch/m68k/include/asm/ |
D | fb.h | 15 pgprot_val(vma->vm_page_prot) |= SUN3_PAGE_NOCACHE; in fb_pgprotect() 22 pgprot_val(vma->vm_page_prot) |= _PAGE_NOCACHE030; in fb_pgprotect() 24 pgprot_val(vma->vm_page_prot) &= _CACHEMASK040; in fb_pgprotect() 26 pgprot_val(vma->vm_page_prot) |= _PAGE_NOCACHE_S; in fb_pgprotect()
|
D | pgtable_mm.h | 156 # define pgprot_noncached(prot) (__pgprot(pgprot_val(prot) | CF_PAGE_NOCACHE)) 165 ? (__pgprot(pgprot_val(prot) | __SUN3_PAGE_NOCACHE)) \ 167 ? (__pgprot(pgprot_val(prot) | _PAGE_NOCACHE030)) \ 169 ? (__pgprot((pgprot_val(prot) & _CACHEMASK040) | _PAGE_NOCACHE_S)) \
|
/arch/unicore32/include/asm/ |
D | pgtable.h | 87 #define PAGE_SHARED __pgprot(pgprot_val(pgprot_user | PTE_READ \ 89 #define PAGE_SHARED_EXEC __pgprot(pgprot_val(pgprot_user | PTE_READ \ 92 #define PAGE_COPY __pgprot(pgprot_val(pgprot_user | PTE_READ) 93 #define PAGE_COPY_EXEC __pgprot(pgprot_val(pgprot_user | PTE_READ \ 95 #define PAGE_READONLY __pgprot(pgprot_val(pgprot_user | PTE_READ)) 96 #define PAGE_READONLY_EXEC __pgprot(pgprot_val(pgprot_user | PTE_READ \ 99 #define PAGE_KERNEL_EXEC __pgprot(pgprot_val(pgprot_kernel | PTE_EXEC)) 152 | pgprot_val(prot))) 198 __pgprot(pgprot_val(prot) & ~PTE_CACHEABLE) 200 __pgprot(pgprot_val(prot) & ~PTE_CACHEABLE) [all …]
|
D | page.h | 40 #define pgprot_val(x) ((x).pgprot) macro 56 #define pgprot_val(x) (x) macro
|
/arch/arm64/kernel/ |
D | efi.c | 35 return pgprot_val(PAGE_KERNEL_EXEC); in create_mapping_protection() 40 return pgprot_val(PAGE_KERNEL_RO); in create_mapping_protection() 44 return pgprot_val(PAGE_KERNEL_ROX); in create_mapping_protection() 50 return pgprot_val(PAGE_KERNEL); in create_mapping_protection() 53 return pgprot_val(PAGE_KERNEL_EXEC); in create_mapping_protection()
|
/arch/m68k/kernel/ |
D | dma.c | 29 pgprot_val(prot) &= ~_PAGE_CACHE040; in pgprot_dmacoherent() 30 pgprot_val(prot) |= _PAGE_GLOBAL040 | _PAGE_NOCACHE_S; in pgprot_dmacoherent() 32 pgprot_val(prot) |= _PAGE_NOCACHE030; in pgprot_dmacoherent()
|
/arch/powerpc/include/asm/nohash/ |
D | pgtable.h | 123 pgprot_val(pgprot)); } in pfn_pte() 178 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify() 240 #define pgprot_noncached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ 243 #define pgprot_noncached_wc(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ 246 #define pgprot_cached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ 250 #define pgprot_cached_wthru(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ 257 (__pgprot(pgprot_val(prot) & ~_PAGE_CACHE_CTL))
|
/arch/mips/include/asm/ |
D | pgtable-32.h | 165 (pgprot_val(prot) & ~_PFNX_MASK); in pfn_pte() 167 (pgprot_val(prot) & ~_PFN_MASK); in pfn_pte() 179 pte.pte_high = (pfn << 6) | (pgprot_val(prot) & 0x3f); in pfn_pte() 180 pte.pte_low = pgprot_val(prot); in pfn_pte() 189 #define pfn_pte(pfn, prot) __pte(((pfn) << (PAGE_SHIFT + 2)) | pgprot_val(prot)) 192 #define pfn_pte(pfn, prot) __pte(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot)) 193 #define pfn_pmd(pfn, prot) __pmd(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot))
|
/arch/x86/include/asm/ |
D | fb.h | 14 prot = pgprot_val(vma->vm_page_prot) & ~_PAGE_CACHE_MASK; in fb_pgprotect() 16 pgprot_val(vma->vm_page_prot) = in fb_pgprotect()
|
/arch/x86/mm/ |
D | pageattr.c | 490 return (pgprot_val(prot) & ~val) != pgprot_val(prot); in conflicts() 507 lvltxt[warnlvl], txt, start, end, pfn, (unsigned long long)pgprot_val(prot), in check_conflict() 528 if (!(pgprot_val(prot) & _PAGE_PRESENT)) in static_protections() 559 return __pgprot(pgprot_val(prot) & ~forbidden); in static_protections() 739 if (!(pgprot_val(prot) & _PAGE_PRESENT)) in pgprot_clear_protnone_bits() 740 pgprot_val(prot) &= ~_PAGE_GLOBAL; in pgprot_clear_protnone_bits() 797 pgprot_val(req_prot) &= ~pgprot_val(cpa->mask_clr); in __should_split_large_page() 798 pgprot_val(req_prot) |= pgprot_val(cpa->mask_set); in __should_split_large_page() 807 if (pgprot_val(req_prot) & _PAGE_PRESENT) in __should_split_large_page() 808 pgprot_val(req_prot) |= _PAGE_PSE; in __should_split_large_page() [all …]
|
D | iomap_32.c | 35 pgprot_val(*prot) &= __default_kernel_pte_mask; in iomap_create_wc() 82 pgprot_val(prot) &= __default_kernel_pte_mask; in iomap_atomic_prot_pfn()
|
D | mem_encrypt.c | 224 pgprot_val(new_prot) |= _PAGE_ENC; in __set_clr_pte_enc() 226 pgprot_val(new_prot) &= ~_PAGE_ENC; in __set_clr_pte_enc() 229 if (pgprot_val(old_prot) == pgprot_val(new_prot)) in __set_clr_pte_enc()
|
/arch/um/include/asm/ |
D | pgtable-2level.h | 42 #define pfn_pte(pfn, prot) __pte(pfn_to_phys(pfn) | pgprot_val(prot)) 43 #define pfn_pmd(pfn, prot) __pmd(pfn_to_phys(pfn) | pgprot_val(prot))
|
D | page.h | 48 ({ (p).pte = (phys) | pgprot_val(prot); }) 74 #define pte_set_val(p, phys, prot) (p).pte = (phys | pgprot_val(prot)) 85 #define pgprot_val(x) ((x).pgprot) macro
|
/arch/arm/include/asm/ |
D | pgtable-2level-types.h | 29 #define pgprot_val(x) ((x).pgprot) macro 47 #define pgprot_val(x) (x) macro
|
D | pgtable-3level-types.h | 32 #define pgprot_val(x) ((x).pgprot) macro 49 #define pgprot_val(x) (x) macro
|
D | pgtable.h | 87 #define _MOD_PROT(p, b) __pgprot(pgprot_val(p) | (b)) 114 __pgprot((pgprot_val(prot) & ~(mask)) | (bits)) 212 #define pfn_pte(pfn,prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot)) 271 pte_val(pte) &= ~pgprot_val(prot); in clear_pte_bit() 277 pte_val(pte) |= pgprot_val(prot); in set_pte_bit() 325 pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); in pte_modify()
|
/arch/sh/include/asm/ |
D | pgtable_64.h | 204 #define pgprot_writecombine(prot) __pgprot(pgprot_val(prot) & ~_PAGE_CACHABLE) 281 __MEMORY_START | pgprot_val((pgprot)))); \ 290 ({ pte_t __pte; set_pte(&__pte, __pte(physpage | pgprot_val(pgprot))); __pte; }) 293 { set_pte(&pte, __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot))); return pte; } in pte_modify() 304 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) 305 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
|
/arch/sparc/include/asm/ |
D | pgtable_32.h | 286 return __pte((page_to_pfn(page) << (PAGE_SHIFT-4)) | pgprot_val(pgprot)); in mk_pte() 291 return __pte(((page) >> 4) | pgprot_val(pgprot)); in mk_pte_phys() 296 return __pte(((page) >> 4) | (space << 28) | pgprot_val(pgprot)); in mk_pte_io() 302 pgprot_val(prot) &= ~pgprot_val(__pgprot(SRMMU_CACHE)); in pgprot_noncached() 310 pgprot_val(newprot)); in pte_modify()
|
/arch/powerpc/include/asm/book3s/32/ |
D | pgtable.h | 439 pgprot_val(pgprot)); in pfn_pte() 515 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify() 585 return __pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | in pgprot_noncached() 592 return __pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | in pgprot_noncached_wc() 599 return __pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | in pgprot_cached() 606 return __pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | in pgprot_cached_wthru() 613 return __pgprot(pgprot_val(prot) & ~_PAGE_CACHE_CTL); in pgprot_cached_noncoherent()
|
/arch/csky/include/asm/ |
D | pgtable.h | 53 | pgprot_val(prot)) 72 pgprot_val(pgprot)) 259 unsigned long prot = pgprot_val(_prot); in pgprot_noncached() 269 unsigned long prot = pgprot_val(_prot); in pgprot_writecombine() 284 (pgprot_val(newprot))); in pte_modify()
|
/arch/powerpc/mm/ |
D | ioremap_64.c | 16 if (pgprot_val(prot) & H_PAGE_4K_PFN) in __ioremap_at() 65 if (pgprot_val(prot) & H_PAGE_4K_PFN) in __ioremap_caller()
|
/arch/arc/include/asm/ |
D | page.h | 46 #define pgprot_val(x) ((x).pgprot) macro 66 #define pgprot_val(x) (x) macro
|
/arch/alpha/include/asm/ |
D | page.h | 39 #define pgprot_val(x) ((x).pgprot) macro 58 #define pgprot_val(x) (x) macro
|