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.c230 size_t nvsize = 0; local
273 VERIFY(nvlist_size(nvp, &nvsize, NV_ENCODE_XDR) == 0);
274 packed = kmem_alloc(nvsize, KM_SLEEP);
275 VERIFY(nvlist_pack(nvp, &packed, &nvsize,
278 zfsvfs->z_fuid_size = nvsize;
H A Dspa.c1582 size_t nvsize = 0; local
1590 nvsize = *(uint64_t *)db->db_data;
1593 packed = kmem_alloc(nvsize, KM_SLEEP);
1594 error = dmu_read(spa->spa_meta_objset, obj, 0, nvsize, packed,
1597 error = nvlist_unpack(packed, nvsize, value, 0);
1598 kmem_free(packed, nvsize);
6047 size_t nvsize = 0; local
6050 VERIFY(nvlist_size(nv, &nvsize, NV_ENCODE_XDR) == 0);
6057 bufsize = P2ROUNDUP((uint64_t)nvsize, SPA_CONFIG_BLOCKSIZE);
6060 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.c316 size_t nvsize; local
321 nvsize = len + offsetof(i_nvp_t, nvi_nvp);
323 if ((buf = nv_mem_zalloc(priv, nvsize)) == NULL)
339 size_t nvsize = nvp->nvp_size + offsetof(i_nvp_t, nvi_nvp); local
341 nv_mem_free(priv, NVPAIR2I_NVP(nvp), nvsize);
2081 size_t nvsize; local
2088 while ((err = nvs->nvs_ops->nvs_nvpair(nvs, NULL, &nvsize)) == 0) {
2089 if (nvsize == 0) /* end of list */
2093 if (nvsize < NVP_SIZE_CALC(1, 0))
2096 if ((nvp = nvp_buf_alloc(nvl, nvsize))
2120 uint64_t nvsize = *buflen; local
2243 uint64_t nvsize = 0; local
2738 size_t nvsize = 0; local
2747 size_t nvsize; local
3189 size_t nvsize = 0; local
3255 size_t nvsize; local
[all...]
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c229 size_t nvsize = *(uint64_t *)data; local
230 char *packed = umem_alloc(nvsize, UMEM_NOFAIL);
232 VERIFY(0 == dmu_read(os, object, 0, nvsize, packed, DMU_READ_PREFETCH));
234 VERIFY(nvlist_unpack(packed, nvsize, &nv, 0) == 0);
236 umem_free(packed, nvsize);
2052 size_t nvsize = 0; local
2060 nvsize = *(uint64_t *)db->db_data;
2065 spa->spa_config_object, (void *)&nvsize, 1);

Completed in 115 milliseconds