Searched refs:CLONE_VM (Results 1 - 25 of 27) sorted by relevance

12

/linux-master/arch/alpha/kernel/
H A Dasm-offsets.c39 DEFINE(CLONE_VM, CLONE_VM);
/linux-master/tools/testing/selftests/proc/
H A Dthread-self.c59 pid = clone(f, stack + PAGE_SIZE, CLONE_THREAD|CLONE_SIGHAND|CLONE_VM, (void *)1);
/linux-master/arch/um/drivers/
H A Dubd_user.c50 pid = clone(io_thread, (void *) sp, CLONE_FILES | CLONE_VM, NULL);
/linux-master/include/uapi/linux/
H A Dsched.h11 #define CLONE_VM 0x00000100 /* set if VM shared between processes */ macro
/linux-master/tools/include/uapi/linux/
H A Dsched.h11 #define CLONE_VM 0x00000100 /* set if VM shared between processes */ macro
/linux-master/include/linux/
H A Duser_events.h45 if (clone_flags & CLONE_VM) {
H A Drseq.h66 * child inherits. Unregister rseq for a clone with CLONE_VM set.
70 if (clone_flags & CLONE_VM) {
/linux-master/kernel/
H A Dvhost_task.c110 .flags = CLONE_FS | CLONE_UNTRACED | CLONE_VM |
H A Dfork.c1733 if (clone_flags & CLONE_VM) {
2102 if ((clone_flags & (CLONE_VM | CLONE_THREAD | CLONE_VFORK)) != CLONE_VM)
2169 if ((clone_flags & CLONE_SIGHAND) && !(clone_flags & CLONE_VM))
2441 if ((clone_flags & (CLONE_VM|CLONE_VFORK)) == CLONE_VM)
2709 .flags = CLONE_VM,
2736 .flags = ((lower_32_bits(flags) | CLONE_VM |
2821 if (IS_ENABLED(CONFIG_LRU_GEN_WALKS_MMU) && !(clone_flags & CLONE_VM)) {
2850 .flags = ((lower_32_bits(flags) | CLONE_VM |
[all...]
H A Dnsproxy.c160 if ((flags & CLONE_VM) ||
183 if ((flags & CLONE_VM) == 0)
/linux-master/arch/sparc/kernel/
H A Dprocess.c47 .flags = CLONE_VFORK | CLONE_VM,
/linux-master/tools/testing/selftests/move_mount_set_group/
H A Dmove_mount_set_group_test.c359 CLONE_VM | CLONE_FILES); ASSERT_GT(pid, 0);
363 CLONE_VM | CLONE_FILES); ASSERT_GT(pid, 0);
/linux-master/tools/testing/selftests/powerpc/dexcr/
H A Dhashchk_test.c205 CLONE_VM | SIGCHLD, NULL);
/linux-master/arch/um/os-Linux/
H A Dhelper.c75 pid = clone(helper_child, (void *) sp, CLONE_VM, &data);
H A Dsigio.c328 CLONE_FILES | CLONE_VM,
/linux-master/arch/xtensa/kernel/
H A Dasm-offsets.c126 DEFINE(_CLONE_VM, CLONE_VM);
H A Dprocess.c231 * It is expected to copy parent regs (in case CLONE_VM is not set
316 if (clone_flags & CLONE_VM) {
/linux-master/tools/testing/selftests/memfd/
H A Dfuse_test.c213 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM,
/linux-master/tools/testing/selftests/pidfd/
H A Dpidfd_setns_test.c351 ASSERT_NE(setns(self->pidfd, CLONE_VM), 0);
354 ASSERT_NE(setns(self->pidfd, CLONE_NEWUSER | CLONE_VM), 0);
/linux-master/arch/x86/kernel/
H A Dprocess.c191 if (p->mm && (clone_flags & (CLONE_VM | CLONE_VFORK)) == CLONE_VM)
H A Dshstk.c219 * For !CLONE_VM the child will use a copy of the parents shadow
222 if (!(clone_flags & CLONE_VM))
414 * When fork() with CLONE_VM fails, the child (tsk) already has a
/linux-master/tools/testing/selftests/sched/
H A Dcs_prctl_test.c64 const int THREAD_CLONE_FLAGS = CLONE_THREAD | CLONE_SIGHAND | CLONE_FS | CLONE_VM | CLONE_FILES;
/linux-master/tools/testing/selftests/user_events/
H A Dabi_test.c411 CLONE_VM | SIGCHLD, &self->check));
/linux-master/tools/testing/selftests/x86/
H A Dlam.c765 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, NULL);
793 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, test);
/linux-master/tools/testing/selftests/cgroup/
H A Dtest_core.c802 CLONE_NEWCGROUP | CLONE_FILES | CLONE_VM | SIGCHLD,

Completed in 397 milliseconds

12