Searched refs:role2str (Results 1 - 14 of 14) sorted by relevance

/freebsd-11-stable/sbin/hastd/
H A Dsubr.h55 const char *role2str(int role);
H A Dcontrol.c101 nv_add_string(nvout, role2str(res->hr_role), "role%u", no);
107 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
108 pjdlog_info("Role changed to %s.", role2str(role));
113 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
140 hook_exec(res->hr_exec, "role", res->hr_name, role2str(oldrole),
141 role2str(res->hr_role), NULL);
285 nv_add_string(nvout, role2str(res->hr_role), "role%u", no);
H A Devent.c138 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
H A Dhastd.c188 role2str(res->hr_role));
304 role2str(res->hr_role));
348 role2str(res->hr_role));
365 role2str(res->hr_role));
735 res->hr_name, role2str(res->hr_role), res->hr_workerpid);
740 res->hr_name, role2str(res->hr_role), res->hr_workerpid);
840 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
851 role2str(res->hr_role), role2str(HAST_ROLE_SECONDARY),
855 role2str(re
[all...]
H A Dsubr.c140 role2str(int role) function
191 res->hr_name, role2str(res->hr_role));
H A Dmetadata.c205 nv_add_string(nv, role2str(res->hr_role), "prevrole");
H A Dsecondary.c473 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
474 setproctitle("%s (%s)", res->hr_name, role2str(res->hr_role));
H A Dprimary.c1036 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
1037 setproctitle("%s (%s)", res->hr_name, role2str(res->hr_role));
1073 role2str(HAST_ROLE_SECONDARY),
1085 role2str(HAST_ROLE_PRIMARY));
/freebsd-11-stable/contrib/openbsm/bin/auditdistd/
H A Dsubr.h45 const char *role2str(int role);
H A Dauditdistd.c172 role2str(adhost->adh_role));
188 role2str(adhost->adh_role));
213 adhost->adh_name, role2str(adhost->adh_role),
219 adhost->adh_name, role2str(adhost->adh_role),
322 role2str(adhost->adh_role));
426 role2str(adhost->adh_role));
601 pjdlog_debug(2, " role: %s", role2str(adhost->adh_role));
H A Dsubr.c75 role2str(int role) function
H A Dreceiver.c682 role2str(adhost->adh_role));
684 setproctitle("%s (%s)", adhost->adh_name, role2str(adhost->adh_role));
700 role2str(adhost->adh_role), adhost->adh_name) != 0) {
H A Dsender.c800 role2str(adhost->adh_role));
803 role2str(adhost->adh_role));
816 role2str(adhost->adh_role), adhost->adh_name) != 0) {
/freebsd-11-stable/sbin/hastctl/
H A Dhastctl.c220 printf(" prevrole: %s\n", role2str(res->hr_previous_role));

Completed in 135 milliseconds