Home
last modified time | relevance | path

Searched refs:hr_event (Results 1 – 6 of 6) sorted by relevance

/NextBSD/sbin/hastd/
HDevent.c64 if (hast_proto_send(res, res->hr_event, nvout, NULL, 0) == -1) { in event_send()
68 if (hast_proto_recv_hdr(res->hr_event, &nvin) == -1) { in event_send()
95 if (hast_proto_recv_hdr(res->hr_event, &nvin) == -1) { in event_recv()
148 if (hast_proto_send(res, res->hr_event, nvout, NULL, 0) == -1) { in event_recv()
HDhastd.c120 if (tres->hr_event != NULL) in descriptors_cleanup()
121 proto_close(tres->hr_event); in descriptors_cleanup()
213 } else if (fd == proto_descriptor(res->hr_event)) { in descriptors_assert()
1096 if (res->hr_event == NULL) in main_loop()
1098 fd = proto_descriptor(res->hr_event); in main_loop()
1149 if (res->hr_event == NULL) in main_loop()
1151 if (FD_ISSET(proto_descriptor(res->hr_event), &rfds)) { in main_loop()
1155 proto_close(res->hr_event); in main_loop()
1156 res->hr_event = NULL; in main_loop()
HDcontrol.c62 if (res->hr_event != NULL) { in child_cleanup()
63 proto_close(res->hr_event); in child_cleanup()
64 res->hr_event = NULL; in child_cleanup()
HDhast.h225 struct proto_conn *hr_event; member
HDsecondary.c430 if (proto_client(NULL, "socketpair://", &res->hr_event) == -1) { in hastd_secondary()
449 proto_recv(res->hr_event, NULL, 0); in hastd_secondary()
462 proto_send(res->hr_event, NULL, 0); in hastd_secondary()
HDprimary.c983 if (proto_client(NULL, "socketpair://", &res->hr_event) == -1) { in hastd_primary()
1010 proto_recv(res->hr_event, NULL, 0); in hastd_primary()
1024 proto_send(res->hr_event, NULL, 0); in hastd_primary()