/linux/arch/arm64/include/asm/ |
A D | mman.h | 9 static inline unsigned long arch_calc_vm_prot_bits(unsigned long prot, in arch_calc_vm_prot_bits() 22 #define arch_calc_vm_prot_bits(prot, pkey) arch_calc_vm_prot_bits(prot, pkey) argument 40 pteval_t prot = 0; in arch_vm_get_page_prot() local 62 static inline bool arch_validate_prot(unsigned long prot, in arch_validate_prot() 75 #define arch_validate_prot(prot, addr) arch_validate_prot(prot, addr) argument
|
A D | pgalloc.h | 23 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot) in __pud_populate() 36 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot) in __pud_populate() 44 static inline void __p4d_populate(p4d_t *p4dp, phys_addr_t pudp, p4dval_t prot) in __p4d_populate() 57 static inline void __p4d_populate(p4d_t *p4dp, phys_addr_t pudp, p4dval_t prot) in __p4d_populate() 67 pmdval_t prot) in __pmd_populate()
|
A D | vmalloc.h | 10 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported() 20 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported()
|
A D | pgtable.h | 85 #define pfn_pte(pfn,prot) \ argument 157 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit() 395 static inline pgprot_t mk_pud_sect_prot(pgprot_t prot) in mk_pud_sect_prot() 400 static inline pgprot_t mk_pmd_sect_prot(pgprot_t prot) in mk_pmd_sect_prot() 497 #define __pgprot_modify(prot,mask,bits) \ argument 500 #define pgprot_nx(prot) \ argument 506 #define pgprot_noncached(prot) \ argument 508 #define pgprot_writecombine(prot) \ argument 510 #define pgprot_device(prot) \ argument 512 #define pgprot_tagged(prot) \ argument [all …]
|
/linux/net/ipv4/ |
A D | protocol.c | 32 int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_add_protocol() 39 int inet_add_offload(const struct net_offload *prot, unsigned char protocol) in inet_add_offload() 46 int inet_del_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_del_protocol() 59 int inet_del_offload(const struct net_offload *prot, unsigned char protocol) in inet_del_offload()
|
/linux/net/ipv6/ |
A D | protocol.c | 28 int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char protocol) in inet6_add_protocol() 35 int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char protocol) in inet6_del_protocol() 52 int inet6_add_offload(const struct net_offload *prot, unsigned char protocol) in inet6_add_offload() 59 int inet6_del_offload(const struct net_offload *prot, unsigned char protocol) in inet6_del_offload()
|
/linux/arch/powerpc/mm/ |
A D | ioremap.c | 14 pgprot_t prot = pgprot_noncached(PAGE_KERNEL); in ioremap() local 25 pgprot_t prot = pgprot_noncached_wc(PAGE_KERNEL); in ioremap_wc() local 36 pgprot_t prot = pgprot_cached(PAGE_KERNEL); in ioremap_coherent() local 64 unsigned long size, pgprot_t prot) in early_ioremap_range() 79 pgprot_t prot, void *caller) in do_ioremap()
|
/linux/arch/sparc/include/asm/ |
A D | mman.h | 30 #define arch_calc_vm_prot_bits(prot, pkey) sparc_calc_vm_prot_bits(prot) argument 31 static inline unsigned long sparc_calc_vm_prot_bits(unsigned long prot) in sparc_calc_vm_prot_bits() 55 #define arch_validate_prot(prot, addr) sparc_validate_prot(prot, addr) argument 56 static inline int sparc_validate_prot(unsigned long prot, unsigned long addr) in sparc_validate_prot()
|
/linux/arch/arm/include/asm/ |
A D | pgtable.h | 103 #define __pgprot_modify(prot,mask,bits) \ argument 106 #define pgprot_noncached(prot) \ argument 109 #define pgprot_writecombine(prot) \ argument 112 #define pgprot_stronglyordered(prot) \ argument 115 #define pgprot_device(prot) \ argument 119 #define pgprot_dmacoherent(prot) \ argument 126 #define pgprot_dmacoherent(prot) \ argument 182 #define pfn_pte(pfn,prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot)) argument 185 #define mk_pte(page,prot) pfn_pte(page_to_pfn(page), prot) argument 228 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit() [all …]
|
A D | pgtable-nommu.h | 56 #define pgprot_noncached(prot) (prot) argument 57 #define pgprot_writecombine(prot) (prot) argument 58 #define pgprot_device(prot) (prot) argument
|
/linux/include/xen/ |
A D | xen-ops.h | 59 pgprot_t prot, unsigned int domid, in xen_remap_pfn() 86 int *err_ptr, pgprot_t prot, in xen_xlate_remap_gfn_array() 123 int *err_ptr, pgprot_t prot, in xen_remap_domain_gfn_array() 159 pgprot_t prot, unsigned int domid) in xen_remap_domain_mfn_array() 183 pgprot_t prot, unsigned int domid, in xen_remap_domain_gfn_range()
|
/linux/arch/arm/mm/ |
A D | idmap.c | 25 unsigned long prot) in idmap_add_pmd() 56 unsigned long prot) in idmap_add_pmd() 69 unsigned long prot) in idmap_add_pud() 82 const char *text_end, unsigned long prot) in identity_mapping_add()
|
/linux/arch/powerpc/include/asm/ |
A D | mman.h | 16 static inline unsigned long arch_calc_vm_prot_bits(unsigned long prot, in arch_calc_vm_prot_bits() 25 #define arch_calc_vm_prot_bits(prot, pkey) arch_calc_vm_prot_bits(prot, pkey) argument 39 static inline bool arch_validate_prot(unsigned long prot, unsigned long addr) in arch_validate_prot()
|
A D | vmalloc.h | 10 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported() 17 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported()
|
/linux/tools/testing/selftests/vm/ |
A D | ksm_tests.c | 92 int prot = 0; in str_to_prot() local 138 static void *allocate_memory(void *ptr, int prot, int mapping, char data, size_t map_size) in allocate_memory() 259 static int check_ksm_merge(int mapping, int prot, long page_count, int timeout, size_t page_size) in check_ksm_merge() 290 static int check_ksm_unmerge(int mapping, int prot, int timeout, size_t page_size) in check_ksm_unmerge() 330 static int check_ksm_zero_page_merge(int mapping, int prot, long page_count, int timeout, in check_ksm_zero_page_merge() 395 static int check_ksm_numa_merge(int mapping, int prot, int timeout, bool merge_across_nodes, in check_ksm_numa_merge() 487 static int ksm_merge_hugepages_time(int mapping, int prot, int timeout, size_t map_size) in ksm_merge_hugepages_time() 554 static int ksm_merge_time(int mapping, int prot, int timeout, size_t map_size) in ksm_merge_time() 595 static int ksm_cow_time(int mapping, int prot, int timeout, size_t page_size) in ksm_cow_time() 669 int prot = 0; in main() local
|
/linux/arch/powerpc/include/asm/nohash/ |
A D | pgtable.h | 233 #define pgprot_noncached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument 236 #define pgprot_noncached_wc(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument 239 #define pgprot_cached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument 243 #define pgprot_cached_wthru(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument 246 #define pgprot_cached_wthru(prot) pgprot_noncached(prot) argument 249 #define pgprot_cached_noncoherent(prot) \ argument
|
/linux/arch/arm64/kvm/hyp/nvhe/ |
A D | mm.c | 27 unsigned long phys, enum kvm_pgtable_prot prot) in __pkvm_create_mappings() 39 enum kvm_pgtable_prot prot) in __pkvm_create_private_mapping() 70 int pkvm_create_mappings_locked(void *from, void *to, enum kvm_pgtable_prot prot) in pkvm_create_mappings_locked() 95 int pkvm_create_mappings(void *from, void *to, enum kvm_pgtable_prot prot) in pkvm_create_mappings()
|
A D | mem_protect.c | 231 enum kvm_pgtable_prot prot) in __host_stage2_idmap() 295 enum kvm_pgtable_prot prot) in host_stage2_idmap_locked() 310 static bool host_stage2_force_pte_cb(u64 addr, u64 end, enum kvm_pgtable_prot prot) in host_stage2_force_pte_cb() 336 enum kvm_pgtable_prot prot; in host_stage2_idmap() local 353 static inline bool check_prot(enum kvm_pgtable_prot prot, in check_prot() 363 enum kvm_pgtable_prot prot, cur; in __pkvm_host_share_hyp() local
|
/linux/mm/ |
A D | early_ioremap.c | 36 pgprot_t prot) in early_memremap_pgprot_adjust() 53 phys_addr_t phys, pgprot_t prot) in __late_set_fixmap() 101 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) in __early_ioremap() 221 pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size, in early_memremap() local 230 pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size, in early_memremap_ro() local
|
/linux/arch/x86/include/asm/ |
A D | vmalloc.h | 12 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported() 19 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported()
|
/linux/include/linux/ |
A D | mman.h | 89 #define arch_calc_vm_prot_bits(prot, pkey) 0 argument 107 static inline bool arch_validate_prot(unsigned long prot, unsigned long addr) in arch_validate_prot() 142 calc_vm_prot_bits(unsigned long prot, unsigned long pkey) in calc_vm_prot_bits()
|
/linux/arch/arm64/mm/ |
A D | mmu.c | 157 phys_addr_t phys, pgprot_t prot) in init_pte() 182 pgprot_t prot, in alloc_init_cont_pte() 220 phys_addr_t phys, pgprot_t prot, in init_pmd() 258 pgprot_t prot, in alloc_init_cont_pmd() 310 phys_addr_t phys, pgprot_t prot, in alloc_init_pud() 366 pgprot_t prot, in __create_pgd_mapping() 428 phys_addr_t size, pgprot_t prot) in create_mapping_noalloc() 441 pgprot_t prot, bool page_mappings_only) in create_pgd_mapping() 455 phys_addr_t size, pgprot_t prot) in update_mapping_prot() 471 phys_addr_t end, pgprot_t prot, int flags) in __map_memblock() [all …]
|
/linux/arch/mips/include/asm/ |
A D | pgtable-32.h | 159 pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte() 175 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte() 190 #define pfn_pte(pfn, prot) __pte(((pfn) << (PAGE_SHIFT + 2)) | pgprot_val(prot)) argument 193 #define pfn_pte(pfn, prot) __pte(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot)) argument 194 #define pfn_pmd(pfn, prot) __pmd(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot)) argument
|
/linux/arch/riscv/kernel/ |
A D | sys_riscv.c | 14 unsigned long prot, unsigned long flags, in riscv_sys_mmap() 31 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument 38 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument
|
/linux/arch/x86/mm/ |
A D | iomap_32.c | 21 int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot) in iomap_create_wc() 47 void __iomem *__iomap_local_pfn_prot(unsigned long pfn, pgprot_t prot) in __iomap_local_pfn_prot()
|