Home
last modified time | relevance | path

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

12345678910>>...16

/linux-6.1.9/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-6.1.9/net/ipv4/
Dprotocol.c32 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-6.1.9/arch/powerpc/mm/
Dioremap.c14 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-6.1.9/arch/arm/include/asm/
Dpgtable.h112 #define __pgprot_modify(prot,mask,bits) \ argument
115 #define pgprot_noncached(prot) \ argument
118 #define pgprot_writecombine(prot) \ argument
121 #define pgprot_stronglyordered(prot) \ argument
124 #define pgprot_device(prot) \ argument
128 #define pgprot_dmacoherent(prot) \ argument
135 #define pgprot_dmacoherent(prot) \ argument
167 #define pfn_pte(pfn,prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot)) argument
170 #define mk_pte(page,prot) pfn_pte(page_to_pfn(page), prot) argument
213 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit()
[all …]
Dpgtable-nommu.h50 #define pgprot_noncached(prot) (prot) argument
51 #define pgprot_writecombine(prot) (prot) argument
52 #define pgprot_device(prot) (prot) argument
/linux-6.1.9/arch/arm64/include/asm/
Dpgalloc.h23 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()
Dmman.h9 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
38 static inline bool arch_validate_prot(unsigned long prot, in arch_validate_prot()
51 #define arch_validate_prot(prot, addr) arch_validate_prot(prot, addr) argument
Dvmalloc.h10 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()
29 static inline pgprot_t arch_vmap_pgprot_tagged(pgprot_t prot) in arch_vmap_pgprot_tagged()
Dpgtable.h92 #define pfn_pte(pfn,prot) \ argument
159 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit()
165 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit()
171 static inline pmd_t clear_pmd_bit(pmd_t pmd, pgprot_t prot) in clear_pmd_bit()
177 static inline pmd_t set_pmd_bit(pmd_t pmd, pgprot_t prot) in set_pmd_bit()
410 static inline pgprot_t mk_pud_sect_prot(pgprot_t prot) in mk_pud_sect_prot()
415 static inline pgprot_t mk_pmd_sect_prot(pgprot_t prot) in mk_pmd_sect_prot()
517 #define pfn_pmd(pfn,prot) __pmd(__phys_to_pmd_val((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(pr… argument
518 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot) argument
529 #define pfn_pud(pfn,prot) __pud(__phys_to_pud_val((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(pr… argument
[all …]
/linux-6.1.9/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()
49 #define arch_validate_prot(prot, addr) sparc_validate_prot(prot, addr) argument
50 static inline int sparc_validate_prot(unsigned long prot, unsigned long addr) in sparc_validate_prot()
/linux-6.1.9/arch/powerpc/include/asm/
Dmman.h17 static inline unsigned long arch_calc_vm_prot_bits(unsigned long prot, in arch_calc_vm_prot_bits()
26 #define arch_calc_vm_prot_bits(prot, pkey) arch_calc_vm_prot_bits(prot, pkey) argument
28 static inline bool arch_validate_prot(unsigned long prot, unsigned long addr) in arch_validate_prot()
Dvmalloc.h10 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-6.1.9/tools/testing/selftests/vm/
Dksm_tests.c86 int prot = 0; in str_to_prot() local
132 static void *allocate_memory(void *ptr, int prot, int mapping, char data, size_t map_size) in allocate_memory()
255 static int check_ksm_merge(int mapping, int prot, long page_count, int timeout, size_t page_size) in check_ksm_merge()
286 static int check_ksm_unmerge(int mapping, int prot, int timeout, size_t page_size) in check_ksm_unmerge()
326 static int check_ksm_zero_page_merge(int mapping, int prot, long page_count, int timeout, in check_ksm_zero_page_merge()
391 static int check_ksm_numa_merge(int mapping, int prot, int timeout, bool merge_across_nodes, in check_ksm_numa_merge()
455 static int ksm_merge_hugepages_time(int mapping, int prot, int timeout, size_t map_size) in ksm_merge_hugepages_time()
522 static int ksm_merge_time(int mapping, int prot, int timeout, size_t map_size) in ksm_merge_time()
563 static int ksm_cow_time(int mapping, int prot, int timeout, size_t page_size) in ksm_cow_time()
637 int prot = 0; in main() local
/linux-6.1.9/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()
82 const char *text_end, unsigned long prot) in identity_mapping_add()
/linux-6.1.9/include/xen/
Dxen-ops.h53 pgprot_t prot, unsigned int domid, in xen_remap_pfn()
80 int *err_ptr, pgprot_t prot, in xen_xlate_remap_gfn_array()
117 int *err_ptr, pgprot_t prot, in xen_remap_domain_gfn_array()
153 pgprot_t prot, unsigned int domid) in xen_remap_domain_mfn_array()
177 pgprot_t prot, unsigned int domid, in xen_remap_domain_gfn_range()
/linux-6.1.9/arch/powerpc/include/asm/nohash/
Dpgtable.h213 #define pgprot_noncached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
216 #define pgprot_noncached_wc(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
219 #define pgprot_cached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
223 #define pgprot_cached_wthru(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
226 #define pgprot_cached_wthru(prot) pgprot_noncached(prot) argument
229 #define pgprot_cached_noncoherent(prot) \ argument
/linux-6.1.9/mm/
Dearly_ioremap.c37 pgprot_t prot) in early_memremap_pgprot_adjust()
54 phys_addr_t phys, pgprot_t prot) in __late_set_fixmap()
102 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) in __early_ioremap()
222 pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size, in early_memremap() local
231 pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size, in early_memremap_ro() local
/linux-6.1.9/arch/arm64/kvm/hyp/nvhe/
Dmm.c29 unsigned long phys, enum kvm_pgtable_prot prot) in __pkvm_create_mappings()
77 enum kvm_pgtable_prot prot, in __pkvm_create_private_mapping()
96 int pkvm_create_mappings_locked(void *from, void *to, enum kvm_pgtable_prot prot) in pkvm_create_mappings_locked()
121 int pkvm_create_mappings(void *from, void *to, enum kvm_pgtable_prot prot) in pkvm_create_mappings()
/linux-6.1.9/arch/arm64/mm/
Dmmu.c171 phys_addr_t phys, pgprot_t prot) in init_pte()
196 pgprot_t prot, in alloc_init_cont_pte()
234 phys_addr_t phys, pgprot_t prot, in init_pmd()
272 pgprot_t prot, in alloc_init_cont_pmd()
312 phys_addr_t phys, pgprot_t prot, in alloc_init_pud()
369 pgprot_t prot, in __create_pgd_mapping_locked()
397 pgprot_t prot, in __create_pgd_mapping()
450 phys_addr_t size, pgprot_t prot) in create_mapping_noalloc()
463 pgprot_t prot, bool page_mappings_only) in create_pgd_mapping()
477 phys_addr_t size, pgprot_t prot) in update_mapping_prot()
[all …]
/linux-6.1.9/include/linux/
Dmman.h89 #define arch_calc_vm_prot_bits(prot, pkey) 0 argument
103 static inline bool arch_validate_prot(unsigned long prot, unsigned long addr) in arch_validate_prot()
138 calc_vm_prot_bits(unsigned long prot, unsigned long pkey) in calc_vm_prot_bits()
/linux-6.1.9/arch/x86/include/asm/
Dvmalloc.h12 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-6.1.9/net/tls/
Dtls_sw.c150 static int tls_padding_length(struct tls_prot_info *prot, struct sk_buff *skb, in tls_padding_length()
230 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_do_decryption() local
266 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_trim_both_msgs() local
289 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_clone_plaintext_msg() local
313 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_get_rec() local
425 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_encrypt_done() local
487 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_do_encryption() local
671 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_push_record() local
921 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_sw_sendmsg() local
1147 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_sw_do_sendpage() local
[all …]
/linux-6.1.9/arch/powerpc/kernel/
Dsyscalls.c40 unsigned long prot, unsigned long flags, in do_mmap2()
53 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument
62 unsigned long, prot, unsigned long, flags, in COMPAT_SYSCALL_DEFINE6() argument
70 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument
/linux-6.1.9/arch/riscv/kernel/
Dsys_riscv.c14 unsigned long prot, unsigned long flags, in riscv_sys_mmap()
27 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument
36 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument
/linux-6.1.9/arch/sh/include/asm/
Dpgtable.h120 static inline bool __pte_access_permitted(pte_t pte, u64 prot) in __pte_access_permitted()
128 u64 prot = _PAGE_PRESENT; in pte_access_permitted() local
138 u64 prot = _PAGE_PRESENT | _PAGE_USER; in pte_access_permitted() local

12345678910>>...16