Home
last modified time | relevance | path

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

/freebsd-12.1/sbin/hastd/
H A Dmetadata.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()
H A Dhastd.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()
H A Dsubr.c148 case HAST_ROLE_SECONDARY: in role2str()
243 res->hr_role == HAST_ROLE_SECONDARY); in drop_privs()
H A Dhast.h75 #define HAST_ROLE_SECONDARY 3 macro
H A Dcontrol.c292 case HAST_ROLE_SECONDARY: in control_status()
359 case HAST_ROLE_SECONDARY: in control_handle()
H A Dprimary.c1073 role2str(HAST_ROLE_SECONDARY), in hastd_primary()
/freebsd-12.1/sbin/hastctl/
H A Dhastctl.c513 nv_add_uint8(nv, HAST_ROLE_SECONDARY, "role"); in main()
/freebsd-12.1/usr.sbin/bsnmpd/modules/snmp_hast/
H A Dhast_snmp.c175 return (HAST_ROLE_SECONDARY); in str2role()