Home
last modified time | relevance | path

Searched refs:CLONE_VM (Results 1 – 18 of 18) sorted by relevance

/Linux-v4.19/arch/alpha/kernel/
Dasm-offsets.c37 DEFINE(CLONE_VM, CLONE_VM); in foo()
/Linux-v4.19/tools/include/uapi/linux/
Dsched.h9 #define CLONE_VM 0x00000100 /* set if VM shared between processes */ macro
/Linux-v4.19/include/uapi/linux/
Dsched.h9 #define CLONE_VM 0x00000100 /* set if VM shared between processes */ macro
/Linux-v4.19/tools/testing/selftests/proc/
Dthread-self.c59 pid = clone(f, stack + PAGE_SIZE, CLONE_THREAD|CLONE_SIGHAND|CLONE_VM, (void *)1); in main()
/Linux-v4.19/arch/um/drivers/
Dubd_user.c50 pid = clone(io_thread, (void *) sp, CLONE_FILES | CLONE_VM, NULL); in start_io_thread()
/Linux-v4.19/kernel/
Dfork.c1322 if (clone_flags & CLONE_VM) { in copy_mm()
1664 if ((clone_flags & CLONE_SIGHAND) && !(clone_flags & CLONE_VM)) in copy_process()
1904 if ((clone_flags & (CLONE_VM|CLONE_VFORK)) == CLONE_VM) in copy_process()
2119 task = copy_process(CLONE_VM, 0, 0, NULL, &init_struct_pid, 0, 0, in fork_idle()
2225 return _do_fork(flags|CLONE_VM|CLONE_UNTRACED, (unsigned long)fn, in kernel_thread()
2244 return _do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, 0, in SYSCALL_DEFINE0()
2366 CLONE_VM|CLONE_FILES|CLONE_SYSVSEM| in check_unshare_flags()
2376 if (unshare_flags & (CLONE_THREAD | CLONE_SIGHAND | CLONE_VM)) { in check_unshare_flags()
2380 if (unshare_flags & (CLONE_SIGHAND | CLONE_VM)) { in check_unshare_flags()
2384 if (unshare_flags & CLONE_VM) { in check_unshare_flags()
[all …]
/Linux-v4.19/arch/um/os-Linux/
Daio.c219 CLONE_FILES | CLONE_VM, &aio_stack); in init_aio_24()
255 CLONE_FILES | CLONE_VM, &aio_stack); in init_aio_26()
Dhelper.c74 pid = clone(helper_child, (void *) sp, CLONE_VM, &data); in run_helper()
Dsigio.c309 CLONE_FILES | CLONE_VM, in write_sigio_workaround()
/Linux-v4.19/tools/testing/selftests/memfd/
Dfuse_test.c212 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, in spawn_sealing_thread()
Dmemfd_test.c959 pid = spawn_idle_thread(CLONE_FILES | CLONE_FS | CLONE_VM); in main()
/Linux-v4.19/Documentation/userspace-api/
Dunshare.rst161 CLONE_VM
162 If CLONE_VM is set, the virtual memory of the caller is
263 Force implied flags. If CLONE_THREAD is set force CLONE_VM.
264 If CLONE_VM is set, force CLONE_SIGHAND. If CLONE_SIGHAND is
/Linux-v4.19/arch/xtensa/kernel/
Dprocess.c247 if (clone_flags & CLONE_VM) { in copy_thread()
Dasm-offsets.c120 DEFINE(_CLONE_VM, CLONE_VM); in main()
/Linux-v4.19/arch/ia64/kernel/
Dasm-offsets.c201 DEFINE(IA64_CLONE_VM, CLONE_VM); in foo()
/Linux-v4.19/Documentation/
Dnommu-mmap.txt14 the CLONE_VM flag.
30 shared across fork() or clone() without CLONE_VM in the MMU case. Since
/Linux-v4.19/Documentation/admin-guide/mm/
Dnuma_memory_policy.rst56 [clone() w/o the CLONE_VM flag] and exec*(). This allows a parent task
/Linux-v4.19/kernel/sched/
Dfair.c1162 if (!(clone_flags & CLONE_VM)) { in init_numa_balancing()