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

/freebsd-10-stable/sbin/hastd/
H A Dsubr.h53 const char *role2str(int role);
H A Dcontrol.c99 nv_add_string(nvout, role2str(res->hr_role), "role%u", no);
105 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
106 pjdlog_info("Role changed to %s.", role2str(role));
111 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
138 hook_exec(res->hr_exec, "role", res->hr_name, role2str(oldrole),
139 role2str(res->hr_role), NULL);
283 nv_add_string(nvout, role2str(res->hr_role), "role%u", no);
H A Devent.c136 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
H A Dhastd.c186 role2str(res->hr_role));
302 role2str(res->hr_role));
346 role2str(res->hr_role));
363 role2str(res->hr_role));
733 res->hr_name, role2str(res->hr_role), res->hr_workerpid);
738 res->hr_name, role2str(res->hr_role), res->hr_workerpid);
838 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
849 role2str(res->hr_role), role2str(HAST_ROLE_SECONDARY),
853 role2str(re
[all...]
H A Dsubr.c138 role2str(int role) function
189 res->hr_name, role2str(res->hr_role));
H A Dmetadata.c203 nv_add_string(nv, role2str(res->hr_role), "prevrole");
H A Dsecondary.c471 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
472 setproctitle("%s (%s)", res->hr_name, role2str(res->hr_role));
H A Dprimary.c1035 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
1036 setproctitle("%s (%s)", res->hr_name, role2str(res->hr_role));
1072 role2str(HAST_ROLE_SECONDARY),
1084 role2str(HAST_ROLE_PRIMARY));
/freebsd-10-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-10-stable/sbin/hastctl/
H A Dhastctl.c218 printf(" prevrole: %s\n", role2str(res->hr_previous_role));

Completed in 174 milliseconds