| /freebsd-14.2/sbin/hastd/ |
| H A D | control.c | 98 nv_add_string(nvout, role2str(res->hr_role), "role%u", no); in control_set_role_common() 104 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role)); in control_set_role_common() 105 pjdlog_info("Role changed to %s.", role2str(role)); in control_set_role_common() 110 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role)); in control_set_role_common() 137 hook_exec(res->hr_exec, "role", res->hr_name, role2str(oldrole), in control_set_role_common() 138 role2str(res->hr_role), NULL); in control_set_role_common() 282 nv_add_string(nvout, role2str(res->hr_role), "role%u", no); in control_status()
|
| H A D | hastd.c | 186 role2str(res->hr_role)); in descriptors_assert() 302 role2str(res->hr_role)); in descriptors_assert() 346 role2str(res->hr_role)); in child_exit() 363 role2str(res->hr_role)); in child_exit() 733 res->hr_name, role2str(res->hr_role), res->hr_workerpid); in terminate_workers() 738 res->hr_name, role2str(res->hr_role), res->hr_workerpid); in terminate_workers() 838 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role)); 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() 992 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role)); in connection_migrate()
|
| H A D | subr.h | 53 const char *role2str(int role);
|
| H A D | subr.c | 138 role2str(int role) in role2str() function 189 res->hr_name, role2str(res->hr_role)); in drop_privs()
|
| H A D | event.c | 136 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role)); in event_recv()
|
| H A D | metadata.c | 202 nv_add_string(nv, role2str(res->hr_role), "prevrole"); in metadata_write()
|
| H A D | secondary.c | 471 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role)); in hastd_secondary() 472 setproctitle("%s (%s)", res->hr_name, role2str(res->hr_role)); in hastd_secondary()
|
| H A D | primary.c | 1034 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role)); in hastd_primary() 1035 setproctitle("%s (%s)", res->hr_name, role2str(res->hr_role)); in hastd_primary() 1071 role2str(HAST_ROLE_SECONDARY), in hastd_primary() 1083 role2str(HAST_ROLE_PRIMARY)); in hastd_primary()
|
| /freebsd-14.2/contrib/openbsm/bin/auditdistd/ |
| H A D | auditdistd.c | 172 role2str(adhost->adh_role)); in child_exit() 188 role2str(adhost->adh_role)); in child_exit() 213 adhost->adh_name, role2str(adhost->adh_role), in terminate_workers() 219 adhost->adh_name, role2str(adhost->adh_role), in terminate_workers() 322 role2str(adhost->adh_role)); in listen_accept() 426 role2str(adhost->adh_role)); in connection_migrate() 601 pjdlog_debug(2, " role: %s", role2str(adhost->adh_role)); in adist_config_dump()
|
| H A D | subr.h | 45 const char *role2str(int role);
|
| H A D | receiver.c | 682 role2str(adhost->adh_role)); in adist_receiver() 684 setproctitle("%s (%s)", adhost->adh_name, role2str(adhost->adh_role)); in adist_receiver() 700 role2str(adhost->adh_role), adhost->adh_name) != 0) { in adist_receiver()
|
| H A D | sender.c | 790 role2str(adhost->adh_role)); in adist_sender() 793 role2str(adhost->adh_role)); in adist_sender() 806 role2str(adhost->adh_role), adhost->adh_name) != 0) { in adist_sender()
|
| H A D | subr.c | 75 role2str(int role) in role2str() function
|
| /freebsd-14.2/sbin/hastctl/ |
| H A D | hastctl.c | 217 printf(" prevrole: %s\n", role2str(res->hr_previous_role)); in dump_one()
|