Searched refs:spawn_thread (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/selftests/memfd/ |
H A D | memfd_test.c | 760 static pid_t spawn_thread(unsigned int flags, int (*fn)(void *), void *arg) in spawn_thread() function 804 return spawn_thread(flags, idle_thread_fn, NULL); in spawn_idle_thread() 1278 int pid = spawn_thread(CLONE_NEWPID, sysctl_simple_child, NULL); in test_sysctl_simple() 1320 pid = spawn_thread(CLONE_NEWPID, sysctl_simple_child, NULL); in sysctl_nested_child() 1326 pid = spawn_thread(CLONE_NEWPID, sysctl_nested, test_sysctl_sysctl1); in sysctl_nested_child() 1329 pid = spawn_thread(CLONE_NEWPID, sysctl_nested, in sysctl_nested_child() 1333 pid = spawn_thread(CLONE_NEWPID, sysctl_nested, in sysctl_nested_child() 1342 pid = spawn_thread(CLONE_NEWPID, sysctl_nested, test_sysctl_sysctl2); in sysctl_nested_child() 1345 pid = spawn_thread(CLONE_NEWPID, sysctl_nested, in sysctl_nested_child() 1353 pid = spawn_thread(CLONE_NEWPI in sysctl_nested_child() [all...] |
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | uprobe_multi_test.c | 149 static int spawn_thread(struct child *child) in spawn_thread() function 333 if (!ASSERT_OK(spawn_thread(&child), "spawn_thread")) in test_attach_api() 739 if (!ASSERT_OK(spawn_thread(&child), "spawn_thread")) in test_link_api()
|