Home
last modified time | relevance | path

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

12345678910>>...17

/linux-6.6.21/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.6.21/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.6.21/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
214 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.6.21/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
160 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit()
166 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit()
172 static inline pmd_t clear_pmd_bit(pmd_t pmd, pgprot_t prot) in clear_pmd_bit()
178 static inline pmd_t set_pmd_bit(pmd_t pmd, pgprot_t prot) in set_pmd_bit()
414 static inline pgprot_t mk_pud_sect_prot(pgprot_t prot) in mk_pud_sect_prot()
419 static inline pgprot_t mk_pmd_sect_prot(pgprot_t prot) in mk_pmd_sect_prot()
520 #define pfn_pmd(pfn,prot) __pmd(__phys_to_pmd_val((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(pr… argument
521 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot) argument
532 #define pfn_pud(pfn,prot) __pud(__phys_to_pud_val((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(pr… argument
[all …]
/linux-6.6.21/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.6.21/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()
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/arch/powerpc/include/asm/nohash/
Dpgtable.h222 #define pgprot_noncached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
225 #define pgprot_noncached_wc(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
228 #define pgprot_cached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
232 #define pgprot_cached_wthru(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
235 #define pgprot_cached_wthru(prot) pgprot_noncached(prot) argument
238 #define pgprot_cached_noncoherent(prot) \ argument
/linux-6.6.21/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()
/linux-6.6.21/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.6.21/arch/riscv/mm/
Dpgtable.c9 int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge()
18 int pud_set_huge(pud_t *pud, phys_addr_t phys, pgprot_t prot) in pud_set_huge()
56 int pmd_set_huge(pmd_t *pmd, phys_addr_t phys, pgprot_t prot) in pmd_set_huge()
/linux-6.6.21/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.6.21/arch/arm64/mm/
Dmmu.c173 phys_addr_t phys, pgprot_t prot) in init_pte()
198 pgprot_t prot, in alloc_init_cont_pte()
236 phys_addr_t phys, pgprot_t prot, in init_pmd()
274 pgprot_t prot, in alloc_init_cont_pmd()
314 phys_addr_t phys, pgprot_t prot, in alloc_init_pud()
371 pgprot_t prot, in __create_pgd_mapping_locked()
399 pgprot_t prot, in __create_pgd_mapping()
453 phys_addr_t size, pgprot_t prot) in create_mapping_noalloc()
466 pgprot_t prot, bool page_mappings_only) in create_pgd_mapping()
480 phys_addr_t size, pgprot_t prot) in update_mapping_prot()
[all …]
/linux-6.6.21/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.6.21/include/linux/
Dmman.h93 #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()
/linux-6.6.21/arch/riscv/include/asm/
Dvmalloc.h11 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.6.21/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 …]

12345678910>>...17