Searched refs:packed_sz (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/uts/common/io/pciex/hotplug/ |
H A D | pcie_hp.c | 122 pcie_copyin_nvlist(char *packed_buf, size_t packed_sz, nvlist_t **nvlp) argument 128 if (packed_buf == NULL || packed_sz == 0) 132 if ((packed = kmem_alloc(packed_sz, KM_SLEEP)) == NULL) 135 if (copyin(packed_buf, packed, packed_sz) != 0) { 142 if ((ret = nvlist_unpack(packed, packed_sz, &dest, KM_SLEEP)) != 0) { 160 kmem_free(packed, packed_sz); 172 size_t packed_sz; local 178 if ((err = nvlist_pack(nvl, &buf, &packed_sz, NV_ENCODE_NATIVE, 0)) 192 if (packed_sz > *buf_sz) { 197 if (copyout(buf, packed_buf, packed_sz) ! [all...] |
/illumos-gate/usr/src/uts/common/sys/hotplug/pci/ |
H A D | pcie_hp.h | 312 extern int pcie_copyin_nvlist(char *packed_buf, size_t packed_sz, 315 size_t *packed_sz);
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_profile.c | 892 copyin_nvlist(char *packed_usr, size_t packed_sz, nvlist_t **nvlp) argument 899 if (packed_usr == NULL || packed_sz == 0) 903 packed = kmem_alloc(packed_sz, KM_NOSLEEP); 906 err = copyin(packed_usr, packed, packed_sz); 912 else if (err = nvlist_unpack(packed, packed_sz, &profile, KM_NOSLEEP)) 916 kmem_free(packed, packed_sz); 1049 devname_profile_update(char *packed, size_t packed_sz) argument 1059 if ((err = copyin_nvlist(packed, packed_sz, &nvl)) != 0)
|
Completed in 79 milliseconds