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

/freebsd-9.3-release/sbin/hastd/
H A Devent.c64 if (hast_proto_send(res, res->hr_event, nvout, NULL, 0) == -1) {
68 if (hast_proto_recv_hdr(res->hr_event, &nvin) == -1) {
95 if (hast_proto_recv_hdr(res->hr_event, &nvin) == -1) {
148 if (hast_proto_send(res, res->hr_event, nvout, NULL, 0) == -1) {
H A Dhast.h225 struct proto_conn *hr_event; member in struct:hast_resource
H A Dhastd.c120 if (tres->hr_event != NULL)
121 proto_close(tres->hr_event);
213 } else if (fd == proto_descriptor(res->hr_event)) {
1096 if (res->hr_event == NULL)
1098 fd = proto_descriptor(res->hr_event);
1149 if (res->hr_event == NULL)
1151 if (FD_ISSET(proto_descriptor(res->hr_event), &rfds)) {
1155 proto_close(res->hr_event);
1156 res->hr_event = NULL;
H A Dcontrol.c62 if (res->hr_event != NULL) {
63 proto_close(res->hr_event);
64 res->hr_event = NULL;
H A Dsecondary.c430 if (proto_client(NULL, "socketpair://", &res->hr_event) == -1) {
449 proto_recv(res->hr_event, NULL, 0);
462 proto_send(res->hr_event, NULL, 0);
H A Dprimary.c984 if (proto_client(NULL, "socketpair://", &res->hr_event) == -1) {
1011 proto_recv(res->hr_event, NULL, 0);
1025 proto_send(res->hr_event, NULL, 0);

Completed in 115 milliseconds