Lines Matching refs:hr_role
99 nv_add_string(nvout, role2str(res->hr_role), "role%u", no);
102 if (role == res->hr_role)
105 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
109 oldrole = res->hr_role;
110 res->hr_role = role;
111 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role));
139 role2str(res->hr_role), NULL);
283 nv_add_string(nvout, role2str(res->hr_role), "role%u", no);
286 switch (res->hr_role) {
464 if (res->hr_role == HAST_ROLE_PRIMARY) {
500 PJDLOG_ASSERT(res->hr_role == HAST_ROLE_PRIMARY);