/linux-6.1.9/drivers/misc/lkdtm/ |
D | usercopy.c | 81 user_addr = vm_mmap(NULL, 0, PAGE_SIZE, in do_usercopy_stack() 149 user_addr = vm_mmap(NULL, 0, PAGE_SIZE, in do_usercopy_slab_size() 225 user_alloc = vm_mmap(NULL, 0, PAGE_SIZE, in do_usercopy_slab_whitelist() 315 user_addr = vm_mmap(NULL, 0, PAGE_SIZE, in lkdtm_USERCOPY_KERNEL() 332 vm_mmap); in lkdtm_USERCOPY_KERNEL() 333 if (copy_to_user((void __user *)user_addr, vm_mmap, in lkdtm_USERCOPY_KERNEL() 355 uaddr = vm_mmap(NULL, 0, PAGE_SIZE, PROT_READ | PROT_WRITE, in do_usercopy_page_span()
|
D | perms.c | 204 user_addr = vm_mmap(NULL, 0, PAGE_SIZE, in lkdtm_EXEC_USERSPACE() 225 user_addr = vm_mmap(NULL, 0, PAGE_SIZE, in lkdtm_ACCESS_USERSPACE()
|
/linux-6.1.9/drivers/gpu/drm/i915/selftests/ |
D | igt_mmap.c | 45 addr = vm_mmap(file, 0, drm_vma_node_size(node) << PAGE_SHIFT, in igt_mmap_offset()
|
/linux-6.1.9/mm/kasan/ |
D | kasan_test_module.c | 29 usermem = (char __user *)vm_mmap(NULL, 0, PAGE_SIZE, in copy_user_test()
|
/linux-6.1.9/fs/ |
D | binfmt_flat.c | 533 textpos = vm_mmap(bprm->file, 0, text_len, PROT_READ|PROT_EXEC, in load_flat_file() 546 realdatastart = vm_mmap(NULL, 0, len, in load_flat_file() 593 textpos = vm_mmap(NULL, 0, len, in load_flat_file()
|
D | binfmt_elf_fdpic.c | 421 current->mm->start_brk = vm_mmap(NULL, 0, stack_size, stack_prot, in load_elf_fdpic_binary() 952 maddr = vm_mmap(NULL, load_addr, top - base, in elf_fdpic_map_file_constdisp_on_uclinux() 1086 maddr = vm_mmap(file, maddr, phdr->p_memsz + disp, prot, flags, in elf_fdpic_map_file_by_direct_mmap() 1131 xmaddr = vm_mmap(NULL, xaddr, excess - excess1, in elf_fdpic_map_file_by_direct_mmap()
|
D | binfmt_elf.c | 390 map_addr = vm_mmap(filep, addr, total_size, prot, type, off); in elf_map() 394 map_addr = vm_mmap(filep, addr, size, prot, type, off); in elf_map() 1328 error = vm_mmap(NULL, 0, PAGE_SIZE, PROT_READ | PROT_EXEC, in load_elf_binary() 1418 error = vm_mmap(file, in load_elf_library()
|
/linux-6.1.9/lib/ |
D | test_user_copy.c | 198 user_addr = vm_mmap(NULL, 0, PAGE_SIZE * 2, in test_user_copy_init()
|
/linux-6.1.9/mm/ |
D | util.c | 530 unsigned long vm_mmap(struct file *file, unsigned long addr, in vm_mmap() function 541 EXPORT_SYMBOL(vm_mmap);
|
/linux-6.1.9/drivers/gpu/drm/armada/ |
D | armada_gem.c | 324 addr = vm_mmap(dobj->obj.filp, 0, args->size, PROT_READ | PROT_WRITE, in armada_gem_mmap_ioctl()
|
/linux-6.1.9/drivers/gpu/drm/ |
D | drm_bufs.c | 1547 virtual = vm_mmap(file_priv->filp, 0, map->size, in __drm_legacy_mapbufs() 1552 virtual = vm_mmap(file_priv->filp, 0, dma->byte_count, in __drm_legacy_mapbufs()
|
/linux-6.1.9/drivers/gpu/drm/i915/gem/ |
D | i915_gem_mman.c | 99 addr = vm_mmap(obj->base.filp, 0, args->size, in i915_gem_mmap_ioctl()
|
/linux-6.1.9/drivers/gpu/drm/i810/ |
D | i810_dma.c | 140 buf_priv->virtual = (void *)vm_mmap(file_priv->filp, 0, buf->total, in i810_map_buffer()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_process.c | 1216 qpd->tba_addr = (int64_t)vm_mmap(filep, 0, in kfd_process_init_cwsr_apu()
|
/linux-6.1.9/include/linux/ |
D | mm.h | 2775 extern unsigned long __must_check vm_mmap(struct file *, unsigned long,
|
/linux-6.1.9/arch/x86/kvm/ |
D | x86.c | 12504 hva = vm_mmap(NULL, 0, size, PROT_READ | PROT_WRITE, in __x86_set_memory_region()
|