Searched refs:packed_sz (Results 1 – 3 of 3) sorted by relevance
/titanic_50/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) in pcie_copyin_nvlist() argument 128 if (packed_buf == NULL || packed_sz == 0) in pcie_copyin_nvlist() 132 if ((packed = kmem_alloc(packed_sz, KM_SLEEP)) == NULL) in pcie_copyin_nvlist() 135 if (copyin(packed_buf, packed, packed_sz) != 0) { in pcie_copyin_nvlist() 142 if ((ret = nvlist_unpack(packed, packed_sz, &dest, KM_SLEEP)) != 0) { in pcie_copyin_nvlist() 160 kmem_free(packed, packed_sz); in pcie_copyin_nvlist() 172 size_t packed_sz; in pcie_copyout_nvlist() local 178 if ((err = nvlist_pack(nvl, &buf, &packed_sz, NV_ENCODE_NATIVE, 0)) in pcie_copyout_nvlist() 192 if (packed_sz > *buf_sz) { in pcie_copyout_nvlist() 197 if (copyout(buf, packed_buf, packed_sz) != 0) { in pcie_copyout_nvlist() [all …]
|
/titanic_50/usr/src/uts/common/fs/dev/ |
H A D | sdev_profile.c | 891 copyin_nvlist(char *packed_usr, size_t packed_sz, nvlist_t **nvlp) in copyin_nvlist() argument 898 if (packed_usr == NULL || packed_sz == 0) in copyin_nvlist() 902 packed = kmem_alloc(packed_sz, KM_NOSLEEP); in copyin_nvlist() 905 err = copyin(packed_usr, packed, packed_sz); in copyin_nvlist() 911 else if (err = nvlist_unpack(packed, packed_sz, &profile, KM_NOSLEEP)) in copyin_nvlist() 915 kmem_free(packed, packed_sz); in copyin_nvlist() 1048 devname_profile_update(char *packed, size_t packed_sz) in devname_profile_update() argument 1058 if ((err = copyin_nvlist(packed, packed_sz, &nvl)) != 0) in devname_profile_update()
|
/titanic_50/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);
|