Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/pciex/hotplug/
H A Dpcie_hp.c125 pcie_copyin_nvlist(char *packed_buf, size_t packed_sz, nvlist_t **nvlp) in pcie_copyin_nvlist() argument
131 if (packed_buf == NULL || packed_sz == 0) in pcie_copyin_nvlist()
138 if (copyin(packed_buf, packed, packed_sz) != 0) { in pcie_copyin_nvlist()
171 pcie_copyout_nvlist(nvlist_t *nvl, char *packed_buf, size_t *buf_sz) in pcie_copyout_nvlist() argument
177 if (nvl == NULL || packed_buf == NULL || buf_sz == NULL) in pcie_copyout_nvlist()
200 if (copyout(buf, packed_buf, packed_sz) != 0) { in pcie_copyout_nvlist()
/illumos-gate/usr/src/uts/common/sys/hotplug/pci/
H A Dpcie_hp.h440 extern int pcie_copyin_nvlist(char *packed_buf, size_t packed_sz,
442 extern int pcie_copyout_nvlist(nvlist_t *nvl, char *packed_buf,
/illumos-gate/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);