Searched refs:role2str (Results 1 - 14 of 14) sorted by relevance
/freebsd-11-stable/sbin/hastd/ |
H A D | subr.h | 55 const char *role2str(int role);
|
H A D | control.c | 101 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 D | event.c | 138 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
|
H A D | hastd.c | 188 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 D | subr.c | 140 role2str(int role) function 191 res->hr_name, role2str(res->hr_role));
|
H A D | metadata.c | 205 nv_add_string(nv, role2str(res->hr_role), "prevrole");
|
H A D | secondary.c | 473 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 D | primary.c | 1036 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 D | subr.h | 45 const char *role2str(int role);
|
H A D | auditdistd.c | 172 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 D | subr.c | 75 role2str(int role) function
|
H A D | receiver.c | 682 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 D | sender.c | 800 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 D | hastctl.c | 220 printf(" prevrole: %s\n", role2str(res->hr_previous_role));
|
Completed in 135 milliseconds