Searched refs:role2str (Results 1 - 14 of 14) sorted by relevance
/freebsd-10-stable/sbin/hastd/ |
H A D | subr.h | 53 const char *role2str(int role);
|
H A D | control.c | 99 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 D | event.c | 136 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
|
H A D | hastd.c | 186 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 D | subr.c | 138 role2str(int role) function 189 res->hr_name, role2str(res->hr_role));
|
H A D | metadata.c | 203 nv_add_string(nv, role2str(res->hr_role), "prevrole");
|
H A D | secondary.c | 471 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 D | primary.c | 1035 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 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-10-stable/sbin/hastctl/ |
H A D | hastctl.c | 218 printf(" prevrole: %s\n", role2str(res->hr_previous_role));
|
Completed in 174 milliseconds