Home
last modified time | relevance | path

Searched refs:nvs (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/common/nvpair/
H A Dnvpair.c2336 if (nvs->nvs_ops->nvs_nvpair(nvs, &curr->nvi_nvp, NULL) != 0) in nvs_encode_pairs()
2339 return (nvs->nvs_ops->nvs_nvl_fini(nvs)); in nvs_encode_pairs()
2353 while ((err = nvs->nvs_ops->nvs_nvpair(nvs, NULL, &nvsize)) == 0) { in nvs_decode_pairs()
2364 if ((err = nvs->nvs_ops->nvs_nvp_op(nvs, nvp)) != 0) { in nvs_decode_pairs()
2398 if (nvs->nvs_ops->nvs_nvp_size(nvs, &curr->nvi_nvp, &size) != 0) in nvs_getsize_pairs()
2420 if ((err = nvs->nvs_ops->nvs_nvlist(nvs, nvl, buflen)) != 0) in nvs_operation()
2423 switch (nvs->nvs_op) { in nvs_operation()
2446 switch (nvs->nvs_op) { in nvs_embedded()
2550 nvstream_t nvs; in nvlist_common() local
2563 nvs.nvs_op = nvs_op; in nvlist_common()
[all …]
/illumos-gate/usr/src/boot/libsa/zfs/
H A Dnvlist.c353 nvstring_get(nv_string_t *nvs) in nvstring_get() argument
357 s = malloc(nvs->nv_size + 1); in nvstring_get()
359 bcopy(nvs->nv_data, s, nvs->nv_size); in nvstring_get()
360 s[nvs->nv_size] = '\0'; in nvstring_get()
373 nvs_data_t *nvs; in nvlist_create() local
384 if (nvs == NULL) { in nvlist_create()
389 nvl->nv_data = (uint8_t *)nvs; in nvlist_create()
392 nvs->nvl_nvflag = flag; in nvlist_create()
534 nvs_data_t *nvs; in nvlist_xdr_nvlist() local
539 nvph = &nvs->nvl_pair; in nvlist_xdr_nvlist()
[all …]