Home
last modified time | relevance | path

Searched defs:prot (Results 1 – 25 of 331) sorted by relevance

12345678910>>...14

/Linux-v5.4/lib/
Dioremap.c64 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pte_range()
83 pgprot_t prot) in ioremap_try_huge_pmd()
104 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pmd_range()
126 pgprot_t prot) in ioremap_try_huge_pud()
147 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pud_range()
169 pgprot_t prot) in ioremap_try_huge_p4d()
190 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_p4d_range()
211 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range()
/Linux-v5.4/net/ipv4/
Dprotocol.c32 int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_add_protocol()
45 int inet_add_offload(const struct net_offload *prot, unsigned char protocol) in inet_add_offload()
52 int inet_del_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_del_protocol()
65 int inet_del_offload(const struct net_offload *prot, unsigned char protocol) in inet_del_offload()
/Linux-v5.4/net/ipv6/
Dprotocol.c28 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.4/arch/powerpc/mm/
Dioremap.c13 pgprot_t prot = pgprot_noncached(PAGE_KERNEL); in ioremap() local
24 pgprot_t prot = pgprot_noncached_wc(PAGE_KERNEL); in ioremap_wc() local
35 pgprot_t prot = pgprot_cached(PAGE_KERNEL); in ioremap_coherent() local
63 unsigned long size, pgprot_t prot) in early_ioremap_range()
78 pgprot_t prot, void *caller) in do_ioremap()
Dioremap_32.c11 pgprot_t prot = pgprot_cached_wthru(PAGE_KERNEL); in ioremap_wt() local
18 __ioremap_caller(phys_addr_t addr, unsigned long size, pgprot_t prot, void *caller) in __ioremap_caller()
/Linux-v5.4/arch/sparc/include/asm/
Dmman.h30 #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.4/arch/arm64/include/asm/
Dpgalloc.h47 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot) in __pud_populate()
57 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot) in __pud_populate()
76 static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t pudp, pgdval_t prot) in __pgd_populate()
86 static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t pudp, pgdval_t prot) in __pgd_populate()
96 pmdval_t prot) in __pmd_populate()
/Linux-v5.4/arch/arm/mm/
Didmap.c25 unsigned long prot) in idmap_add_pmd()
56 unsigned long prot) in idmap_add_pmd()
69 unsigned long prot) in idmap_add_pud()
81 const char *text_end, unsigned long prot) in identity_mapping_add()
/Linux-v5.4/arch/powerpc/include/asm/
Dmman.h20 static inline unsigned long arch_calc_vm_prot_bits(unsigned long prot, in arch_calc_vm_prot_bits()
29 #define arch_calc_vm_prot_bits(prot, pkey) arch_calc_vm_prot_bits(prot, pkey) argument
43 static inline bool arch_validate_prot(unsigned long prot, unsigned long addr) in arch_validate_prot()
/Linux-v5.4/arch/arm64/mm/
Dmmu.c141 phys_addr_t phys, pgprot_t prot) in init_pte()
166 pgprot_t prot, in alloc_init_cont_pte()
200 phys_addr_t phys, pgprot_t prot, in init_pmd()
238 pgprot_t prot, in alloc_init_cont_pmd()
286 phys_addr_t phys, pgprot_t prot, in alloc_init_pud()
337 pgprot_t prot, in __create_pgd_mapping()
400 phys_addr_t size, pgprot_t prot) in create_mapping_noalloc()
413 pgprot_t prot, bool page_mappings_only) in create_pgd_mapping()
427 phys_addr_t size, pgprot_t prot) in update_mapping_prot()
443 phys_addr_t end, pgprot_t prot, int flags) in __map_memblock()
[all …]
/Linux-v5.4/arch/arm/include/asm/
Dpgtable.h113 #define __pgprot_modify(prot,mask,bits) \ argument
116 #define pgprot_noncached(prot) \ argument
119 #define pgprot_writecombine(prot) \ argument
122 #define pgprot_stronglyordered(prot) \ argument
125 #define pgprot_device(prot) \ argument
129 #define pgprot_dmacoherent(prot) \ argument
136 #define pgprot_dmacoherent(prot) \ argument
212 #define pfn_pte(pfn,prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot)) argument
215 #define mk_pte(page,prot) pfn_pte(page_to_pfn(page), prot) argument
269 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit()
[all …]
Dpgtable-nommu.h63 #define pgprot_noncached(prot) (prot) argument
64 #define pgprot_writecombine(prot) (prot) argument
65 #define pgprot_device(prot) (prot) argument
/Linux-v5.4/include/xen/
Dxen-ops.h71 pgprot_t prot, unsigned int domid, in xen_remap_pfn()
98 int *err_ptr, pgprot_t prot, in xen_xlate_remap_gfn_array()
135 int *err_ptr, pgprot_t prot, in xen_remap_domain_gfn_array()
172 pgprot_t prot, unsigned int domid, in xen_remap_domain_mfn_array()
197 pgprot_t prot, unsigned int domid, in xen_remap_domain_gfn_range()
/Linux-v5.4/arch/powerpc/include/asm/nohash/
Dpgtable.h240 #define pgprot_noncached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
243 #define pgprot_noncached_wc(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
246 #define pgprot_cached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
250 #define pgprot_cached_wthru(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
253 #define pgprot_cached_wthru(prot) pgprot_noncached(prot) argument
256 #define pgprot_cached_noncoherent(prot) \ argument
/Linux-v5.4/arch/x86/mm/
Diomap_32.c21 int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot) in iomap_create_wc()
47 void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot) in kmap_atomic_prot_pfn()
68 iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot) in iomap_atomic_prot_pfn()
Ddump_pagetables.c177 static void printk_prot(struct seq_file *m, pgprot_t prot, int level, bool dmsg) in printk_prot()
271 pgprotval_t prot, cur, eff; in note_page() local
362 pgprotval_t prot, eff; in walk_pte_level() local
389 pgprotval_t prot = pte_flags(kasan_early_shadow_pte[0]); in kasan_page_table() local
410 pgprotval_t prot, eff; in walk_pmd_level() local
443 pgprotval_t prot, eff; in walk_pud_level() local
476 pgprotval_t prot, eff; in walk_p4d_level() local
522 pgprotval_t prot, eff; in ptdump_walk_pgd_level_core() local
/Linux-v5.4/include/linux/
Dmman.h81 #define arch_calc_vm_prot_bits(prot, pkey) 0 argument
95 static inline bool arch_validate_prot(unsigned long prot, unsigned long addr) in arch_validate_prot()
117 calc_vm_prot_bits(unsigned long prot, unsigned long pkey) in calc_vm_prot_bits()
/Linux-v5.4/mm/
Dearly_ioremap.c36 pgprot_t prot) in early_memremap_pgprot_adjust()
58 phys_addr_t phys, pgprot_t prot) in __late_set_fixmap()
106 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) in __early_ioremap()
226 pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size, in early_memremap() local
235 pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size, in early_memremap_ro() local
/Linux-v5.4/arch/s390/mm/
Ddump_pagetables.c73 unsigned int prot, cur; in note_page() local
117 unsigned int prot; in note_kasan_early_shadow_page() local
136 unsigned int prot; in walk_pte_level() local
153 unsigned int prot; in walk_pmd_level() local
184 unsigned int prot; in walk_pud_level() local
/Linux-v5.4/arch/sh/include/asm/
Dpgtable.h147 static inline bool __pte_access_permitted(pte_t pte, u64 prot) in __pte_access_permitted()
155 u64 prot = _PAGE_PRESENT; in pte_access_permitted() local
165 u64 prot = _PAGE_PRESENT | _PAGE_USER | _PAGE_READ; in pte_access_permitted() local
174 u64 prot = _PAGE_PRESENT | _PAGE_USER; in pte_access_permitted() local
Dmmu.h72 unsigned long size, pgprot_t prot) in pmb_bolt_mapping()
79 pgprot_t prot, void *caller) in pmb_remap_caller()
100 pmb_remap(phys_addr_t phys, unsigned long size, pgprot_t prot) in pmb_remap()
/Linux-v5.4/arch/riscv/kernel/
Dsys_riscv.c13 unsigned long prot, unsigned long flags, in riscv_sys_mmap()
25 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument
32 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument
/Linux-v5.4/drivers/gpu/drm/ttm/
Dttm_bo_util.c287 void *ttm_kmap_atomic_prot(struct page *page, pgprot_t prot) in ttm_kmap_atomic_prot()
303 void ttm_kunmap_atomic_prot(void *addr, pgprot_t prot) in ttm_kunmap_atomic_prot()
314 pgprot_t prot) in ttm_copy_io_ttm_page()
336 pgprot_t prot) in ttm_copy_ttm_io_page()
421 pgprot_t prot = ttm_io_prot(old_mem->placement, in ttm_bo_move_memcpy() local
426 pgprot_t prot = ttm_io_prot(new_mem->placement, in ttm_bo_move_memcpy() local
588 pgprot_t prot; in ttm_bo_kmap_ttm() local
/Linux-v5.4/arch/sh/kernel/
Dsys_sh.c33 unsigned long prot, unsigned long flags, in old_mmap()
42 unsigned long prot, unsigned long flags, in sys_mmap2()
/Linux-v5.4/arch/sh/mm/
Dinit.c72 static void set_pte_phys(unsigned long addr, unsigned long phys, pgprot_t prot) in set_pte_phys()
89 static void clear_pte_phys(unsigned long addr, pgprot_t prot) in clear_pte_phys()
102 void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot) in __set_fixmap()
114 void __clear_fixmap(enum fixed_addresses idx, pgprot_t prot) in __clear_fixmap()

12345678910>>...14