Home
last modified time | relevance | path

Searched refs:hr_role (Results 1 – 7 of 7) sorted by relevance

/freebsd/sbin/hastd/
H A Dhastd.c108 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 Dsubr.c188 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 Devent.c136 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role)); in event_recv()
H A Dhast.h217 int hr_role; member
H A Dsecondary.c470 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 Dparse.y536 curres->hr_role = HAST_ROLE_INIT;
H A Dprimary.c1033 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()