Home
last modified time | relevance | path

Searched refs:nv_error (Results 1 – 11 of 11) sorted by relevance

/src/sbin/hastd/
H A Dnv.c88 int nv_error; member
137 nv->nv_error = 0; in nv_alloc()
163 nv_error(const struct nv *nv) in nv_error() function
171 return (nv->nv_error); in nv_error()
187 preverr = nv->nv_error; in nv_set_error()
188 nv->nv_error = error; in nv_set_error()
210 PJDLOG_ASSERT(nv->nv_error == 0); in nv_validate()
324 if (nv->nv_error == 0) in nv_validate()
325 nv->nv_error = error; in nv_validate()
345 PJDLOG_ASSERT(nv->nv_error == 0); in nv_hton()
[all …]
H A Dmetadata.c149 if (nv_error(nv) != 0) { in metadata_read()
150 errno = rerrno = nv_error(nv); in metadata_read()
203 if (nv_error(nv) != 0) { in metadata_write()
H A Dhast_checksum.c106 if (nv_error(nv) != 0) { in checksum_send()
107 errno = nv_error(nv); in checksum_send()
H A Devent.c58 error = nv_error(nvout); in event_send()
142 error = nv_error(nvout); in event_recv()
H A Dhast_proto.c101 if (nv_error(nv) != 0) { in hast_proto_send()
102 errno = nv_error(nv); in hast_proto_send()
H A Dhast_compression.c236 if (nv_error(nv) != 0) { in compression_send()
238 errno = nv_error(nv); in compression_send()
H A Dcontrol.c162 error = nv_error(cnvout); in control_status_worker()
409 if (nv_error(nvout) != 0) in control_handle()
507 if (nv_error(nvout) != 0) { in ctrl_thread()
H A Dhastd.c455 if (nv_error(nvout) != 0) { in resource_reload()
933 if (nv_error(nvout) != 0) { in listen_accept()
934 pjdlog_common(LOG_ERR, 0, nv_error(nvout), in listen_accept()
938 strerror(nv_error(nvout))); in listen_accept()
965 if (nv_error(nverr) != 0) { in listen_accept()
966 pjdlog_common(LOG_ERR, 0, nv_error(nverr), in listen_accept()
H A Dprimary.c663 if (nv_error(nvout) != 0) { in init_remote()
664 pjdlog_common(LOG_WARNING, 0, nv_error(nvout), in init_remote()
749 if (nv_error(nvout) != 0) { in init_remote()
750 pjdlog_common(LOG_WARNING, 0, nv_error(nvout), in init_remote()
1518 if (nv_error(nv) != 0) { in keepalive_send()
1608 if (nv_error(nv) != 0) { in remote_send_thread()
1609 hio->hio_errors[ncomp] = nv_error(nv); in remote_send_thread()
1615 strerror(nv_error(nv))); in remote_send_thread()
H A Dnv.h47 int nv_error(const struct nv *nv);
H A Dsecondary.c581 if (nv_error(nv) != 0) { in requnpack()
587 if (nv_error(nv) != 0) { in requnpack()