Home
last modified time | relevance | path

Searched refs:HAST_ROLE_SECONDARY (Results 1 – 8 of 8) sorted by relevance

/NextBSD/sbin/hastd/
HDmetadata.c137 if (res->hr_role != HAST_ROLE_SECONDARY) { in metadata_read()
147 res->hr_previous_role = HAST_ROLE_SECONDARY; in metadata_read()
199 PJDLOG_ASSERT(res->hr_role == HAST_ROLE_SECONDARY); in metadata_write()
HDhastd.c109 PJDLOG_VERIFY(res->hr_role == HAST_ROLE_SECONDARY || in descriptors_cleanup()
253 } else if (res->hr_role == HAST_ROLE_SECONDARY && in descriptors_assert()
262 } else if (res->hr_role == HAST_ROLE_SECONDARY && in descriptors_assert()
276 } else if (res->hr_role == HAST_ROLE_SECONDARY && in descriptors_assert()
382 res0->hr_role == HAST_ROLE_SECONDARY) { in resource_needs_restart()
847 if (res->hr_role != HAST_ROLE_SECONDARY) { in listen_accept()
849 role2str(res->hr_role), role2str(HAST_ROLE_SECONDARY), in listen_accept()
853 role2str(res->hr_role), role2str(HAST_ROLE_SECONDARY)); in listen_accept()
HDsubr.c146 case HAST_ROLE_SECONDARY: in role2str()
241 res->hr_role == HAST_ROLE_SECONDARY); in drop_privs()
HDhast.h73 #define HAST_ROLE_SECONDARY 3 macro
HDcontrol.c290 case HAST_ROLE_SECONDARY: in control_status()
357 case HAST_ROLE_SECONDARY: in control_handle()
HDprimary.c1071 role2str(HAST_ROLE_SECONDARY), in hastd_primary()
/NextBSD/sbin/hastctl/
HDhastctl.c511 nv_add_uint8(nv, HAST_ROLE_SECONDARY, "role"); in main()
/NextBSD/usr.sbin/bsnmpd/modules/snmp_hast/
HDhast_snmp.c173 return (HAST_ROLE_SECONDARY); in str2role()