Home
last modified time | relevance | path

Searched defs:prot (Results 51 – 75 of 499) sorted by relevance

12345678910>>...20

/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dmm.c36 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()
/openbmc/qemu/target/i386/
H A Dmonitor.c252 hwaddr end, int prot) in mem_print()
278 int prot, last_prot; in mem_info_32() local
319 int prot, last_prot; in mem_info_pae32() local
375 int prot, last_prot; in mem_info_la48() local
455 int prot, last_prot; in mem_info_la57() local
/openbmc/linux/tools/testing/selftests/riscv/mm/
H A Dmmap_test.h37 int prot = PROT_READ | PROT_WRITE; in do_mmaps() local
59 int prot = PROT_READ | PROT_WRITE; in memory_layout() local
/openbmc/linux/arch/um/kernel/
H A Dtlb.c24 unsigned int prot; member
35 unsigned int prot; member
122 unsigned int prot, struct host_vm_change *hvc) in add_mmap()
187 unsigned int prot, struct host_vm_change *hvc) in add_mprotect()
222 int r, w, x, prot, ret = 0; in update_pte_range() local
464 int r, w, x, prot, err = 0; in flush_tlb_page() local
/openbmc/linux/arch/csky/include/asm/
H A Dpgtable.h39 #define pfn_pte(pfn, prot) __pte(((unsigned long long)(pfn) << PAGE_SHIFT) \ argument
235 unsigned long prot = pgprot_val(_prot); in pgprot_noncached() local
245 unsigned long prot = pgprot_val(_prot); in pgprot_writecombine() local
271 #define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ argument
/openbmc/linux/arch/s390/mm/
H A Dvmem.c160 unsigned long prot, pages = 0; in modify_pte_table() local
217 unsigned long next, prot, pages = 0; in modify_pmd_table() local
311 unsigned long next, prot, pages = 0; in modify_pud_table() local
608 int __vmem_map_4k_page(unsigned long addr, unsigned long phys, pgprot_t prot, bool alloc) in __vmem_map_4k_page()
623 int vmem_map_4k_page(unsigned long addr, unsigned long phys, pgprot_t prot) in vmem_map_4k_page()
/openbmc/linux/drivers/gpu/drm/ttm/
H A Dttm_bo_vm.c182 pgprot_t prot, in ttm_bo_vm_fault_reserved()
291 vm_fault_t ttm_bo_vm_dummy_page(struct vm_fault *vmf, pgprot_t prot) in ttm_bo_vm_dummy_page()
324 pgprot_t prot; in ttm_bo_vm_fault() local
/openbmc/linux/tools/testing/selftests/mm/
H A Dprotection_keys.c626 int prot; member
631 void record_pkey_malloc(void *ptr, long size, int prot) in record_pkey_malloc()
696 void *malloc_pkey_with_mprotect(long size, int prot, u16 pkey) in malloc_pkey_with_mprotect()
716 void *malloc_pkey_anon_huge(long size, int prot, u16 pkey) in malloc_pkey_anon_huge()
797 void *malloc_pkey_hugetlb(long size, int prot, u16 pkey) in malloc_pkey_hugetlb()
818 void *malloc_pkey_mmap_dax(long size, int prot, u16 pkey) in malloc_pkey_mmap_dax()
853 void *malloc_pkey(long size, int prot, u16 pkey) in malloc_pkey()
1352 int prot; in test_mprotect_with_pkey_0() local
1711 int prot = PROT_READ|PROT_WRITE; in run_tests_once() local
/openbmc/linux/tools/perf/trace/beauty/
H A Dmmap.c7 static size_t mmap__scnprintf_prot(unsigned long prot, char *bf, size_t size, bool show_prefix) in mmap__scnprintf_prot()
14 unsigned long prot = arg->val; in syscall_arg__scnprintf_mmap_prot() local
/openbmc/linux/mm/
H A Dvmalloc.c94 phys_addr_t phys_addr, pgprot_t prot, in vmap_pte_range()
127 phys_addr_t phys_addr, pgprot_t prot, in vmap_try_huge_pmd()
152 phys_addr_t phys_addr, pgprot_t prot, in vmap_pmd_range()
177 phys_addr_t phys_addr, pgprot_t prot, in vmap_try_huge_pud()
202 phys_addr_t phys_addr, pgprot_t prot, in vmap_pud_range()
228 phys_addr_t phys_addr, pgprot_t prot, in vmap_try_huge_p4d()
253 phys_addr_t phys_addr, pgprot_t prot, in vmap_p4d_range()
279 phys_addr_t phys_addr, pgprot_t prot, in vmap_range_noflush()
308 phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range()
544 pgprot_t prot, struct page **pages) in vmap_small_pages_range_noflush()
[all …]
H A Dnommu.c154 pgprot_t prot, unsigned long vm_flags, int node, in __vmalloc_node_range()
316 void *vmap(struct page **pages, unsigned int count, unsigned long flags, pgprot_t prot) in vmap()
695 unsigned long prot, in validate_mmap_request()
851 unsigned long prot, in determine_vm_flags()
1017 unsigned long prot, in do_mmap()
1252 unsigned long prot, unsigned long flags, in ksys_mmap_pgoff()
1274 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument
1284 unsigned long prot; member
1604 unsigned long pfn, unsigned long size, pgprot_t prot) in remap_pfn_range()
/openbmc/linux/arch/sparc/kernel/
H A Dsys_sparc_32.c102 unsigned long, prot, unsigned long, flags, unsigned long, fd, in SYSCALL_DEFINE6() argument
112 unsigned long, prot, unsigned long, flags, unsigned long, fd, in SYSCALL_DEFINE6() argument
120 unsigned long, prot, unsigned long, pgoff, in SYSCALL_DEFINE5() argument
/openbmc/qemu/target/ppc/
H A Dmmu-hash32.c52 MMUAccessType access_type, int *prot, in ppc_hash32_bat_lookup()
116 hwaddr *raddr, int *prot, int mmu_idx, in ppc_hash32_direct_store()
304 int prot; in ppc_hash32_xlate() local
/openbmc/linux/arch/arm/mm/
H A Ddma-mapping.c45 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
329 pgprot_t prot, struct page **ret_page, in __alloc_remap_buffer()
392 pgprot_t prot, struct page **ret_page, in __alloc_from_contiguous()
534 gfp_t gfp, pgprot_t prot, bool is_coherent, in __dma_alloc()
735 int prot = 0; in __dma_info_to_prot() local
1081 pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KERNEL); in arm_iommu_alloc_attrs() local
1197 int prot; in __map_sg_chunk() local
1377 int ret, prot, len = PAGE_ALIGN(size + offset); in arm_iommu_map_page() local
[all …]
/openbmc/linux/include/linux/
H A Dpgtable.h948 #define move_pte(pte, prot, old_addr, new_addr) (pte) argument
1120 #define pgprot_nx(prot) (prot) argument
1124 #define pgprot_noncached(prot) (prot) argument
1140 #define pgprot_mhp(prot) (prot) argument
1160 #define pgprot_encrypted(prot) (prot) argument
1164 #define pgprot_decrypted(prot) (prot) argument
1458 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge()
1473 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge()
1477 static inline int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot) in pud_set_huge()
1481 static inline int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot) in pmd_set_huge()
[all …]
/openbmc/linux/arch/arc/include/asm/
H A Dhugepage.h36 #define mk_pmd(page, prot) pte_pmd(mk_pte(page, prot)) argument
40 #define pfn_pmd(pfn, prot) (__pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))) argument
/openbmc/linux/arch/parisc/kernel/
H A Dentry.S65 .macro space_to_prot spc prot
69 .macro space_to_prot spc prot
547 .macro make_insert_tlb_11 spc,pte,prot
1118 prot = r17 /* prot bits */ define
/openbmc/linux/arch/powerpc/include/asm/book3s/32/
H A Dpgtable.h586 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached()
593 static inline pgprot_t pgprot_noncached_wc(pgprot_t prot) in pgprot_noncached_wc()
600 static inline pgprot_t pgprot_cached(pgprot_t prot) in pgprot_cached()
607 static inline pgprot_t pgprot_cached_wthru(pgprot_t prot) in pgprot_cached_wthru()
614 static inline pgprot_t pgprot_cached_noncoherent(pgprot_t prot) in pgprot_cached_noncoherent()
620 static inline pgprot_t pgprot_writecombine(pgprot_t prot) in pgprot_writecombine()
/openbmc/qemu/target/mips/tcg/sysemu/
H A Dtlb_helper.c361 static int no_mmu_map_address(CPUMIPSState *env, hwaddr *physical, int *prot, in no_mmu_map_address()
371 int *prot, target_ulong address, in fixed_mmu_map_address()
391 static int r4k_map_address(CPUMIPSState *env, hwaddr *physical, int *prot, in r4k_map_address()
641 int prot; in walk_directory() local
745 int prot; in page_table_walk_refill() local
913 int prot; in mips_cpu_tlb_fill() local
971 int prot; in cpu_mips_translate_address() local
/openbmc/linux/arch/riscv/kernel/
H A Dsys_riscv.c21 unsigned long prot, unsigned long flags, in riscv_sys_mmap()
34 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument
43 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument
/openbmc/linux/net/core/
H A Dsock.c2052 const struct proto *prot = READ_ONCE(osk->sk_prot); in sock_copy() local
2140 struct proto *prot, int kern) in sk_alloc()
2290 struct proto *prot = READ_ONCE(sk->sk_prot); in sk_clone_lock() local
3047 struct proto *prot = sk->sk_prot; in __sk_mem_raise_allocated() local
3813 static int assign_proto_idx(struct proto *prot) in assign_proto_idx()
3826 static void release_proto_idx(struct proto *prot) in release_proto_idx()
3832 static inline int assign_proto_idx(struct proto *prot) in assign_proto_idx()
3853 static int tw_prot_init(const struct proto *prot) in tw_prot_init()
3889 static int req_prot_init(const struct proto *prot) in req_prot_init()
3914 int proto_register(struct proto *prot, int alloc_slab) in proto_register()
[all …]
/openbmc/linux/net/tls/
H A Dtls.h304 tls_advance_record_sn(struct sock *sk, struct tls_prot_info *prot, in tls_advance_record_sn()
317 tls_xor_iv_with_seq(struct tls_prot_info *prot, char *iv, char *seq) in tls_xor_iv_with_seq()
332 struct tls_prot_info *prot = &ctx->prot_info; in tls_fill_prepend() local
359 unsigned char record_type, struct tls_prot_info *prot) in tls_make_aad()
H A Dtls_device.c289 struct tls_prot_info *prot = &ctx->prot_info; in tls_push_record() local
323 struct tls_prot_info *prot = &ctx->prot_info; in tls_device_record_close() local
430 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_push_data() local
777 struct tls_prot_info *prot; in tls_device_rx_resync_new_rec() local
872 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_device_core_ctrl_rx_resync() local
1048 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_set_device_offload() local
/openbmc/linux/arch/arm/include/asm/
H A Dpgalloc.h108 pmdval_t prot) in __pmd_populate()
137 pmdval_t prot; in pmd_populate() local
/openbmc/linux/net/unix/
H A Dunix_bpf.c105 static void unix_dgram_bpf_rebuild_protos(struct proto *prot, const struct proto *base) in unix_dgram_bpf_rebuild_protos()
113 static void unix_stream_bpf_rebuild_protos(struct proto *prot, in unix_stream_bpf_rebuild_protos()

12345678910>>...20