Home
last modified time | relevance | path

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

12345678910>>...18

/linux-6.12.1/arch/arm64/include/asm/
Dpgalloc.h24 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot) in __pud_populate()
37 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot) in __pud_populate()
45 static inline void __p4d_populate(p4d_t *p4dp, phys_addr_t pudp, p4dval_t prot) in __p4d_populate()
66 static inline void __p4d_populate(p4d_t *p4dp, phys_addr_t pudp, p4dval_t prot) in __p4d_populate()
74 static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t p4dp, pgdval_t prot) in __pgd_populate()
107 static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t p4dp, pgdval_t prot) in __pgd_populate()
117 pmdval_t prot) in __pmd_populate()
Dmman.h13 static inline unsigned long arch_calc_vm_prot_bits(unsigned long prot, in arch_calc_vm_prot_bits()
34 #define arch_calc_vm_prot_bits(prot, pkey) arch_calc_vm_prot_bits(prot, pkey) argument
52 static inline bool arch_validate_prot(unsigned long prot, in arch_validate_prot()
65 #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()
/linux-6.12.1/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.12.1/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.12.1/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
169 #define pfn_pte(pfn,prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot)) argument
172 #define mk_pte(page,prot) pfn_pte(page_to_pfn(page), prot) argument
218 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit()
[all …]
Dpgtable-nommu.h48 #define pgprot_noncached(prot) (prot) argument
49 #define pgprot_writecombine(prot) (prot) argument
50 #define pgprot_device(prot) (prot) argument
/linux-6.12.1/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.12.1/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
60 unsigned long size, pgprot_t prot) in early_ioremap_range()
/linux-6.12.1/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 __always_inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported()
17 static __always_inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported()
/linux-6.12.1/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.12.1/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.12.1/tools/testing/selftests/mm/
Dksm_tests.c146 int prot = 0; in str_to_prot() local
200 static void *allocate_memory(void *ptr, int prot, int mapping, char data, size_t map_size) in allocate_memory()
347 static int check_ksm_merge(int merge_type, int mapping, int prot, in check_ksm_merge()
381 static int check_ksm_unmerge(int merge_type, int mapping, int prot, int timeout, size_t page_size) in check_ksm_unmerge()
421 static int check_ksm_zero_page_merge(int merge_type, int mapping, int prot, long page_count, in check_ksm_zero_page_merge()
486 static int check_ksm_numa_merge(int merge_type, int mapping, int prot, int timeout, in check_ksm_numa_merge()
550 static int ksm_merge_hugepages_time(int merge_type, int mapping, int prot, in ksm_merge_hugepages_time()
618 static int ksm_merge_time(int merge_type, int mapping, int prot, int timeout, size_t map_size) in ksm_merge_time()
659 static int ksm_unmerge_time(int merge_type, int mapping, int prot, int timeout, size_t map_size) in ksm_unmerge_time()
706 static int ksm_cow_time(int merge_type, int mapping, int prot, int timeout, size_t page_size) in ksm_cow_time()
[all …]
/linux-6.12.1/arch/sh/mm/
Dioremap.c40 __ioremap_29bit(phys_addr_t offset, unsigned long size, pgprot_t prot) in __ioremap_29bit()
72 #define __ioremap_29bit(offset, size, prot) NULL argument
76 unsigned long prot) in ioremap_prot()
Dinit.c81 static void set_pte_phys(unsigned long addr, unsigned long phys, pgprot_t prot) in set_pte_phys()
98 static void clear_pte_phys(unsigned long addr, pgprot_t prot) in clear_pte_phys()
111 void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot) in __set_fixmap()
123 void __clear_fixmap(enum fixed_addresses idx, pgprot_t prot) in __clear_fixmap()
/linux-6.12.1/mm/
Dearly_ioremap.c37 pgprot_t prot) in early_memremap_pgprot_adjust()
54 phys_addr_t phys, pgprot_t prot) in __late_set_fixmap()
100 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) in __early_ioremap()
220 pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size, in early_memremap() local
229 pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size, in early_memremap_ro() local
/linux-6.12.1/arch/riscv/kernel/
Dhibernate.c169 unsigned long end, pgprot_t prot) in temp_pgtable_map_pte()
196 unsigned long end, pgprot_t prot) in temp_pgtable_map_pmd()
235 unsigned long end, pgprot_t prot) in temp_pgtable_map_pud()
274 unsigned long end, pgprot_t prot) in temp_pgtable_map_p4d()
312 static int temp_pgtable_mapping(pgd_t *pgdp, unsigned long start, unsigned long end, pgprot_t prot) in temp_pgtable_mapping()
/linux-6.12.1/arch/powerpc/include/asm/nohash/
Dpgtable.h352 #define pgprot_noncached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
355 #define pgprot_noncached_wc(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
358 #define pgprot_cached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
362 #define pgprot_cached_wthru(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
365 #define pgprot_cached_wthru(prot) pgprot_noncached(prot) argument
368 #define pgprot_cached_noncoherent(prot) \ argument
/linux-6.12.1/arch/arm64/mm/
Dmmu.c170 phys_addr_t phys, pgprot_t prot) in init_pte()
194 pgprot_t prot, in alloc_init_cont_pte()
245 phys_addr_t phys, pgprot_t prot, in init_pmd()
279 pgprot_t prot, in alloc_init_cont_pmd()
327 phys_addr_t phys, pgprot_t prot, in alloc_init_pud()
385 phys_addr_t phys, pgprot_t prot, in alloc_init_p4d()
429 pgprot_t prot, in __create_pgd_mapping_locked()
457 pgprot_t prot, in __create_pgd_mapping()
510 phys_addr_t size, pgprot_t prot) in create_mapping_noalloc()
523 pgprot_t prot, bool page_mappings_only) in create_pgd_mapping()
[all …]
/linux-6.12.1/net/tls/
Dtls_sw.c157 static int tls_padding_length(struct tls_prot_info *prot, struct sk_buff *skb, in tls_padding_length()
261 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_do_decryption() local
310 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_trim_both_msgs() local
333 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_clone_plaintext_msg() local
357 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_get_rec() local
470 struct tls_prot_info *prot; in tls_encrypt_done() local
539 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_do_encryption() local
728 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_push_record() local
1010 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_sw_sendmsg_locked() local
1467 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_decrypt_sg() local
[all …]
/linux-6.12.1/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.12.1/arch/riscv/include/asm/
Dvmalloc.h12 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported()
18 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported()
/linux-6.12.1/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.12.1/include/linux/
Dmman.h94 #define arch_calc_vm_prot_bits(prot, pkey) 0 argument
108 static inline bool arch_validate_prot(unsigned long prot, unsigned long addr) in arch_validate_prot()
143 calc_vm_prot_bits(unsigned long prot, unsigned long pkey) in calc_vm_prot_bits()

12345678910>>...18