Searched defs:nvsize (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dattrat.c44 static int (*nvsize)(nvlist_t *, size_t *, int); variable
96 nvsize = (int (*)(nvlist_t *, size_t *, int))
118 if (nvsize(request, &bufsize, NV_ENCODE_XDR) != 0) {
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_log.c519 size_t nvsize, easize, itsize, frsize; local
528 (void) nvlist_size(ep->ev_nvl, &nvsize, NV_ENCODE_XDR);
529 nvbuf = fmd_alloc(nvsize, FMD_SLEEP);
530 (void) nvlist_pack(ep->ev_nvl, &nvbuf, &nvsize, NV_ENCODE_XDR, 0);
539 err |= ea_set_item(&i2, CAT_FMA_NVLIST, nvbuf, nvsize);
684 fmd_free(nvbuf, nvsize);
H A Dfmd_ckpt.c535 size_t nvsize = 0; local
537 (void) nvlist_size(nvl, &nvsize, NV_ENCODE_NATIVE);
538 fcfn->fcfn_size = (uint64_t)nvsize;
540 (void) nvlist_pack(nvl, &nvbuf, &nvsize, NV_ENCODE_NATIVE, 0);
541 ckp->ckp_ptr += sizeof (fcf_nvl_t) + nvsize;
607 size_t nvsize = 0; local
609 (void) nvlist_size(cis->cis_nvl, &nvsize, NV_ENCODE_NATIVE);
610 cip->ci_nvsz += sizeof (fcf_nvl_t) + nvsize;
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_fuid.c226 size_t nvsize = 0; local
269 VERIFY(nvlist_size(nvp, &nvsize, NV_ENCODE_XDR) == 0);
270 packed = kmem_alloc(nvsize, KM_SLEEP);
271 VERIFY(nvlist_pack(nvp, &packed, &nvsize,
274 zfsvfs->z_fuid_size = nvsize;
H A Dspa.c1841 size_t nvsize = 0; local
1849 nvsize = *(uint64_t *)db->db_data;
1852 packed = kmem_alloc(nvsize, KM_SLEEP);
1853 error = dmu_read(spa->spa_meta_objset, obj, 0, nvsize, packed,
1856 error = nvlist_unpack(packed, nvsize, value, 0);
1857 kmem_free(packed, nvsize);
7743 size_t nvsize = 0; local
7746 VERIFY(nvlist_size(nv, &nvsize, NV_ENCODE_XDR) == 0);
7753 bufsize = P2ROUNDUP((uint64_t)nvsize, SPA_CONFIG_BLOCKSIZE);
7756 VERIFY(nvlist_pack(nv, &packed, &nvsize, NV_ENCODE_XD
[all...]
/illumos-gate/usr/src/lib/libshell/amd64/include/ast/
H A Dnval.h126 unsigned short nvsize; /* size or base */ member in struct:Namval
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dnval.h117 unsigned short nvsize; /* size or base */ member in struct:Namval
/illumos-gate/usr/src/lib/libshell/i386/include/ast/
H A Dnval.h126 unsigned short nvsize; /* size or base */ member in struct:Namval
/illumos-gate/usr/src/lib/libshell/sparc/include/ast/
H A Dnval.h126 unsigned short nvsize; /* size or base */ member in struct:Namval
/illumos-gate/usr/src/lib/libshell/sparcv9/include/ast/
H A Dnval.h126 unsigned short nvsize; /* size or base */ member in struct:Namval
/illumos-gate/usr/src/cmd/fm/modules/common/event-transport/
H A Detm.c1141 size_t nvsize, buflen, hdrlen; local
1249 (void) nvlist_size(msgnvl, &nvsize, NV_ENCODE_XDR);
1252 buflen = nvsize + hdrlen;
1258 (void) etm_create_hdr(buf, mp->epm_ver, ETM_HDR_MSG, nvsize);
1260 if (rv = nvlist_pack(msgnvl, &nvbuf, &nvsize, NV_ENCODE_XDR, 0)) {
1288 ADDSTAT(Etm_stats.write_bytes.fmds_value.ui64, nvsize);
1290 etm_hex_dump(hdl, nvbuf, nvsize, 1);
/illumos-gate/usr/src/cmd/fm/modules/common/ip-transport/
H A Dip.c150 size_t size, nvsize; local
183 (void) nvlist_size(nvl, &nvsize, NV_ENCODE_XDR);
184 size = r = sizeof (ip_hdr_t) + nvsize;
199 iph->iph_size = htonl(nvsize);
200 err = nvlist_pack(nvl, &nvbuf, &nvsize, NV_ENCODE_XDR, 0);
/illumos-gate/usr/src/common/nvpair/
H A Dnvpair.c604 size_t nvsize; local
609 nvsize = len + offsetof(i_nvp_t, nvi_nvp);
611 if ((buf = nv_mem_zalloc(priv, nvsize)) == NULL)
627 size_t nvsize = nvp->nvp_size + offsetof(i_nvp_t, nvi_nvp); local
629 nv_mem_free(priv, NVPAIR2I_NVP(nvp), nvsize);
2346 size_t nvsize; local
2353 while ((err = nvs->nvs_ops->nvs_nvpair(nvs, NULL, &nvsize)) == 0) {
2354 if (nvsize == 0) /* end of list */
2358 if (nvsize < NVP_SIZE_CALC(1, 0))
2361 if ((nvp = nvp_buf_alloc(nvl, nvsize))
2391 uint64_t nvsize = *buflen; local
2516 uint64_t nvsize = 0; local
3011 size_t nvsize = 0; local
3020 size_t nvsize; local
3462 size_t nvsize = 0; local
3528 size_t nvsize; local
[all...]
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c259 size_t nvsize = *(uint64_t *)data; local
260 char *packed = umem_alloc(nvsize, UMEM_NOFAIL);
262 VERIFY(0 == dmu_read(os, object, 0, nvsize, packed, DMU_READ_PREFETCH));
264 VERIFY(nvlist_unpack(packed, nvsize, &nv, 0) == 0);
266 umem_free(packed, nvsize);
2572 size_t nvsize = 0; local
2580 nvsize = *(uint64_t *)db->db_data;
2585 spa->spa_config_object, (void *)&nvsize, 1);

Completed in 240 milliseconds