Home
last modified time | relevance | path

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

/freebsd-11-stable/sbin/hastd/
HDmetadata.c139 if (res->hr_role != HAST_ROLE_SECONDARY) { in metadata_read()
149 res->hr_previous_role = HAST_ROLE_SECONDARY; in metadata_read()
201 PJDLOG_ASSERT(res->hr_role == HAST_ROLE_SECONDARY); in metadata_write()
HDhastd.c111 PJDLOG_VERIFY(res->hr_role == HAST_ROLE_SECONDARY || in descriptors_cleanup()
255 } else if (res->hr_role == HAST_ROLE_SECONDARY && in descriptors_assert()
264 } else if (res->hr_role == HAST_ROLE_SECONDARY && in descriptors_assert()
278 } else if (res->hr_role == HAST_ROLE_SECONDARY && in descriptors_assert()
384 res0->hr_role == HAST_ROLE_SECONDARY) { in resource_needs_restart()
849 if (res->hr_role != HAST_ROLE_SECONDARY) { in listen_accept()
851 role2str(res->hr_role), role2str(HAST_ROLE_SECONDARY), in listen_accept()
855 role2str(res->hr_role), role2str(HAST_ROLE_SECONDARY)); in listen_accept()
HDsubr.c148 case HAST_ROLE_SECONDARY: in role2str()
243 res->hr_role == HAST_ROLE_SECONDARY); in drop_privs()
HDhast.h75 #define HAST_ROLE_SECONDARY 3 macro
HDcontrol.c292 case HAST_ROLE_SECONDARY: in control_status()
359 case HAST_ROLE_SECONDARY: in control_handle()
HDprimary.c1073 role2str(HAST_ROLE_SECONDARY), in hastd_primary()
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_hast/
HDhast_snmp.c175 return (HAST_ROLE_SECONDARY); in str2role()
/freebsd-11-stable/sbin/hastctl/
HDhastctl.c513 nv_add_uint8(nv, HAST_ROLE_SECONDARY, "role"); in main()