Home
last modified time | relevance | path

Searched refs:hr_name (Results 1 – 7 of 7) sorted by relevance

/freebsd/sbin/hastd/
H A Dhastd.c184 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 Dparse.y431 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 Devent.c136 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 Dsubr.c154 char jailhost[sizeof(res->hr_name) * 2]; in drop_privs()
188 res->hr_name, role2str(res->hr_role)); in drop_privs()
H A Dhast.h147 char hr_name[NAME_MAX]; member
H A Dsecondary.c470 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 Dprimary.c661 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()