/Linux-v5.15/arch/arm64/include/asm/ |
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
|
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()
|
D | vmalloc.h | 9 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()
|
D | pgtable.h | 79 #define pfn_pte(pfn,prot) \ argument 145 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit() 151 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit() 157 static inline pmd_t clear_pmd_bit(pmd_t pmd, pgprot_t prot) in clear_pmd_bit() 163 static inline pmd_t set_pmd_bit(pmd_t pmd, pgprot_t prot) in set_pmd_bit() 389 static inline pgprot_t mk_pud_sect_prot(pgprot_t prot) in mk_pud_sect_prot() 394 static inline pgprot_t mk_pmd_sect_prot(pgprot_t prot) in mk_pmd_sect_prot() 468 #define pfn_pmd(pfn,prot) __pmd(__phys_to_pmd_val((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(pr… argument 469 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot) argument 480 #define pfn_pud(pfn,prot) __pud(__phys_to_pud_val((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(pr… argument [all …]
|
/Linux-v5.15/net/ipv6/ |
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-v5.15/net/ipv4/ |
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-v5.15/arch/powerpc/mm/ |
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-v5.15/arch/sparc/include/asm/ |
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-v5.15/arch/arm/include/asm/ |
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 …]
|
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-v5.15/tools/testing/selftests/vm/ |
D | ksm_tests.c | 78 int prot = 0; in str_to_prot() local 121 static void *allocate_memory(void *ptr, int prot, int mapping, char data, size_t map_size) in allocate_memory() 242 static int check_ksm_merge(int mapping, int prot, long page_count, int timeout, size_t page_size) in check_ksm_merge() 273 static int check_ksm_unmerge(int mapping, int prot, int timeout, size_t page_size) in check_ksm_unmerge() 313 static int check_ksm_zero_page_merge(int mapping, int prot, long page_count, int timeout, in check_ksm_zero_page_merge() 357 static int check_ksm_numa_merge(int mapping, int prot, int timeout, bool merge_across_nodes, in check_ksm_numa_merge() 419 static int ksm_merge_time(int mapping, int prot, int timeout, size_t map_size) in ksm_merge_time() 460 static int ksm_cow_time(int mapping, int prot, int timeout, size_t page_size) in ksm_cow_time() 534 int prot = 0; in main() local
|
/Linux-v5.15/include/xen/ |
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-v5.15/arch/arm/mm/ |
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-v5.15/arch/powerpc/include/asm/ |
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()
|
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-v5.15/arch/powerpc/include/asm/nohash/ |
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-v5.15/arch/arm64/kvm/hyp/nvhe/ |
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()
|
D | mem_protect.c | 234 enum kvm_pgtable_prot prot) in __host_stage2_idmap() 298 enum kvm_pgtable_prot prot) in host_stage2_idmap_locked() 313 static bool host_stage2_force_pte_cb(u64 addr, u64 end, enum kvm_pgtable_prot prot) in host_stage2_force_pte_cb() 339 enum kvm_pgtable_prot prot; in host_stage2_idmap() local 356 static inline bool check_prot(enum kvm_pgtable_prot prot, in check_prot() 366 enum kvm_pgtable_prot prot, cur; in __pkvm_host_share_hyp() local
|
/Linux-v5.15/mm/ |
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-v5.15/arch/x86/include/asm/ |
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-v5.15/include/linux/ |
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()
|
D | highmem-internal.h | 76 static inline void *kmap_local_page_prot(struct page *page, pgprot_t prot) in kmap_local_page_prot() 91 static inline void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot() 174 static inline void *kmap_local_page_prot(struct page *page, pgprot_t prot) in kmap_local_page_prot() 201 static inline void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot()
|
/Linux-v5.15/arch/arm64/mm/ |
D | mmu.c | 156 phys_addr_t phys, pgprot_t prot) in init_pte() 181 pgprot_t prot, in alloc_init_cont_pte() 219 phys_addr_t phys, pgprot_t prot, in init_pmd() 257 pgprot_t prot, in alloc_init_cont_pmd() 309 phys_addr_t phys, pgprot_t prot, in alloc_init_pud() 365 pgprot_t prot, in __create_pgd_mapping() 427 phys_addr_t size, pgprot_t prot) in create_mapping_noalloc() 440 pgprot_t prot, bool page_mappings_only) in create_pgd_mapping() 454 phys_addr_t size, pgprot_t prot) in update_mapping_prot() 470 phys_addr_t end, pgprot_t prot, int flags) in __map_memblock() [all …]
|
/Linux-v5.15/arch/mips/include/asm/ |
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-v5.15/arch/riscv/kernel/ |
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
|