Home
last modified time | relevance | path

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

12345678910>>...18

/linux/arch/arm64/include/asm/
H A 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()
89 static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t p4dp, pgdval_t prot) in __pgd_populate()
99 pmdval_t prot) in __pmd_populate()
H A Dmman.h14 static inline vm_flags_t arch_calc_vm_prot_bits(unsigned long prot, in arch_calc_vm_prot_bits()
35 #define arch_calc_vm_prot_bits(prot, pkey) arch_calc_vm_prot_bits(prot, pkey) argument
56 static inline bool arch_validate_prot(unsigned long prot, in arch_validate_prot()
69 #define arch_validate_prot(prot, addr) arch_validate_prot(prot, addr) argument
H A Dvmalloc.h10 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported()
16 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported()
69 static inline pgprot_t arch_vmap_pgprot_tagged(pgprot_t prot) in arch_vmap_pgprot_tagged()
/linux/arch/powerpc/mm/
H A Dioremap.c13 pgprot_t prot = pgprot_noncached(PAGE_KERNEL); in ioremap() local
22 pgprot_t prot = pgprot_noncached_wc(PAGE_KERNEL); in ioremap_wc() local
31 pgprot_t prot = pgprot_cached(PAGE_KERNEL); in ioremap_coherent() local
37 void __iomem *ioremap_prot(phys_addr_t addr, size_t size, pgprot_t prot) in ioremap_prot()
51 unsigned long size, pgprot_t prot) in early_ioremap_range()
/linux/net/ipv6/
H A 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/net/ipv4/
H A 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/arch/arm/include/asm/
H A Dpgtable.h111 #define __pgprot_modify(prot,mask,bits) \ argument
114 #define pgprot_noncached(prot) \ argument
117 #define pgprot_writecombine(prot) \ argument
120 #define pgprot_stronglyordered(prot) \ argument
123 #define pgprot_device(prot) \ argument
127 #define pgprot_dmacoherent(prot) \ argument
134 #define pgprot_dmacoherent(prot) \ argument
168 #define pfn_pte(pfn,prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot)) argument
216 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit()
222 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit()
H A Dpgtable-nommu.h48 #define pgprot_noncached(prot) (prot) argument
49 #define pgprot_writecombine(prot) (prot) argument
50 #define pgprot_device(prot) (prot) argument
/linux/arch/sparc/include/asm/
H A Dmman.h30 #define arch_calc_vm_prot_bits(prot, pkey) sparc_calc_vm_prot_bits(prot) argument
31 static inline vm_flags_t 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/tools/testing/selftests/mm/
H A Dksm_tests.c119 int prot = 0; in str_to_prot() local
173 static void *allocate_memory(void *ptr, int prot, int mapping, char data, size_t map_size) in allocate_memory()
320 static int check_ksm_merge(int merge_type, int mapping, int prot, in check_ksm_merge()
354 static int check_ksm_unmerge(int merge_type, int mapping, int prot, int timeout, size_t page_size) in check_ksm_unmerge()
394 static int check_ksm_zero_page_merge(int merge_type, int mapping, int prot, long page_count, in check_ksm_zero_page_merge()
459 static int check_ksm_numa_merge(int merge_type, int mapping, int prot, int timeout, in check_ksm_numa_merge()
523 static int ksm_merge_hugepages_time(int merge_type, int mapping, int prot, in ksm_merge_hugepages_time()
596 static int ksm_merge_time(int merge_type, int mapping, int prot, int timeout, size_t map_size) in ksm_merge_time()
637 static int ksm_unmerge_time(int merge_type, int mapping, int prot, int timeout, size_t map_size) in ksm_unmerge_time()
684 static int ksm_cow_time(int merge_type, int mapping, int prot, int timeout, size_t page_size) in ksm_cow_time()
[all …]
/linux/arch/powerpc/include/asm/
H A Dmman.h17 static inline vm_flags_t 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()
H A 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/arch/arm/mm/
H A 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/include/xen/
H A Dxen-ops.h52 pgprot_t prot, unsigned int domid, in xen_remap_pfn()
79 int *err_ptr, pgprot_t prot, in xen_xlate_remap_gfn_array()
116 int *err_ptr, pgprot_t prot, in xen_remap_domain_gfn_array()
152 pgprot_t prot, unsigned int domid) in xen_remap_domain_mfn_array()
176 pgprot_t prot, unsigned int domid, in xen_remap_domain_gfn_range()
/linux/mm/
H A Dearly_ioremap.c45 pgprot_t prot) in early_memremap_pgprot_adjust()
62 phys_addr_t phys, pgprot_t prot) in __late_set_fixmap()
108 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) in __early_ioremap()
228 pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size, in early_memremap() local
237 pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size, in early_memremap_ro() local
/linux/arch/riscv/kernel/
H A 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/arch/powerpc/include/asm/nohash/
H A Dpgtable.h363 #define pgprot_noncached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
366 #define pgprot_noncached_wc(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
369 #define pgprot_cached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
373 #define pgprot_cached_wthru(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
376 #define pgprot_cached_wthru(prot) pgprot_noncached(prot) argument
379 #define pgprot_cached_noncoherent(prot) \ argument
/linux/arch/arm64/mm/
H A Dmmu.c175 phys_addr_t phys, pgprot_t prot) in init_pte()
199 pgprot_t prot, in alloc_init_cont_pte()
254 phys_addr_t phys, pgprot_t prot, in init_pmd()
294 pgprot_t prot, in alloc_init_cont_pmd()
351 phys_addr_t phys, pgprot_t prot, in alloc_init_pud()
417 phys_addr_t phys, pgprot_t prot, in alloc_init_p4d()
469 pgprot_t prot, in __create_pgd_mapping_locked()
502 pgprot_t prot, in __create_pgd_mapping()
518 pgprot_t prot, in early_create_pgd_mapping()
591 pgprot_t prot = pmd_pgprot(pmd); in split_pmd() local
[all …]
/linux/arch/sh/mm/
H A 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/arch/openrisc/mm/
H A Dinit.c62 pgprot_t prot; in map_ram() local
199 static int __init map_page(unsigned long va, phys_addr_t pa, pgprot_t prot) in map_page()
228 phys_addr_t phys, pgprot_t prot) in __set_fixmap()
/linux/arch/x86/include/asm/
H A 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/arch/powerpc/kernel/
H A 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/arch/riscv/include/asm/
H A Dmman.h10 static inline unsigned long arch_calc_vm_prot_bits(unsigned long prot, in arch_calc_vm_prot_bits()
24 #define arch_calc_vm_prot_bits(prot, pkey) arch_calc_vm_prot_bits(prot, pkey) argument
H A 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/net/tls/
H A Dtls_sw.c157 static int tls_padding_length(struct tls_prot_info *prot, struct sk_buff *skb, in tls_padding_length()
262 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_do_decryption() local
311 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_trim_both_msgs() local
334 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_clone_plaintext_msg() local
358 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_get_rec() local
471 struct tls_prot_info *prot; in tls_encrypt_done() local
540 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_do_encryption() local
739 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_push_record() local
1041 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_sw_sendmsg_locked() local
1524 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_decrypt_sg() local
[all …]

12345678910>>...18