Home
last modified time | relevance | path

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

12345678910>>...13

/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/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/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 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/arch/arm64/include/asm/
H A Dmman.h14 static inline unsigned long 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
/linux/tools/testing/selftests/mm/
H A Dksm_tests.c118 int prot = 0; in str_to_prot() local
172 static void *allocate_memory(void *ptr, int prot, int mapping, char data, size_t map_size) in allocate_memory()
319 static int check_ksm_merge(int merge_type, int mapping, int prot, in check_ksm_merge()
353 static int check_ksm_unmerge(int merge_type, int mapping, int prot, int timeout, size_t page_size) in check_ksm_unmerge()
393 static int check_ksm_zero_page_merge(int merge_type, int mapping, int prot, long page_count, in check_ksm_zero_page_merge()
458 static int check_ksm_numa_merge(int merge_type, int mapping, int prot, int timeout, in check_ksm_numa_merge()
522 static int ksm_merge_hugepages_time(int merge_type, int mapping, int prot, in ksm_merge_hugepages_time()
590 static int ksm_merge_time(int merge_type, int mapping, int prot, int timeout, size_t map_size) in ksm_merge_time()
631 static int ksm_unmerge_time(int merge_type, int mapping, int prot, int timeout, size_t map_size) in ksm_unmerge_time()
678 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 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()
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.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/arch/arm64/mm/
H A Dmmu.c177 phys_addr_t phys, pgprot_t prot) in init_pte()
201 pgprot_t prot, in alloc_init_cont_pte()
252 phys_addr_t phys, pgprot_t prot, in init_pmd()
286 pgprot_t prot, in alloc_init_cont_pmd()
335 phys_addr_t phys, pgprot_t prot, in alloc_init_pud()
393 phys_addr_t phys, pgprot_t prot, in alloc_init_p4d()
437 pgprot_t prot, in __create_pgd_mapping_locked()
465 pgprot_t prot, in __create_pgd_mapping()
529 phys_addr_t size, pgprot_t prot) in create_mapping_noalloc()
542 pgprot_t prot, bool page_mappings_only) in create_pgd_mapping()
[all …]
/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.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/arch/openrisc/mm/
H A Dinit.c66 pgprot_t prot; in map_ram() local
205 static int __init map_page(unsigned long va, phys_addr_t pa, pgprot_t prot) in map_page()
230 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 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() argument
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; tls_get_rec() local
470 struct tls_prot_info *prot; tls_encrypt_done() local
539 struct tls_prot_info *prot = &tls_ctx->prot_info; tls_do_encryption() local
728 struct tls_prot_info *prot = &tls_ctx->prot_info; tls_push_record() local
1010 struct tls_prot_info *prot = &tls_ctx->prot_info; tls_sw_sendmsg_locked() local
1471 struct tls_prot_info *prot = &tls_ctx->prot_info; tls_decrypt_sg() local
1642 struct tls_prot_info *prot = &tls_ctx->prot_info; tls_decrypt_sw() local
1682 struct tls_prot_info *prot = &tls_ctx->prot_info; tls_decrypt_device() local
1761 struct tls_prot_info *prot = &tls_ctx->prot_info; tls_rx_one_record() local
1904 tls_read_flush_backlog(struct sock * sk,struct tls_prot_info * prot,size_t len_left,size_t decrypted,ssize_t done,size_t * flushed_at) tls_read_flush_backlog() argument
1992 struct tls_prot_info *prot = &tls_ctx->prot_info; tls_sw_recvmsg() local
2284 struct tls_prot_info *prot = &tls_ctx->prot_info; tls_sw_read_sock() local
2395 struct tls_prot_info *prot = &tls_ctx->prot_info; tls_rx_msg_size() local
2690 init_prot_info(struct tls_prot_info * prot,const struct tls_crypto_info * crypto_info,const struct tls_cipher_desc * cipher_desc) init_prot_info() argument
2739 struct tls_prot_info *prot; tls_set_sw_offload() local
[all...]
/linux/include/linux/
H A Dmman.h92 #define arch_calc_vm_prot_bits(prot, pkey) 0 argument
106 static inline bool arch_validate_prot(unsigned long prot, unsigned long addr) in arch_validate_prot()
141 calc_vm_prot_bits(unsigned long prot, unsigned long pkey) in calc_vm_prot_bits()
H A Dhighmem-internal.h82 kmap_local_page_prot(struct page * page,pgprot_t prot) kmap_local_page_prot() argument
97 kmap_atomic_prot(struct page * page,pgprot_t prot) kmap_atomic_prot() argument
188 kmap_local_page_prot(struct page * page,pgprot_t prot) kmap_local_page_prot() argument
215 kmap_atomic_prot(struct page * page,pgprot_t prot) kmap_atomic_prot() argument
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dmcg.c158 u32 prot; in new_steering_entry() local
428 u32 prot; in add_promisc_qp() local
695 u8 *gid, enum mlx4_protocol prot, in find_entry()
1105 int block_mcast_loopback, enum mlx4_protocol prot, in mlx4_qp_attach_common()
1215 enum mlx4_protocol prot, enum mlx4_steer_type steer) in mlx4_qp_detach_common()
1337 enum mlx4_protocol prot) in mlx4_QP_ATTACH()
1370 enum mlx4_protocol prot, u64 *reg_id) in mlx4_trans_to_dmfs_attach()
1409 enum mlx4_protocol prot, u64 *reg_id) in mlx4_multicast_attach()
1439 enum mlx4_protocol prot, u64 reg_id) in mlx4_multicast_detach()
1531 int block_mcast_loopback, enum mlx4_protocol prot) in mlx4_unicast_attach()
[all …]
/linux/arch/sh/include/asm/
H A Dpgtable.h121 static inline bool __pte_access_permitted(pte_t pte, u64 prot) in __pte_access_permitted()
129 u64 prot = _PAGE_PRESENT; in pte_access_permitted() local
139 u64 prot = _PAGE_PRESENT | _PAGE_USER; in pte_access_permitted() local
H A Dmmu.h72 unsigned long size, pgprot_t prot) in pmb_bolt_mapping()
79 pgprot_t prot, void *caller) in pmb_remap_caller()
100 pmb_remap(phys_addr_t phys, unsigned long size, pgprot_t prot) in pmb_remap()
/linux/arch/powerpc/mm/
H A Dioremap_32.c11 pgprot_t prot = pgprot_cached_wthru(PAGE_KERNEL); in ioremap_wt() local
18 __ioremap_caller(phys_addr_t addr, unsigned long size, pgprot_t prot, void *caller) in __ioremap_caller()

12345678910>>...13