Home
last modified time | relevance | path

Searched refs:hr_conn (Results 1 – 4 of 4) sorted by relevance

/NextBSD/sbin/hastd/
HDhastd.c122 if (tres->hr_conn != NULL) in descriptors_cleanup()
123 proto_close(tres->hr_conn); in descriptors_cleanup()
240 fd == proto_descriptor(res->hr_conn)) { in descriptors_assert()
254 res->hr_conn != NULL && in descriptors_assert()
255 fd == proto_descriptor(res->hr_conn)) { in descriptors_assert()
996 if (proto_recv(res->hr_conn, &val, sizeof(val)) == -1) { in connection_migrate()
1018 if (proto_send(res->hr_conn, &val, sizeof(val)) == -1) { in connection_migrate()
1022 if (val == 0 && proto_connection_send(res->hr_conn, conn) == -1) in connection_migrate()
1104 PJDLOG_ASSERT(res->hr_conn != NULL); in main_loop()
1105 fd = proto_descriptor(res->hr_conn); in main_loop()
[all …]
HDcontrol.c66 if (res->hr_conn != NULL) { in child_cleanup()
67 proto_close(res->hr_conn); in child_cleanup()
68 res->hr_conn = NULL; in child_cleanup()
HDhast.h227 struct proto_conn *hr_conn; member
HDprimary.c576 if (proto_send(res->hr_conn, &val, sizeof(val)) == -1) { in primary_connect()
580 if (proto_recv(res->hr_conn, &val, sizeof(val)) == -1) { in primary_connect()
590 if (proto_connection_recv(res->hr_conn, true, &conn) == -1) { in primary_connect()
993 if (proto_client(NULL, "socketpair://", &res->hr_conn) == -1) { in hastd_primary()
1011 proto_recv(res->hr_conn, NULL, 0); in hastd_primary()
1025 proto_send(res->hr_conn, NULL, 0); in hastd_primary()