Searched defs:packed (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/common/nvpair/
H A Dfnvpair.c79 char *packed = 0; local
80 VERIFY3U(nvlist_pack(nvl, &packed, sizep, NV_ENCODE_NATIVE,
82 return (packed);
H A Dnvpair.c772 * trusted. This function is used when decoding packed nvpairs.
2504 bzero(nvlp, len); /* don't trust packed data */
2737 * This structure is used when decoding a packed nvpair in
2739 * packed nvpair. n_end is a pointer to the end of the buffer.
2744 * n_flag is used to recognize a packed embedded list.
2820 return (0); /* packed embedded list */
2833 * if calculate for packed embedded list
2877 nvlist_t *packed = (void *) local
2880 * Null out the pointer that is meaningless in the packed
2884 bzero(&packed
2897 nvlist_t *packed = (nvlist_t *)((uintptr_t)value + len); local
[all...]
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_profile.c895 char *packed; local
902 /* copyin packed profile nvlist */
903 packed = kmem_alloc(packed_sz, KM_NOSLEEP);
904 if (packed == NULL)
906 err = copyin(packed_usr, packed, packed_sz);
908 /* unpack packed profile nvlist */
912 else if (err = nvlist_unpack(packed, packed_sz, &profile, KM_NOSLEEP))
916 kmem_free(packed, packed_sz);
1046 * modctl(). modctl calls this function. The input is a packed nvlist.
1049 devname_profile_update(char *packed, size_ argument
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_fuid.c43 * The FUID table is stored as a packed nvlist of an array
126 char *packed; local
129 packed = kmem_alloc(fuid_size, KM_SLEEP);
131 fuid_size, packed, DMU_READ_PREFETCH) == 0);
132 VERIFY(nvlist_unpack(packed, fuid_size,
155 kmem_free(packed, fuid_size);
227 char *packed; local
270 packed = kmem_alloc(nvsize, KM_SLEEP);
271 VERIFY(nvlist_pack(nvp, &packed, &nvsize,
276 zfsvfs->z_fuid_size, packed, t
[all...]
H A Ddsl_dataset.c1951 void *packed; local
1998 packed = fnvlist_pack(token_nv, &packed_size);
2002 compressed_size = gzip_compress(packed, compressed,
2017 kmem_free(packed, packed_size);
H A Dspa.c1840 char *packed = NULL; local
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);
7741 char *packed = NULL; local
7754 packed = kmem_alloc(bufsize, KM_SLEEP);
7756 VERIFY(nvlist_pack(nv, &packed, &nvsize, NV_ENCODE_XDR,
7758 bzero(packed + nvsize, bufsize - nvsize);
7760 dmu_write(spa->spa_meta_objset, obj, 0, bufsize, packed, t
[all...]
H A Dzfs_ioctl.c1355 char *packed; local
1365 packed = kmem_alloc(size, KM_SLEEP);
1367 if ((error = ddi_copyin((void *)(uintptr_t)nvl, packed, size,
1369 kmem_free(packed, size);
1373 if ((error = nvlist_unpack(packed, size, &list, 0)) != 0) {
1374 kmem_free(packed, size);
1378 kmem_free(packed, size);
1426 char *packed = NULL; local
1435 packed = fnvlist_pack(nvl, &size);
1436 if (ddi_copyout(packed, (voi
[all...]
/illumos-gate/usr/src/uts/common/io/pciex/hotplug/
H A Dpcie_hp.c126 char *packed; local
132 /* copyin packed nvlist */
133 if ((packed = kmem_alloc(packed_sz, KM_SLEEP)) == NULL)
136 if (copyin(packed_buf, packed, packed_sz) != 0) {
142 /* unpack packed nvlist */
143 if ((ret = nvlist_unpack(packed, packed_sz, &dest, KM_SLEEP)) != 0) {
161 kmem_free(packed, packed_sz);
197 /* copyout packed nvlist */
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_util.c825 char *packed; local
830 if ((packed = zfs_alloc(hdl, len)) == NULL)
833 verify(nvlist_pack(nvl, &packed, &len, NV_ENCODE_NATIVE, 0) == 0);
835 *outnv = (uint64_t)(uintptr_t)packed;
H A Dlibzfs_sendrecv.c1626 void *packed = zfs_alloc(hdl, packed_len); local
1628 if (uncompress(packed, &packed_len_long, compressed, len) != Z_OK ||
1630 free(packed);
1639 int error = nvlist_unpack(packed, packed_len, &nv, KM_SLEEP);
1640 free(packed);
/illumos-gate/usr/src/lib/libzfs_core/common/
H A Dlibzfs_core.c132 char *packed = NULL; local
142 packed = fnvlist_pack(source, &size);
143 zc.zc_nvlist_src = (uint64_t)(uintptr_t)packed;
192 if (packed != NULL)
193 fnvlist_pack_free(packed, size);
686 char *packed = NULL; local
729 packed = fnvlist_pack(recvdprops, &size);
730 zc.zc_nvlist_src = (uint64_t)(uintptr_t)packed;
735 packed = fnvlist_pack(localprops, &size);
736 zc.zc_nvlist_conf = (uint64_t)(uintptr_t)packed;
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd.c3731 char *packed = NULL; local
3744 if ((rc = nvlist_pack(nv, &packed, &len, NV_ENCODE_NATIVE, KM_SLEEP))) {
3750 zc->zc_nvlist_src = (uint64_t)(intptr_t)packed;
3758 if (packed)
3759 kmem_free(packed, len);
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_consume.c691 * Block Elements (U+2581 through U+2588, inclusive) to represent our packed
713 * packed aggregation. To do this, we will check for terminals
1796 boolean_t packed = pd->dtpa_agghist || pd->dtpa_aggpack; local
1811 if (packed && pd->dtpa_agghisthdr != agg->dtagd_varid) {
1913 width = packed ? fmt->packedwidth : fmt->width;
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c260 char *packed = umem_alloc(nvsize, UMEM_NOFAIL); local
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);
2142 dump_none, /* packed nvlist */
2143 dump_packed_nvlist, /* packed nvlist size */
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_dbg_fw_funcs.c3290 * - packed: dumped only if it's not false.
3303 bool packed,
3317 if (packed)
3356 /* Dump packed */
3357 if (packed)
3358 offset += ecore_dump_num_param(dump_buf + offset, dump, "packed", 1);
3388 bool packed,
3395 offset += ecore_grc_dump_mem_hdr(p_hwfn, dump_buf + offset, dump, name, addr, len, bit_width, packed, mem_group, is_storm, storm_letter);
3741 bool packed; local
3748 packed
3296 ecore_grc_dump_mem_hdr(struct ecore_hwfn *p_hwfn, u32 *dump_buf, bool dump, const char *name, u32 addr, u32 len, u32 bit_width, bool packed, const char *mem_group, bool is_storm, char storm_letter) argument
3379 ecore_grc_dump_mem(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u32 *dump_buf, bool dump, const char *name, u32 addr, u32 len, bool wide_bus, u32 bit_width, bool packed, const char *mem_group, bool is_storm, char storm_letter) argument
[all...]

Completed in 371 milliseconds