Home
last modified time | relevance | path

Searched refs:packed_buf (Results 1 – 4 of 4) sorted by relevance

/titanic_50/usr/src/uts/common/sys/hotplug/pci/
H A Dpcie_hp.h312 extern int pcie_copyin_nvlist(char *packed_buf, size_t packed_sz,
314 extern int pcie_copyout_nvlist(nvlist_t *nvl, char *packed_buf,
/titanic_50/usr/src/uts/common/io/pciex/hotplug/
H A Dpcie_hp.c122 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()
135 if (copyin(packed_buf, packed, packed_sz) != 0) { in pcie_copyin_nvlist()
168 pcie_copyout_nvlist(nvlist_t *nvl, char *packed_buf, size_t *buf_sz) in pcie_copyout_nvlist() argument
174 if (nvl == NULL || packed_buf == NULL || buf_sz == NULL) in pcie_copyout_nvlist()
197 if (copyout(buf, packed_buf, packed_sz) != 0) { in pcie_copyout_nvlist()
/titanic_50/usr/src/lib/libhotplug/common/
H A Dlibhotplug.c773 hp_unpack(char *packed_buf, size_t packed_len, hp_node_t *retp) in hp_unpack() argument
784 (void *)packed_buf, (uint32_t)packed_len, (void *)retp); in hp_unpack()
786 if ((packed_buf == NULL) || (packed_len == 0) || (retp == NULL)) { in hp_unpack()
791 if ((rv = nvlist_unpack(packed_buf, packed_len, &nvl, 0)) != 0) in hp_unpack()
992 i_hp_unpack_branch(char *packed_buf, size_t packed_len, hp_node_t parent, in i_hp_unpack_branch() argument
1008 if ((rv = nvlist_unpack(packed_buf, packed_len, &nvl, 0)) != 0) in i_hp_unpack_branch()
H A Dlibhotplug.h98 int hp_unpack(char *packed_buf, size_t packed_len, hp_node_t *retp);