| /linux/net/ipv4/ |
| H A D | protocol.c | 32 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 D | protocol.c | 28 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/tools/testing/selftests/mm/ |
| H A D | ksm_tests.c | 119 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() argument 320 static int check_ksm_merge(int merge_type, int mapping, int prot, in check_ksm_merge() argument 354 check_ksm_unmerge(int merge_type,int mapping,int prot,int timeout,size_t page_size) check_ksm_unmerge() argument 394 check_ksm_zero_page_merge(int merge_type,int mapping,int prot,long page_count,int timeout,bool use_zero_pages,size_t page_size) check_ksm_zero_page_merge() argument 459 check_ksm_numa_merge(int merge_type,int mapping,int prot,int timeout,bool merge_across_nodes,size_t page_size) check_ksm_numa_merge() argument 523 ksm_merge_hugepages_time(int merge_type,int mapping,int prot,int timeout,size_t map_size) ksm_merge_hugepages_time() argument 596 ksm_merge_time(int merge_type,int mapping,int prot,int timeout,size_t map_size) ksm_merge_time() argument 637 ksm_unmerge_time(int merge_type,int mapping,int prot,int timeout,size_t map_size) ksm_unmerge_time() argument 684 ksm_cow_time(int merge_type,int mapping,int prot,int timeout,size_t page_size) ksm_cow_time() argument 758 int prot = 0; main() local [all...] |
| /linux/include/xen/ |
| H A D | xen-ops.h | 52 pgprot_t prot, unsigned int domid, in xen_remap_pfn() argument 79 xen_xlate_remap_gfn_array(struct vm_area_struct * vma,unsigned long addr,xen_pfn_t * gfn,int nr,int * err_ptr,pgprot_t prot,unsigned int domid,struct page ** pages) xen_xlate_remap_gfn_array() argument 116 xen_remap_domain_gfn_array(struct vm_area_struct * vma,unsigned long addr,xen_pfn_t * gfn,int nr,int * err_ptr,pgprot_t prot,unsigned int domid,struct page ** pages) xen_remap_domain_gfn_array() argument 152 xen_remap_domain_mfn_array(struct vm_area_struct * vma,unsigned long addr,xen_pfn_t * mfn,int nr,int * err_ptr,pgprot_t prot,unsigned int domid) xen_remap_domain_mfn_array() argument 176 xen_remap_domain_gfn_range(struct vm_area_struct * vma,unsigned long addr,xen_pfn_t gfn,int nr,pgprot_t prot,unsigned int domid,struct page ** pages) xen_remap_domain_gfn_range() argument [all...] |
| /linux/arch/arm64/include/asm/ |
| H A D | vmalloc.h | 10 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/riscv/kernel/ |
| H A D | hibernate.c | 169 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 D | pgtable.h | 363 #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/net/tls/ |
| H A D | tls_sw.c | 157 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 621 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_push_record() local 771 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_sw_sendmsg_locked() local 1271 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_decrypt_sg() local [all …]
|
| /linux/arch/x86/include/asm/ |
| H A D | vmalloc.h | 12 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/include/asm/ |
| H A D | vmalloc.h | 10 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/include/asm/ |
| H A D | pgtable-nommu.h | 48 #define pgprot_noncached(prot) (prot) argument 49 #define pgprot_writecombine(prot) (prot) argument 50 #define pgprot_device(prot) (prot) argument
|
| /linux/arch/riscv/include/asm/ |
| H A D | vmalloc.h | 12 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/arch/arm64/mm/ |
| H A D | mmu.c | 163 phys_addr_t phys, pgprot_t prot) in init_pte() 198 pgprot_t prot, in alloc_init_cont_pte() 254 phys_addr_t phys, pgprot_t prot, in init_pmd() 306 pgprot_t prot, in alloc_init_cont_pmd() 364 phys_addr_t phys, pgprot_t prot, in alloc_init_pud() 431 phys_addr_t phys, pgprot_t prot, in alloc_init_p4d() 483 pgprot_t prot, in __create_pgd_mapping_locked() 516 pgprot_t prot, in __create_pgd_mapping() 532 pgprot_t prot, in early_create_pgd_mapping() 608 pgprot_t prot = pmd_pgprot(pmd); in split_pmd() local [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | syscalls.c | 40 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/powerpc/mm/ |
| H A D | ioremap_32.c | 11 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()
|
| /linux/arch/x86/mm/ |
| H A D | iomap_32.c | 21 int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot) in iomap_create_wc() 47 void __iomem *__iomap_local_pfn_prot(unsigned long pfn, pgprot_t prot) in __iomap_local_pfn_prot()
|
| /linux/arch/sh/include/asm/ |
| H A D | mmu.h | 72 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/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | mcg.c | 158 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/kernel/ |
| H A D | sys_sh.c | 33 unsigned long prot, unsigned long flags, in old_mmap() 42 unsigned long prot, unsigned long flags, in sys_mmap2()
|
| /linux/kernel/dma/ |
| H A D | remap.c | 25 pgprot_t prot, const void *caller) in dma_common_pages_remap() 41 pgprot_t prot, const void *caller) in dma_common_contiguous_remap()
|
| /linux/arch/arm64/kvm/hyp/nvhe/ |
| H A D | mm.c | 36 unsigned long phys, enum kvm_pgtable_prot prot) in __pkvm_create_mappings() 94 enum kvm_pgtable_prot prot, in __pkvm_create_private_mapping() 113 int pkvm_create_mappings_locked(void *from, void *to, enum kvm_pgtable_prot prot) in pkvm_create_mappings_locked() 138 int pkvm_create_mappings(void *from, void *to, enum kvm_pgtable_prot prot) in pkvm_create_mappings()
|
| /linux/arch/powerpc/include/asm/book3s/32/ |
| H A D | pgtable.h | 572 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached() 579 static inline pgprot_t pgprot_noncached_wc(pgprot_t prot) in pgprot_noncached_wc() 586 static inline pgprot_t pgprot_cached(pgprot_t prot) in pgprot_cached() 593 static inline pgprot_t pgprot_cached_wthru(pgprot_t prot) in pgprot_cached_wthru() 600 static inline pgprot_t pgprot_cached_noncoherent(pgprot_t prot) in pgprot_cached_noncoherent() 606 static inline pgprot_t pgprot_writecombine(pgprot_t prot) in pgprot_writecombine()
|
| /linux/tools/include/nolibc/sys/ |
| H A D | mman.h | 18 void *_sys_mmap(void *addr, size_t length, int prot, int flags, int fd, in sys_mmap() argument 35 void *mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset) in mmap() argument
|
| /linux/arch/arm/mm/ |
| H A D | dma-mapping.c | 45 pgprot_t prot; member 202 pgprot_t prot = pgprot_dmacoherent(PAGE_KERNEL); in atomic_pool_init() local 313 pgprot_t prot = *(pgprot_t *)data; in __dma_update_pte() local 319 static void __dma_remap(struct page *page, size_t size, pgprot_t prot) in __dma_remap() 329 pgprot_t prot, struct page **ret_page, in __alloc_remap_buffer() 392 pgprot_t prot, struct page **ret_page, in __alloc_from_contiguous() 438 static inline pgprot_t __get_dma_pgprot(unsigned long attrs, pgprot_t prot) in __get_dma_pgprot() 534 gfp_t gfp, pgprot_t prot, bool is_coherent, in __dma_alloc() 730 int prot = 0; in __dma_info_to_prot() local 1076 pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KERNEL); in arm_iommu_alloc_attrs() local [all …]
|
| /linux/arch/arm64/kvm/hyp/ |
| H A D | pgtable.c | 328 static int hyp_set_prot_attr(enum kvm_pgtable_prot prot, kvm_pte_t *ptep) in hyp_set_prot_attr() 376 enum kvm_pgtable_prot prot = pte & KVM_PTE_LEAF_ATTR_HI_SW; in kvm_pgtable_hyp_pte_prot() local 447 enum kvm_pgtable_prot prot) in kvm_pgtable_hyp_map() 677 static int stage2_set_xn_attr(enum kvm_pgtable_prot prot, kvm_pte_t *attr) in stage2_set_xn_attr() 702 static int stage2_set_prot_attr(struct kvm_pgtable *pgt, enum kvm_pgtable_prot prot, in stage2_set_prot_attr() 749 enum kvm_pgtable_prot prot = pte & KVM_PTE_LEAF_ATTR_HI_SW; in kvm_pgtable_stage2_pte_prot() local 928 enum kvm_pgtable_prot prot = kvm_pgtable_stage2_pte_prot(pte); in stage2_pte_executable() local 1095 u64 phys, enum kvm_pgtable_prot prot, in kvm_pgtable_stage2_map() 1358 enum kvm_pgtable_prot prot, enum kvm_pgtable_walk_flags flags) in kvm_pgtable_stage2_relax_perms() 1420 enum kvm_pgtable_prot prot, in kvm_pgtable_stage2_create_unlinked() [all …]
|