Searched refs:hr_name (Results 1 – 7 of 7) sorted by relevance
/freebsd/sbin/hastd/ |
H A D | hastd.c | 184 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, in descriptors_assert() 300 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, in descriptors_assert() 344 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, in child_exit() 374 PJDLOG_ASSERT(strcmp(res0->hr_name, res1->hr_name) == 0); in resource_needs_restart() 411 PJDLOG_ASSERT(strcmp(res0->hr_name, res1->hr_name) == 0); in resource_needs_reload() 613 if (strcmp(cres->hr_name, nres->hr_name) == 0) in hastd_reload() 619 pjdlog_info("Resource %s removed.", cres->hr_name); in hastd_reload() 628 if (strcmp(cres->hr_name, nres->hr_name) == 0) in hastd_reload() 634 pjdlog_info("Resource %s added.", nres->hr_name); in hastd_reload() 661 if (strcmp(cres->hr_name, nres->hr_name) == 0) in hastd_reload() [all …]
|
H A D | parse.y | 431 curres->hr_name, names); 471 strlcpy(curres->hr_provname, curres->hr_name, 480 curres->hr_name); 489 curres->hr_name); 504 if (strcmp(curres->hr_name, $1) == 0) { 506 curres->hr_name); 527 if (strlcpy(curres->hr_name, $1, 528 sizeof(curres->hr_name)) >= 529 sizeof(curres->hr_name)) {
|
H A D | event.c | 136 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role)); in event_recv() 137 hook_exec(res->hr_exec, evstr, res->hr_name, NULL); in event_recv()
|
H A D | subr.c | 154 char jailhost[sizeof(res->hr_name) * 2]; in drop_privs() 188 res->hr_name, role2str(res->hr_role)); in drop_privs()
|
H A D | hast.h | 147 char hr_name[NAME_MAX]; member
|
H A D | secondary.c | 470 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role)); in hastd_secondary() 471 setproctitle("%s (%s)", res->hr_name, role2str(res->hr_role)); in hastd_secondary()
|
H A D | primary.c | 661 nv_add_string(nvout, res->hr_name, "resource"); in init_remote() 730 nv_add_string(nvout, res->hr_name, "resource"); in init_remote() 1033 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role)); in hastd_primary() 1034 setproctitle("%s (%s)", res->hr_name, role2str(res->hr_role)); in hastd_primary()
|