Lines Matching refs:hr_workerpid
332 if (pid == res->hr_workerpid) in child_exit()
689 if (cres->hr_workerpid != 0) in hastd_reload()
729 if (res->hr_workerpid == 0) in terminate_workers()
732 res->hr_name, role2str(res->hr_role), res->hr_workerpid); in terminate_workers()
733 if (kill(res->hr_workerpid, SIGTERM) == 0) in terminate_workers()
737 res->hr_name, role2str(res->hr_role), res->hr_workerpid); in terminate_workers()
877 if (res->hr_workerpid != 0) { in listen_accept()
881 (unsigned int)res->hr_workerpid); in listen_accept()
883 if (kill(res->hr_workerpid, SIGINT) == -1) { in listen_accept()
886 (unsigned int)res->hr_workerpid); in listen_accept()
893 else if ((pid = waitpid(res->hr_workerpid, in listen_accept()
894 &status, 0)) != res->hr_workerpid) { in listen_accept()
898 (unsigned int)res->hr_workerpid); in listen_accept()
900 child_exit_log(res->hr_workerpid, status); in listen_accept()