Home
last modified time | relevance | path

Searched refs:chld (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/tools/testing/selftests/x86/
H A Dptrace_syscall.c159 if (chld < 0) in test_ptrace_syscall_restart()
162 if (chld == 0) { in test_ptrace_syscall_restart()
178 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) in test_ptrace_syscall_restart()
186 wait_trap(chld); in test_ptrace_syscall_restart()
217 wait_trap(chld); in test_ptrace_syscall_restart()
249 wait_trap(chld); in test_ptrace_syscall_restart()
265 if (waitpid(chld, &status, 0) != chld) in test_ptrace_syscall_restart()
279 if (chld < 0) in test_restart_under_ptrace()
299 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) in test_restart_under_ptrace()
354 if (waitpid(chld, &status, 0) != chld) in test_restart_under_ptrace()
[all …]
H A Dfsgsbase_restore.c154 pid_t chld = fork(); in main() local
155 if (chld < 0) in main()
158 if (chld == 0) { in main()
184 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) in main()
189 if (ptrace(PTRACE_GETREGS, chld, NULL, &regs) != 0) in main()
207 if (ptrace(PTRACE_SETREGS, chld, NULL, &regs2) != 0) in main()
209 if (ptrace(PTRACE_CONT, chld, NULL, NULL) != 0) in main()
213 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) in main()
217 if (ptrace(PTRACE_SETREGS, chld, NULL, &regs) != 0) in main()
219 if (ptrace(PTRACE_DETACH, chld, NULL, NULL) != 0) in main()
[all …]
/linux-6.15/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-syscall.c41 static void wait_trap(pid_t chld) in wait_trap() argument
47 if (si.si_pid != chld) in wait_trap()
57 pid_t chld; in test_ptrace_syscall_restart() local
61 chld = fork(); in test_ptrace_syscall_restart()
62 if (chld < 0) in test_ptrace_syscall_restart()
73 if (chld == 0) { in test_ptrace_syscall_restart()
88 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) in test_ptrace_syscall_restart()
94 wait_trap(chld); in test_ptrace_syscall_restart()
132 wait_trap(chld); in test_ptrace_syscall_restart()
175 wait_trap(chld); in test_ptrace_syscall_restart()
[all …]
/linux-6.15/drivers/irqchip/
H A Dirq-apple-aic.c1029 struct device_node *chld; in aic_of_ic_init() local
1031 for_each_child_of_node(affs, chld) in aic_of_ic_init()
1032 build_fiq_affinity(irqc, chld); in aic_of_ic_init()