Symbol: role2str
sbin/hastctl/hastctl.c
216
printf(" prevrole: %s\n", role2str(res->hr_previous_role));
sbin/hastd/control.c
103
pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
sbin/hastd/control.c
104
pjdlog_info("Role changed to %s.", role2str(role));
sbin/hastd/control.c
109
pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
sbin/hastd/control.c
136
hook_exec(res->hr_exec, "role", res->hr_name, role2str(oldrole),
sbin/hastd/control.c
137
role2str(res->hr_role), NULL);
sbin/hastd/control.c
281
nv_add_string(nvout, role2str(res->hr_role), "role%u", no);
sbin/hastd/control.c
97
nv_add_string(nvout, role2str(res->hr_role), "role%u", no);
sbin/hastd/event.c
136
pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
sbin/hastd/hastd.c
185
role2str(res->hr_role));
sbin/hastd/hastd.c
301
role2str(res->hr_role));
sbin/hastd/hastd.c
345
role2str(res->hr_role));
sbin/hastd/hastd.c
362
role2str(res->hr_role));
sbin/hastd/hastd.c
732
res->hr_name, role2str(res->hr_role), res->hr_workerpid);
sbin/hastd/hastd.c
737
res->hr_name, role2str(res->hr_role), res->hr_workerpid);
sbin/hastd/hastd.c
837
pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
sbin/hastd/hastd.c
848
role2str(res->hr_role), role2str(HAST_ROLE_SECONDARY),
sbin/hastd/hastd.c
852
role2str(res->hr_role), role2str(HAST_ROLE_SECONDARY));
sbin/hastd/hastd.c
991
pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
sbin/hastd/metadata.c
202
nv_add_string(nv, role2str(res->hr_role), "prevrole");
sbin/hastd/primary.c
1033
pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
sbin/hastd/primary.c
1034
setproctitle("%s (%s)", res->hr_name, role2str(res->hr_role));
sbin/hastd/primary.c
1070
role2str(HAST_ROLE_SECONDARY),
sbin/hastd/primary.c
1082
role2str(HAST_ROLE_PRIMARY));
sbin/hastd/secondary.c
470
pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
sbin/hastd/secondary.c
471
setproctitle("%s (%s)", res->hr_name, role2str(res->hr_role));
sbin/hastd/subr.c
187
res->hr_name, role2str(res->hr_role));
sbin/hastd/subr.h
53
const char *role2str(int role);