/illumos-gate/usr/src/lib/libzpool/common/ |
H A D | util.c | 219 char *packed = NULL; local 237 packed = fnvlist_pack(innvl, &size); 238 zcp->zc_nvlist_src = (uint64_t)(uintptr_t)packed; 243 fnvlist_pack_free(packed, size);
|
/illumos-gate/usr/src/common/nvpair/ |
H A D | fnvpair.c | 79 char *packed = 0; local 80 VERIFY3U(nvlist_pack(nvl, &packed, sizep, NV_ENCODE_NATIVE, 82 return (packed);
|
H A D | nvpair.c | 772 * 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 D | sdev_profile.c | 895 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/io/pciex/hotplug/ |
H A D | pcie_hp.c | 126 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/uts/common/fs/zfs/ |
H A D | zfs_fuid.c | 43 * 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 D | dsl_dataset.c | 1951 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 D | zfs_ioctl.c | 1399 char *packed; local 1409 packed = kmem_alloc(size, KM_SLEEP); 1411 if ((error = ddi_copyin((void *)(uintptr_t)nvl, packed, size, 1413 kmem_free(packed, size); 1417 if ((error = nvlist_unpack(packed, size, &list, 0)) != 0) { 1418 kmem_free(packed, size); 1422 kmem_free(packed, size); 1470 char *packed = NULL; local 1479 packed = fnvlist_pack(nvl, &size); 1480 if (ddi_copyout(packed, (voi [all...] |
H A D | spa.c | 1849 char *packed = NULL; local 1861 packed = kmem_alloc(nvsize, KM_SLEEP); 1862 error = dmu_read(spa->spa_meta_objset, obj, 0, nvsize, packed, 1865 error = nvlist_unpack(packed, nvsize, value, 0); 1866 kmem_free(packed, nvsize); 7814 char *packed = NULL; local 7827 packed = kmem_alloc(bufsize, KM_SLEEP); 7829 VERIFY(nvlist_pack(nv, &packed, &nvsize, NV_ENCODE_XDR, 7831 bzero(packed + nvsize, bufsize - nvsize); 7833 dmu_write(spa->spa_meta_objset, obj, 0, bufsize, packed, t [all...] |
/illumos-gate/usr/src/test/zfs-tests/cmd/libzfs_input_check/ |
H A D | libzfs_input_check.c | 138 char *packed = NULL; local 158 packed = fnvlist_pack(innvl, &size); 161 zc.zc_nvlist_src = (uint64_t)(uintptr_t)packed; 176 fnvlist_pack_free(packed, size);
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_util.c | 860 char *packed; local 865 if ((packed = zfs_alloc(hdl, len)) == NULL) 868 verify(nvlist_pack(nvl, &packed, &len, NV_ENCODE_NATIVE, 0) == 0); 870 *outnv = (uint64_t)(uintptr_t)packed;
|
H A D | libzfs_sendrecv.c | 1631 void *packed = zfs_alloc(hdl, packed_len); local 1633 if (uncompress(packed, &packed_len_long, compressed, len) != Z_OK || 1635 free(packed); 1644 int error = nvlist_unpack(packed, packed_len, &nv, KM_SLEEP); 1645 free(packed);
|
/illumos-gate/usr/src/lib/libzfs_core/common/ |
H A D | libzfs_core.c | 175 char *packed = NULL; local 190 packed = fnvlist_pack(source, &size); 191 zc.zc_nvlist_src = (uint64_t)(uintptr_t)packed; 240 if (packed != NULL) 241 fnvlist_pack_free(packed, size); 734 char *packed = NULL; local 777 packed = fnvlist_pack(recvdprops, &size); 778 zc.zc_nvlist_src = (uint64_t)(uintptr_t)packed; 783 packed = fnvlist_pack(localprops, &size); 784 zc.zc_nvlist_conf = (uint64_t)(uintptr_t)packed; [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/ |
H A D | sbd.c | 3731 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 D | dt_consume.c | 691 * 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 D | zdb.c | 255 char *packed = umem_alloc(nvsize, UMEM_NOFAIL); local 257 VERIFY(0 == dmu_read(os, object, 0, nvsize, packed, DMU_READ_PREFETCH)); 259 VERIFY(nvlist_unpack(packed, nvsize, &nv, 0) == 0); 261 umem_free(packed, nvsize); 2137 dump_none, /* packed nvlist */ 2138 dump_packed_nvlist, /* packed nvlist size */
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_dbg_fw_funcs.c | 3290 * - 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...] |