Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/alpha/kernel/
A Dasm-offsets.c39 DEFINE(CLONE_VM, CLONE_VM); in foo()
/linux-6.3-rc2/kernel/
A Dfork.c1595 if (clone_flags & CLONE_VM) { in copy_mm()
1981 if ((clone_flags & (CLONE_VM | CLONE_THREAD | CLONE_VFORK)) != CLONE_VM) in copy_oom_score_adj()
2327 if ((clone_flags & (CLONE_VM|CLONE_VFORK)) == CLONE_VM) in copy_process()
2597 .flags = CLONE_VM, in fork_idle()
2624 .flags = ((lower_32_bits(flags) | CLONE_VM | in create_io_thread()
2736 .flags = ((lower_32_bits(flags) | CLONE_VM | in kernel_thread()
2753 .flags = ((lower_32_bits(flags) | CLONE_VM | in user_mode_thread()
2783 .flags = CLONE_VFORK | CLONE_VM, in SYSCALL_DEFINE0()
3080 CLONE_VM|CLONE_FILES|CLONE_SYSVSEM| in check_unshare_flags()
3099 if (unshare_flags & CLONE_VM) { in check_unshare_flags()
[all …]
A Dnsproxy.c160 if ((flags & CLONE_VM) || in copy_namespaces()
183 if ((flags & CLONE_VM) == 0) in copy_namespaces()
/linux-6.3-rc2/tools/testing/selftests/proc/
A Dthread-self.c59 pid = clone(f, stack + PAGE_SIZE, CLONE_THREAD|CLONE_SIGHAND|CLONE_VM, (void *)1); in main()
/linux-6.3-rc2/arch/um/drivers/
A Dubd_user.c50 pid = clone(io_thread, (void *) sp, CLONE_FILES | CLONE_VM, NULL); in start_io_thread()
/linux-6.3-rc2/tools/testing/selftests/move_mount_set_group/
A Dmove_mount_set_group_test.c359 CLONE_VM | CLONE_FILES); ASSERT_GT(pid, 0); in TEST_F()
363 CLONE_VM | CLONE_FILES); ASSERT_GT(pid, 0); in TEST_F()
/linux-6.3-rc2/include/uapi/linux/
A Dsched.h11 #define CLONE_VM 0x00000100 /* set if VM shared between processes */ macro
/linux-6.3-rc2/tools/include/uapi/linux/
A Dsched.h11 #define CLONE_VM 0x00000100 /* set if VM shared between processes */ macro
/linux-6.3-rc2/arch/sparc/kernel/
A Dprocess.c47 .flags = CLONE_VFORK | CLONE_VM, in sparc_vfork()
/linux-6.3-rc2/arch/um/os-Linux/
A Dhelper.c75 pid = clone(helper_child, (void *) sp, CLONE_VM, &data); in run_helper()
A Dsigio.c327 CLONE_FILES | CLONE_VM, in write_sigio_workaround()
/linux-6.3-rc2/tools/testing/selftests/memfd/
A Dfuse_test.c213 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, in spawn_sealing_thread()
A Dmemfd_test.c1407 pid = spawn_idle_thread(CLONE_FILES | CLONE_FS | CLONE_VM); in main()
/linux-6.3-rc2/Documentation/userspace-api/
A 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-6.3-rc2/arch/xtensa/kernel/
A Dprocess.c316 if (clone_flags & CLONE_VM) { in copy_thread()
A Dasm-offsets.c126 DEFINE(_CLONE_VM, CLONE_VM); in main()
/linux-6.3-rc2/tools/testing/selftests/pidfd/
A Dpidfd_setns_test.c351 ASSERT_NE(setns(self->pidfd, CLONE_VM), 0); in TEST_F()
354 ASSERT_NE(setns(self->pidfd, CLONE_NEWUSER | CLONE_VM), 0); in TEST_F()
/linux-6.3-rc2/tools/testing/selftests/sched/
A Dcs_prctl_test.c64 const int THREAD_CLONE_FLAGS = CLONE_THREAD | CLONE_SIGHAND | CLONE_FS | CLONE_VM | CLONE_FILES;
/linux-6.3-rc2/arch/ia64/kernel/
A Dasm-offsets.c201 DEFINE(IA64_CLONE_VM, CLONE_VM); in foo()
/linux-6.3-rc2/Documentation/admin-guide/mm/
A Dnommu-mmap.rst14 the CLONE_VM flag.
30 shared across fork() or clone() without CLONE_VM in the MMU case. Since
A Dnuma_memory_policy.rst54 [clone() w/o the CLONE_VM flag] and exec*(). This allows a parent task
/linux-6.3-rc2/tools/testing/selftests/cgroup/
A Dtest_core.c802 CLONE_NEWCGROUP | CLONE_FILES | CLONE_VM | SIGCHLD, in test_cgcore_lesser_ns_open()
/linux-6.3-rc2/include/linux/
A Dsched.h2359 if (clone_flags & CLONE_VM) { in rseq_fork()
/linux-6.3-rc2/kernel/sched/
A Dfair.c3109 if (!(clone_flags & CLONE_VM)) { in init_numa_balancing()

Completed in 60 milliseconds