Home
last modified time | relevance | path

Searched refs:HAST_ROLE_PRIMARY (Results 1 – 5 of 5) sorted by relevance

/freebsd/sbin/hastd/
H A Dsubr.c143 case HAST_ROLE_PRIMARY: in role2str()
239 PJDLOG_ASSERT(res->hr_role == HAST_ROLE_PRIMARY || in drop_privs()
254 if (res->hr_role == HAST_ROLE_PRIMARY) { in drop_privs()
H A Dhastd.c238 } else if (res->hr_role == HAST_ROLE_PRIMARY && in descriptors_assert()
348 if (res->hr_role == HAST_ROLE_PRIMARY) { in child_exit()
415 if (res0->hr_role != HAST_ROLE_PRIMARY) in resource_needs_reload()
443 PJDLOG_ASSERT(res->hr_role == HAST_ROLE_PRIMARY); in resource_reload()
853 if (res->hr_role == HAST_ROLE_PRIMARY) { in listen_accept()
993 PJDLOG_ASSERT(res->hr_role == HAST_ROLE_PRIMARY); in connection_migrate()
1101 if (res->hr_role == HAST_ROLE_PRIMARY) { in main_loop()
1162 if (res->hr_role == HAST_ROLE_PRIMARY) { in main_loop()
H A Dhast.h72 #define HAST_ROLE_PRIMARY 2 macro
H A Dprimary.c1082 role2str(HAST_ROLE_PRIMARY)); in hastd_primary()
2221 PJDLOG_ASSERT(res->hr_role == HAST_ROLE_PRIMARY); in primary_config_reload()
/freebsd/usr.sbin/bsnmpd/modules/snmp_hast/
H A Dhast_snmp.c170 return (HAST_ROLE_PRIMARY); in str2role()