Searched refs:hr_role (Results 1 – 7 of 7) sorted by relevance
/freebsd/sbin/hastd/ |
H A D | hastd.c | 108 PJDLOG_VERIFY(res->hr_role == HAST_ROLE_SECONDARY || in descriptors_cleanup() 185 role2str(res->hr_role)); in descriptors_assert() 238 } else if (res->hr_role == HAST_ROLE_PRIMARY && in descriptors_assert() 252 } else if (res->hr_role == HAST_ROLE_SECONDARY && in descriptors_assert() 261 } else if (res->hr_role == HAST_ROLE_SECONDARY && in descriptors_assert() 275 } else if (res->hr_role == HAST_ROLE_SECONDARY && in descriptors_assert() 301 role2str(res->hr_role)); in descriptors_assert() 345 role2str(res->hr_role)); in child_exit() 348 if (res->hr_role == HAST_ROLE_PRIMARY) { in child_exit() 360 res->hr_role = HAST_ROLE_INIT; in child_exit() [all …]
|
H A D | subr.c | 188 res->hr_name, role2str(res->hr_role)); in drop_privs() 239 PJDLOG_ASSERT(res->hr_role == HAST_ROLE_PRIMARY || in drop_privs() 240 res->hr_role == HAST_ROLE_SECONDARY); in drop_privs() 254 if (res->hr_role == HAST_ROLE_PRIMARY) { in drop_privs()
|
H A D | event.c | 136 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role)); in event_recv()
|
H A D | hast.h | 217 int hr_role; member
|
H A D | secondary.c | 470 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role)); in hastd_secondary() 471 setproctitle("%s (%s)", res->hr_name, role2str(res->hr_role)); in hastd_secondary()
|
H A D | parse.y | 536 curres->hr_role = HAST_ROLE_INIT;
|
H A D | primary.c | 1033 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role)); in hastd_primary() 1034 setproctitle("%s (%s)", res->hr_name, role2str(res->hr_role)); in hastd_primary() 2221 PJDLOG_ASSERT(res->hr_role == HAST_ROLE_PRIMARY); in primary_config_reload()
|