Home
last modified time | relevance | path

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

/freebsd/sbin/hastd/
H A Dcontrol.c308 struct nv *nvin, *nvout; in control_handle() local
320 nvin = nvout = NULL; in control_handle()
337 nvout = nv_alloc(); in control_handle()
338 if (nvout == NULL) { in control_handle()
421 if (nvout != NULL) in control_handle()
422 nv_free(nvout); in control_handle()
452 nvout = nv_alloc(); in ctrl_thread()
464 nv_add_uint32(nvout, in ctrl_thread()
466 nv_add_uint64(nvout, in ctrl_thread()
510 nv_free(nvout); in ctrl_thread()
[all …]
H A Devent.c45 struct nv *nvin, *nvout; in event_send() local
51 nvin = nvout = NULL; in event_send()
56 nvout = nv_alloc(); in event_send()
58 error = nv_error(nvout); in event_send()
79 if (nvout != NULL) in event_send()
80 nv_free(nvout); in event_send()
93 nvin = nvout = NULL; in event_recv()
140 nvout = nv_alloc(); in event_recv()
153 nv_free(nvout); in event_recv()
158 if (nvout != NULL) in event_recv()
[all …]
H A Dsecondary.c132 output_status_aux(struct nv *nvout) in output_status_aux() argument
220 struct nv *nvout; in init_remote() local
230 nvout = nv_alloc(); in init_remote()
302 nv_add_int8(nvout, 1, "virgin"); in init_remote()
319 nv_free(nvout); in init_remote()
366 nv_free(nvout); in init_remote()
402 nv_free(nvout); in init_remote()
862 struct nv *nvout; in send_thread() local
871 nvout = nv_alloc(); in send_thread()
876 nv_add_int8(nvout, 1, "received"); in send_thread()
[all …]
H A Dhastd.c440 struct nv *nvin, *nvout; in resource_reload() local
445 nvout = nv_alloc(); in resource_reload()
455 if (nv_error(nvout) != 0) { in resource_reload()
456 nv_free(nvout); in resource_reload()
462 nv_free(nvout); in resource_reload()
465 nv_free(nvout); in resource_reload()
771 nvin = nvout = nverr = NULL; in listen_accept()
929 nvout = nv_alloc(); in listen_accept()
960 nv_free(nvout); in listen_accept()
977 if (nvout != NULL) in listen_accept()
[all …]
H A Dprimary.c634 struct nv *nvout, *nvin; in init_remote() local
660 nvout = nv_alloc(); in init_remote()
663 if (nv_error(nvout) != 0) { in init_remote()
667 nv_free(nvout); in init_remote()
674 nv_free(nvout); in init_remote()
677 nv_free(nvout); in init_remote()
729 nvout = nv_alloc(); in init_remote()
749 if (nv_error(nvout) != 0) { in init_remote()
753 nv_free(nvout); in init_remote()
760 nv_free(nvout); in init_remote()
[all …]
/freebsd/usr.sbin/bsnmpd/modules/snmp_hast/
H A Dhast_snmp.c201 hastctl(struct nv *nvin, struct nv **nvout) in hastctl() argument
247 *nvout = nv; in hastctl()
254 struct nv *nvin, *nvout; in set_role() local
261 error = hastctl(nvin, &nvout); in set_role()
265 nv_free(nvout); in set_role()
273 struct nv *nvin, *nvout; in update_resources() local
290 error = hastctl(nvin, &nvout); in update_resources()
307 error = nv_get_int16(nvout, "error%u", i); in update_resources()
310 str = nv_get_string(nvout, "role%u", i); in update_resources()
334 str = nv_get_string(nvout, "status%u", i); in update_resources()
[all …]