Searched refs:HAST_ROLE_SECONDARY (Results 1 – 8 of 8) sorted by relevance
137 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()
109 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()
146 case HAST_ROLE_SECONDARY: in role2str()241 res->hr_role == HAST_ROLE_SECONDARY); in drop_privs()
73 #define HAST_ROLE_SECONDARY 3 macro
290 case HAST_ROLE_SECONDARY: in control_status()357 case HAST_ROLE_SECONDARY: in control_handle()
1071 role2str(HAST_ROLE_SECONDARY), in hastd_primary()
511 nv_add_uint8(nv, HAST_ROLE_SECONDARY, "role"); in main()
173 return (HAST_ROLE_SECONDARY); in str2role()