Home
last modified time | relevance | path

Searched refs:hast_resource (Results 1 – 14 of 14) sorted by relevance

/freebsd/sbin/hastd/
H A Dhast_proto.c56 typedef int hps_send_t(const struct hast_resource *, struct nv *nv, void **,
58 typedef int hps_recv_t(const struct hast_resource *, struct nv *nv, void **,
78 hast_proto_send(const struct hast_resource *res, struct proto_conn *conn, in hast_proto_send()
172 hast_proto_recv_data(const struct hast_resource *res, struct proto_conn *conn, in hast_proto_recv_data()
H A Devent.h43 void event_send(const struct hast_resource *res, int event);
44 int event_recv(const struct hast_resource *res);
H A Dhast_checksum.h39 int checksum_send(const struct hast_resource *res, struct nv *nv,
41 int checksum_recv(const struct hast_resource *res, struct nv *nv,
H A Dhast_compression.h39 int compression_send(const struct hast_resource *res, struct nv *nv,
41 int compression_recv(const struct hast_resource *res, struct nv *nv,
H A Dhast.h125 TAILQ_HEAD(, hast_resource) hc_resources;
145 struct hast_resource { struct
263 TAILQ_ENTRY(hast_resource) hr_next; argument
H A Dsubr.h52 int provinfo(struct hast_resource *res, bool dowrite);
54 int drop_privs(const struct hast_resource *res);
H A Dhastd.c101 descriptors_cleanup(struct hast_resource *res) in descriptors_cleanup()
103 struct hast_resource *tres, *tmres; in descriptors_cleanup()
165 descriptors_assert(const struct hast_resource *res, int pjdlogmode) in descriptors_assert()
325 struct hast_resource *res; in child_exit()
370 resource_needs_restart(const struct hast_resource *res0, in resource_needs_restart()
371 const struct hast_resource *res1) in resource_needs_restart()
407 resource_needs_reload(const struct hast_resource *res0, in resource_needs_reload()
408 const struct hast_resource *res1) in resource_needs_reload()
438 resource_reload(const struct hast_resource *res) in resource_reload()
484 struct hast_resource *nres, *cres, *tres; in hastd_reload()
[all …]
H A Dprimary.c244 static struct hast_resource *gres;
280 cleanup(struct hast_resource *res) in cleanup()
333 hast_activemap_flush(struct hast_resource *res) __unlocks(res->hr_amp_lock) in hast_activemap_flush()
369 real_remote(const struct hast_resource *res) in real_remote()
376 init_environment(struct hast_resource *res __unused) in init_environment()
504 init_resuid(struct hast_resource *res) in init_resuid()
522 init_local(struct hast_resource *res) in init_local()
569 primary_connect(struct hast_resource *res, struct proto_conn **connp) in primary_connect()
612 enable_direct_reads(struct hast_resource *res) in enable_direct_reads()
630 init_remote(struct hast_resource *res, struct proto_conn **inp, in init_remote()
[all …]
H A Dsecondary.c77 static struct hast_resource *gres;
209 init_local(struct hast_resource *res) in init_local()
217 init_remote(struct hast_resource *res, struct nv *nvin) in init_remote()
411 hastd_secondary(struct hast_resource *res, struct nv *nvin) in hastd_secondary()
554 requnpack(struct hast_resource *res, struct hio *hio, struct nv *nv) in requnpack()
654 struct hast_resource *res = arg; in recv_thread()
747 struct hast_resource *res = arg; in disk_thread()
861 struct hast_resource *res = arg; in send_thread()
H A Devent.c43 event_send(const struct hast_resource *res, int event) in event_send()
84 event_recv(const struct hast_resource *res) in event_recv()
H A Dhast_checksum.c86 checksum_send(const struct hast_resource *res, struct nv *nv, void **datap, in checksum_send()
114 checksum_recv(const struct hast_resource *res __unused, struct nv *nv, in checksum_recv()
H A Dhast_compression.c203 compression_send(const struct hast_resource *res, struct nv *nv, void **datap, in compression_send()
251 compression_recv(const struct hast_resource *res __unused, struct nv *nv, in compression_recv()
H A Dsubr.c79 provinfo(struct hast_resource *res, bool dowrite) in provinfo()
152 drop_privs(const struct hast_resource *res) in drop_privs()
H A Dparse.y59 static struct hast_resource *curres;
1022 struct hast_resource *res; in yy_config_free()