Lines Matching refs:si

2592                 const siginfo_t *si) {  in manager_invoke_sigchld_event()  argument
2596 assert(si); in manager_invoke_sigchld_event()
2603 log_unit_debug(u, "Child "PID_FMT" belongs to %s.", si->si_pid, u->id); in manager_invoke_sigchld_event()
2604 unit_unwatch_pid(u, si->si_pid); in manager_invoke_sigchld_event()
2607 UNIT_VTABLE(u)->sigchld_event(u, si->si_pid, si->si_code, si->si_status); in manager_invoke_sigchld_event()
2612 siginfo_t si = {}; in manager_dispatch_sigchld() local
2621 if (waitid(P_ALL, 0, &si, WEXITED|WNOHANG|WNOWAIT) < 0) { in manager_dispatch_sigchld()
2629 if (si.si_pid <= 0) in manager_dispatch_sigchld()
2632 if (IN_SET(si.si_code, CLD_EXITED, CLD_KILLED, CLD_DUMPED)) { in manager_dispatch_sigchld()
2637 (void) get_process_comm(si.si_pid, &name); in manager_dispatch_sigchld()
2640 si.si_pid, strna(name), in manager_dispatch_sigchld()
2641 sigchld_code_to_string(si.si_code), in manager_dispatch_sigchld()
2642 si.si_status, in manager_dispatch_sigchld()
2643 strna(si.si_code == CLD_EXITED in manager_dispatch_sigchld()
2644 ? exit_status_to_string(si.si_status, EXIT_STATUS_FULL) in manager_dispatch_sigchld()
2645 : signal_to_string(si.si_status))); in manager_dispatch_sigchld()
2651 u1 = manager_get_unit_by_pid_cgroup(m, si.si_pid); in manager_dispatch_sigchld()
2652 u2 = hashmap_get(m->watch_pids, PID_TO_PTR(si.si_pid)); in manager_dispatch_sigchld()
2653 array = hashmap_get(m->watch_pids, PID_TO_PTR(-si.si_pid)); in manager_dispatch_sigchld()
2678 manager_invoke_sigchld_event(m, u1, &si); in manager_dispatch_sigchld()
2681 manager_invoke_sigchld_event(m, u2, &si); in manager_dispatch_sigchld()
2684 manager_invoke_sigchld_event(m, array_copy[i], &si); in manager_dispatch_sigchld()
2688 if (waitid(P_PID, si.si_pid, &si, WEXITED) < 0) { in manager_dispatch_sigchld()