Searched refs:chld (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/powerpc/ptrace/ |
| H A D | ptrace-syscall.c | 41 static void wait_trap(pid_t chld) in wait_trap() argument 45 if (waitid(P_PID, chld, &si, WEXITED|WSTOPPED) != 0) in wait_trap() 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() 92 if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0) in test_ptrace_syscall_restart() 94 wait_trap(chld); in test_ptrace_syscall_restart() [all …]
|
| /linux/tools/testing/selftests/x86/ |
| H A D | fsgsbase_restore.c | 154 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, ®s) != 0) in main() 207 if (ptrace(PTRACE_SETREGS, chld, NULL, ®s2) != 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, ®s) != 0) in main() 219 if (ptrace(PTRACE_DETACH, chld, NULL, NULL) != 0) in main() [all …]
|
| /linux/drivers/irqchip/ |
| H A D | irq-apple-aic.c | 1046 struct device_node *chld; in aic_of_ic_init() local 1048 for_each_child_of_node(affs, chld) in aic_of_ic_init() 1049 build_fiq_affinity(irqc, chld); in aic_of_ic_init()
|
| /linux/net/sched/ |
| H A D | sch_cake.c | 3297 struct Qdisc *chld = rtnl_dereference(netdev_get_tx_queue(dev, ntx)->qdisc_sleeping); in cake_mq_change() local 3298 struct cake_sched_data *qd = qdisc_priv(chld); in cake_mq_change() 3308 sch_tree_lock(chld); in cake_mq_change() 3309 cake_reconfigure(chld); in cake_mq_change() 3310 sch_tree_unlock(chld); in cake_mq_change()
|