Home
last modified time | relevance | path

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

/linux-4.4.14/arch/alpha/kernel/
Dasm-offsets.c36 DEFINE(CLONE_VM, CLONE_VM); in foo()
/linux-4.4.14/include/uapi/linux/
Dsched.h8 #define CLONE_VM 0x00000100 /* set if VM shared between processes */ macro
/linux-4.4.14/arch/um/drivers/
Dubd_user.c43 pid = clone(io_thread, (void *) sp, CLONE_FILES | CLONE_VM, NULL); in start_io_thread()
/linux-4.4.14/kernel/
Dfork.c974 if (clone_flags & CLONE_VM) { in copy_mm()
1273 if ((clone_flags & CLONE_SIGHAND) && !(clone_flags & CLONE_VM)) in copy_process()
1487 if ((clone_flags & (CLONE_VM|CLONE_VFORK)) == CLONE_VM) in copy_process()
1678 task = copy_process(CLONE_VM, 0, 0, NULL, &init_struct_pid, 0, 0); in fork_idle()
1783 return _do_fork(flags|CLONE_VM|CLONE_UNTRACED, (unsigned long)fn, in kernel_thread()
1802 return _do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, 0, in SYSCALL_DEFINE0()
1883 CLONE_VM|CLONE_FILES|CLONE_SYSVSEM| in check_unshare_flags()
1893 if (unshare_flags & (CLONE_THREAD | CLONE_SIGHAND | CLONE_VM)) { in check_unshare_flags()
1897 if (unshare_flags & (CLONE_SIGHAND | CLONE_VM)) { in check_unshare_flags()
1901 if (unshare_flags & CLONE_VM) { in check_unshare_flags()
[all …]
/linux-4.4.14/arch/cris/kernel/
Dasm-offsets.c56 DEFINE(LCLONE_VM, CLONE_VM); in main()
/linux-4.4.14/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-4.4.14/tools/testing/selftests/memfd/
Dfuse_test.c213 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, in spawn_sealing_thread()
Dmemfd_test.c898 pid = spawn_idle_thread(CLONE_FILES | CLONE_FS | CLONE_VM); in main()
/linux-4.4.14/arch/mn10300/kernel/
Dasm-offsets.c79 DEFINE(CLONE_VM_asm, CLONE_VM); in foo()
/linux-4.4.14/Documentation/
Dunshare.txt154 CLONE_VM
155 If CLONE_VM is set, the virtual memory of the caller is
240 Force implied flags. If CLONE_THREAD is set force CLONE_VM.
241 If CLONE_VM is set, force CLONE_SIGHAND. If CLONE_SIGHAND is
Dnommu-mmap.txt14 the CLONE_VM flag.
30 shared across fork() or clone() without CLONE_VM in the MMU case. Since
/linux-4.4.14/arch/xtensa/kernel/
Dprocess.c235 if (clone_flags & CLONE_VM) { in copy_thread()
Dasm-offsets.c116 DEFINE(_CLONE_VM, CLONE_VM); in main()
/linux-4.4.14/arch/ia64/kernel/
Dasm-offsets.c204 DEFINE(IA64_CLONE_VM, CLONE_VM); in foo()
/linux-4.4.14/arch/powerpc/kernel/
Dasm-offsets.c364 DEFINE(CLONE_VM, CLONE_VM); in main()
/linux-4.4.14/Documentation/frv/
Dfeatures.txt277 or CLONE_VM'd group of tasks for as long as it exists. However, since the
/linux-4.4.14/Documentation/vm/
Dnuma_memory_policy.txt44 [clone() w/o the CLONE_VM flag] and exec*(). This allows a parent task
/linux-4.4.14/tools/lguest/
Dlguest.c1863 vq->thread = clone(do_thread, stack + 32768, CLONE_VM | SIGCHLD, vq); in start_virtqueue()
/linux-4.4.14/kernel/sched/
Dcore.c2132 if (clone_flags & CLONE_VM) in __sched_fork()