Home
last modified time | relevance | path

Searched refs:vm_mmap (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/misc/lkdtm/
Dusercopy.c80 user_addr = vm_mmap(NULL, 0, PAGE_SIZE, in do_usercopy_stack()
148 user_addr = vm_mmap(NULL, 0, PAGE_SIZE, in do_usercopy_heap_size()
222 user_alloc = vm_mmap(NULL, 0, PAGE_SIZE, in do_usercopy_heap_whitelist()
310 user_addr = vm_mmap(NULL, 0, PAGE_SIZE, in lkdtm_USERCOPY_KERNEL()
327 vm_mmap); in lkdtm_USERCOPY_KERNEL()
328 if (copy_to_user((void __user *)user_addr, function_nocfi(vm_mmap), in lkdtm_USERCOPY_KERNEL()
Dperms.c161 user_addr = vm_mmap(NULL, 0, PAGE_SIZE, in lkdtm_EXEC_USERSPACE()
182 user_addr = vm_mmap(NULL, 0, PAGE_SIZE, in lkdtm_ACCESS_USERSPACE()
/kernel/linux/linux-5.10/fs/
Dbinfmt_aout.c223 error = vm_mmap(bprm->file, N_TXTADDR(ex), ex.a_text, in load_aout_binary()
231 error = vm_mmap(bprm->file, N_DATADDR(ex), ex.a_data, in load_aout_binary()
310 error = vm_mmap(file, start_addr, ex.a_text + ex.a_data, in load_aout_library()
Dbinfmt_flat.c593 textpos = vm_mmap(bprm->file, 0, text_len, PROT_READ|PROT_EXEC, in load_flat_file()
605 realdatastart = vm_mmap(NULL, 0, len, in load_flat_file()
651 textpos = vm_mmap(NULL, 0, len, in load_flat_file()
Dbinfmt_elf_fdpic.c421 current->mm->start_brk = vm_mmap(NULL, 0, stack_size, stack_prot, in load_elf_fdpic_binary()
953 maddr = vm_mmap(NULL, load_addr, top - base, in elf_fdpic_map_file_constdisp_on_uclinux()
1090 maddr = vm_mmap(file, maddr, phdr->p_memsz + disp, prot, flags, in elf_fdpic_map_file_by_direct_mmap()
1135 xmaddr = vm_mmap(NULL, xaddr, excess - excess1, in elf_fdpic_map_file_by_direct_mmap()
Dbinfmt_elf.c385 map_addr = vm_mmap(filep, addr, total_size, prot, type, off); in elf_map()
389 map_addr = vm_mmap(filep, addr, size, prot, type, off); in elf_map()
1326 error = vm_mmap(NULL, 0, PAGE_SIZE, PROT_READ | PROT_EXEC, in load_elf_binary()
1416 error = vm_mmap(file, in load_elf_library()
/kernel/linux/linux-5.10/arch/x86/ia32/
Dia32_aout.c203 error = vm_mmap(bprm->file, N_TXTADDR(ex), ex.a_text, in load_aout_binary()
212 error = vm_mmap(bprm->file, N_DATADDR(ex), ex.a_data, in load_aout_binary()
294 error = vm_mmap(file, start_addr, ex.a_text + ex.a_data, in load_aout_library()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Digt_mmap.c32 addr = vm_mmap(file, addr, drm_vma_node_size(node) << PAGE_SHIFT, in igt_mmap_node()
/kernel/linux/linux-5.10/lib/
Dtest_kasan_module.c31 usermem = (char __user *)vm_mmap(NULL, 0, PAGE_SIZE, in copy_user_test()
Dtest_user_copy.c198 user_addr = vm_mmap(NULL, 0, PAGE_SIZE * 2, in test_user_copy_init()
/kernel/linux/linux-5.10/mm/
Dutil.c549 unsigned long vm_mmap(struct file *file, unsigned long addr, in vm_mmap() function
560 EXPORT_SYMBOL(vm_mmap);
/kernel/linux/linux-5.10/drivers/gpu/drm/armada/
Darmada_gem.c312 addr = vm_mmap(dobj->obj.filp, 0, args->size, PROT_READ | PROT_WRITE, in armada_gem_mmap_ioctl()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_bufs.c1524 virtual = vm_mmap(file_priv->filp, 0, map->size, in __drm_legacy_mapbufs()
1529 virtual = vm_mmap(file_priv->filp, 0, dma->byte_count, in __drm_legacy_mapbufs()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_mman.c86 addr = vm_mmap(obj->base.filp, 0, args->size, in i915_gem_mmap_ioctl()
/kernel/linux/common_modules/tzdriver/core/
Dagent.c822 user_addr = vm_mmap(NULL, 0, size, PROT_READ | PROT_WRITE, in agent_buffer_map()
/kernel/linux/linux-5.10/drivers/gpu/drm/i810/
Di810_dma.c142 buf_priv->virtual = (void *)vm_mmap(file_priv->filp, 0, buf->total, in i810_map_buffer()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_process.c1092 qpd->tba_addr = (int64_t)vm_mmap(filep, 0, in kfd_process_init_cwsr_apu()
/kernel/linux/linux-5.10/include/linux/
Dmm.h2664 extern unsigned long __must_check vm_mmap(struct file *, unsigned long,
/kernel/linux/linux-5.10/arch/x86/kvm/
Dx86.c10721 hva = vm_mmap(NULL, 0, size, PROT_READ | PROT_WRITE, in __x86_set_memory_region()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0038_linux_drivers_mxc.patch137110 + userLogical = (gctPOINTER)vm_mmap(gcvNULL,
137693 + userLogical = (gctINT8_PTR)vm_mmap(fd,
138922 + userLogical = (gctPOINTER)vm_mmap(NULL,
139618 + userLogical = (gctPOINTER)vm_mmap(NULL, 0L, res->size,
141388 + userLogical = (gctPOINTER)vm_mmap(gcvNULL,