Searched refs:prot (Results 1 - 25 of 549) sorted by relevance

1234567891011>>

/linux-master/arch/m68k/include/asm/
H A Dfb.h8 static inline pgprot_t pgprot_framebuffer(pgprot_t prot, argument
14 pgprot_val(prot) |= SUN3_PAGE_NOCACHE;
17 pgprot_val(prot) |= _PAGE_NOCACHE030;
19 pgprot_val(prot) &= _CACHEMASK040;
21 pgprot_val(prot) |= _PAGE_NOCACHE_S;
26 return prot;
/linux-master/arch/powerpc/include/asm/
H A Dmman.h17 static inline unsigned long arch_calc_vm_prot_bits(unsigned long prot, argument
21 return (((prot & PROT_SAO) ? VM_SAO : 0) | pkey_to_vmflag_bits(pkey));
23 return ((prot & PROT_SAO) ? VM_SAO : 0);
26 #define arch_calc_vm_prot_bits(prot, pkey) arch_calc_vm_prot_bits(prot, pkey)
28 static inline bool arch_validate_prot(unsigned long prot, unsigned long addr) argument
30 if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC | PROT_SEM | PROT_SAO))
32 if (prot & PROT_SAO) {
H A Dfb.h7 static inline pgprot_t pgprot_framebuffer(pgprot_t prot, argument
11 return __phys_mem_access_prot(PHYS_PFN(offset), vm_end - vm_start, prot);
H A Dvmalloc.h10 static __always_inline bool arch_vmap_pud_supported(pgprot_t prot) argument
17 static __always_inline bool arch_vmap_pmd_supported(pgprot_t prot) argument
/linux-master/arch/arm64/include/asm/
H A Dvmalloc.h10 static inline bool arch_vmap_pud_supported(pgprot_t prot) argument
20 static inline bool arch_vmap_pmd_supported(pgprot_t prot) argument
29 static inline pgprot_t arch_vmap_pgprot_tagged(pgprot_t prot) argument
31 return pgprot_tagged(prot);
H A Dmman.h9 static inline unsigned long arch_calc_vm_prot_bits(unsigned long prot, argument
14 if (system_supports_bti() && (prot & PROT_BTI))
17 if (system_supports_mte() && (prot & PROT_MTE))
22 #define arch_calc_vm_prot_bits(prot, pkey) arch_calc_vm_prot_bits(prot, pkey)
38 static inline bool arch_validate_prot(unsigned long prot, argument
49 return (prot & ~supported) == 0;
51 #define arch_validate_prot(prot, addr) arch_validate_prot(prot, addr)
/linux-master/arch/sh/include/asm/
H A Dsyscalls.h6 unsigned long prot, unsigned long flags,
9 unsigned long prot, unsigned long flags,
/linux-master/arch/riscv/include/asm/
H A Dvmalloc.h11 static inline bool arch_vmap_pud_supported(pgprot_t prot) argument
17 static inline bool arch_vmap_pmd_supported(pgprot_t prot) argument
/linux-master/arch/m68k/kernel/
H A Ddma.c17 pgprot_t pgprot_dmacoherent(pgprot_t prot) argument
20 pgprot_val(prot) &= ~_PAGE_CACHE040;
21 pgprot_val(prot) |= _PAGE_GLOBAL040 | _PAGE_NOCACHE_S;
23 pgprot_val(prot) |= _PAGE_NOCACHE030;
25 return prot;
/linux-master/net/ipv6/
H A Dprotocol.c28 int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char protocol) argument
31 NULL, prot) ? 0 : -1;
35 int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char protocol) argument
40 prot, NULL) == prot) ? 0 : -1;
52 int inet6_add_offload(const struct net_offload *prot, unsigned char protocol) argument
55 NULL, prot) ? 0 : -1;
59 int inet6_del_offload(const struct net_offload *prot, unsigned char protocol) argument
64 prot, NULL) == prot)
[all...]
/linux-master/net/ipv4/
H A Dprotocol.c32 int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol) argument
35 NULL, prot) ? 0 : -1;
39 int inet_add_offload(const struct net_offload *prot, unsigned char protocol) argument
42 NULL, prot) ? 0 : -1;
46 int inet_del_protocol(const struct net_protocol *prot, unsigned char protocol) argument
51 prot, NULL) == prot) ? 0 : -1;
59 int inet_del_offload(const struct net_offload *prot, unsigned char protocol) argument
64 prot, NULL) == prot)
[all...]
/linux-master/arch/arm/include/asm/
H A Dpgtable-nommu.h46 * Mark the prot value as uncacheable and unbufferable.
48 #define pgprot_noncached(prot) (prot)
49 #define pgprot_writecombine(prot) (prot)
50 #define pgprot_device(prot) (prot)
/linux-master/arch/x86/video/
H A Dfbdev.c16 pgprot_t pgprot_framebuffer(pgprot_t prot, argument
20 pgprot_val(prot) &= ~_PAGE_CACHE_MASK;
22 pgprot_val(prot) |= cachemode2protval(_PAGE_CACHE_MODE_UC_MINUS);
24 return prot;
/linux-master/arch/powerpc/mm/
H A Dioremap.c14 pgprot_t prot = pgprot_noncached(PAGE_KERNEL); local
18 return iowa_ioremap(addr, size, prot, caller);
19 return __ioremap_caller(addr, size, prot, caller);
25 pgprot_t prot = pgprot_noncached_wc(PAGE_KERNEL); local
29 return iowa_ioremap(addr, size, prot, caller);
30 return __ioremap_caller(addr, size, prot, caller);
36 pgprot_t prot = pgprot_cached(PAGE_KERNEL); local
40 return iowa_ioremap(addr, size, prot, caller);
41 return __ioremap_caller(addr, size, prot, caller);
60 unsigned long size, pgprot_t prot)
59 early_ioremap_range(unsigned long ea, phys_addr_t pa, unsigned long size, pgprot_t prot) argument
[all...]
H A Dioremap_64.c8 pgprot_t prot, void *caller)
15 if (pgprot_val(prot) & H_PAGE_4K_PFN)
32 return generic_ioremap_prot(addr, size, prot);
36 err = early_ioremap_range(ioremap_bot, paligned, size, prot);
7 __ioremap_caller(phys_addr_t addr, unsigned long size, pgprot_t prot, void *caller) argument
/linux-master/include/asm-generic/
H A Dsyscalls.h15 unsigned long prot, unsigned long flags,
21 unsigned long prot, unsigned long flags,
/linux-master/arch/x86/mm/
H A Diomap_32.c21 int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot) argument
33 *prot = __pgprot(__PAGE_KERNEL | cachemode2protval(pcm));
35 pgprot_val(*prot) &= __default_kernel_pte_mask;
47 void __iomem *__iomap_local_pfn_prot(unsigned long pfn, pgprot_t prot) argument
51 * case the caller set the PWT bit to prot directly without using
56 if (!pat_enabled() && pgprot2cachemode(prot) != _PAGE_CACHE_MODE_WB)
57 prot = __pgprot(__PAGE_KERNEL |
61 pgprot_val(prot) &= __default_kernel_pte_mask;
63 return (void __force __iomem *)__kmap_local_pfn_prot(pfn, prot);
/linux-master/arch/x86/include/asm/
H A Dvmalloc.h12 static inline bool arch_vmap_pud_supported(pgprot_t prot) argument
19 static inline bool arch_vmap_pmd_supported(pgprot_t prot) argument
H A Diomap.h16 void __iomem *__iomap_local_pfn_prot(unsigned long pfn, pgprot_t prot);
18 int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot);
/linux-master/arch/sparc/include/asm/
H A Dmman.h30 #define arch_calc_vm_prot_bits(prot, pkey) sparc_calc_vm_prot_bits(prot)
31 static inline unsigned long sparc_calc_vm_prot_bits(unsigned long prot) argument
33 if (adi_capable() && (prot & PROT_ADI)) {
49 #define arch_validate_prot(prot, addr) sparc_validate_prot(prot, addr)
50 static inline int sparc_validate_prot(unsigned long prot, unsigned long addr) argument
52 if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC | PROT_SEM | PROT_ADI))
/linux-master/include/net/
H A Dprotocol.h86 struct proto *prot; member in struct:inet_protosw
103 int inet_add_protocol(const struct net_protocol *prot, unsigned char num);
104 int inet_del_protocol(const struct net_protocol *prot, unsigned char num);
105 int inet_add_offload(const struct net_offload *prot, unsigned char num);
106 int inet_del_offload(const struct net_offload *prot, unsigned char num);
111 int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char num);
112 int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char num);
116 int inet6_add_offload(const struct net_offload *prot, unsigned char num);
117 int inet6_del_offload(const struct net_offload *prot, unsigned char num);
/linux-master/arch/um/include/asm/
H A Dpgtable-2level.h40 #define pfn_pte(pfn, prot) __pte(pfn_to_phys(pfn) | pgprot_val(prot))
41 #define pfn_pmd(pfn, prot) __pmd(pfn_to_phys(pfn) | pgprot_val(prot))
/linux-master/drivers/gpu/drm/i915/selftests/
H A Digt_mmap.h18 unsigned long prot,
/linux-master/tools/testing/selftests/net/
H A Dcmsg_ipv6.sh51 [ $p == "u" ] && prot=UDP
52 [ $p == "i" ] && prot=ICMP
53 [ $p == "r" ] && prot=RAW
61 check_result $? $df "DONTFRAG $prot $ovr"
75 [ $p == "u" ] && prot=UDP
76 [ $p == "i" ] && prot=ICMP
77 [ $p == "r" ] && prot=RAW
89 check_result $? 0 "TCLASS $prot $ovr - pass"
96 check_result $? 0 "TCLASS $prot $ovr - packet data"
103 check_result $? 1 "TCLASS $prot
[all...]
/linux-master/arch/mips/include/asm/
H A Dfb.h6 static inline pgprot_t pgprot_framebuffer(pgprot_t prot, argument
10 return pgprot_noncached(prot);

Completed in 441 milliseconds

1234567891011>>