Searched refs:hr_workerpid (Results 1 - 5 of 5) sorted by relevance

/freebsd-9.3-release/sbin/hastd/
H A Dcontrol.c70 res->hr_workerpid = 0;
117 if (res->hr_workerpid != 0) {
118 if (kill(res->hr_workerpid, SIGTERM) == -1) {
121 (unsigned int)res->hr_workerpid);
122 } else if (waitpid(res->hr_workerpid, NULL, 0) !=
123 res->hr_workerpid) {
126 (unsigned int)res->hr_workerpid);
129 (unsigned int)res->hr_workerpid);
284 nv_add_int32(nvout, res->hr_workerpid, "workerpid%u", no);
288 PJDLOG_ASSERT(res->hr_workerpid !
[all...]
H A Dhastd.c333 if (pid == res->hr_workerpid)
690 if (cres->hr_workerpid != 0)
730 if (res->hr_workerpid == 0)
733 res->hr_name, role2str(res->hr_role), res->hr_workerpid);
734 if (kill(res->hr_workerpid, SIGTERM) == 0)
738 res->hr_name, role2str(res->hr_role), res->hr_workerpid);
878 if (res->hr_workerpid != 0) {
882 (unsigned int)res->hr_workerpid);
884 if (kill(res->hr_workerpid, SIGINT) == -1) {
887 (unsigned int)res->hr_workerpid);
[all...]
H A Dhast.h221 pid_t hr_workerpid; member in struct:hast_resource
H A Dsecondary.c452 res->hr_workerpid = pid;
H A Dprimary.c1015 res->hr_workerpid = pid;

Completed in 58 milliseconds