Lines Matching refs:nv
35 #include <nv.h>
86 checksum_send(const struct hast_resource *res, struct nv *nv, void **datap,
104 nv_add_string(nv, checksum_name(res->hr_checksum), "checksum");
105 nv_add_uint8_array(nv, hash, hsize, "hash");
106 if (nv_error(nv) != 0) {
107 errno = nv_error(nv);
114 checksum_recv(const struct hast_resource *res __unused, struct nv *nv,
122 algo = nv_get_string(nv, "checksum");
125 rhash = nv_get_uint8_array(nv, &rhsize, "hash");