Home
last modified time | relevance | path

Searched refs:forkret (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_local_storage_rcu_tasks_trace.c131 int i, err, forkret, runner_pid; in local_storage_tasks_trace_setup() local
136 forkret = fork(); in local_storage_tasks_trace_setup()
137 if (forkret < 0) { in local_storage_tasks_trace_setup()
143 if (!forkret) { in local_storage_tasks_trace_setup()
/linux/tools/testing/selftests/mm/
H A Dprotection_keys.c447 pid_t forkret; in fork_lazy_child() local
449 forkret = fork(); in fork_lazy_child()
450 pkey_assert(forkret >= 0); in fork_lazy_child()
451 dprintf3("[%d] fork() ret: %d\n", getpid(), forkret); in fork_lazy_child()
453 if (!forkret) { in fork_lazy_child()
460 return forkret; in fork_lazy_child()
1185 pid_t forkret; in become_child() local
1187 forkret = fork(); in become_child()
1188 pkey_assert(forkret >= 0); in become_child()
1189 dprintf3("[%d] fork() ret: %d\n", getpid(), forkret); in become_child()
[all …]