Lines Matching defs:kpibuf

5552 		sv_path_info_t	*kpibuf = NULL; /* Kernel data for ioctls */
5600 if (vhci_ioc_alloc_pathinfo(&upibuf, &kpibuf, num_paths,
5606 ASSERT(kpibuf != NULL);
5611 if (vhci_get_client_path_list(cdip, kpibuf, num_paths)
5614 vhci_ioc_free_pathinfo(upibuf, kpibuf, num_paths);
5618 if (vhci_ioc_send_pathinfo(upibuf, kpibuf, num_paths,
5621 vhci_ioc_free_pathinfo(upibuf, kpibuf, num_paths);
5626 vhci_ioc_free_pathinfo(upibuf, kpibuf, num_paths);
5634 sv_path_info_t *kpibuf = NULL; /* Kernel data for ioctls */
5682 if (vhci_ioc_alloc_pathinfo(&upibuf, &kpibuf, num_paths,
5688 ASSERT(kpibuf != NULL);
5693 if (vhci_get_phci_path_list(pdip, kpibuf, num_paths)
5696 vhci_ioc_free_pathinfo(upibuf, kpibuf, num_paths);
5700 if (vhci_ioc_send_pathinfo(upibuf, kpibuf, num_paths,
5703 vhci_ioc_free_pathinfo(upibuf, kpibuf, num_paths);
5708 vhci_ioc_free_pathinfo(upibuf, kpibuf, num_paths);
6537 vhci_ioc_alloc_pathinfo(sv_path_info_t **upibuf, sv_path_info_t **kpibuf,
6549 *kpibuf = (sv_path_info_t *)
6551 ASSERT(*kpibuf != NULL);
6561 * structure ('kpibuf').
6608 kmem_free(*kpibuf, sizeof (sv_path_info_t) * num_paths);
6610 *kpibuf = NULL;
6617 for (index = 0, pi = *kpibuf; index < num_paths; index++, pi++) {
6649 vhci_ioc_free_pathinfo(sv_path_info_t *upibuf, sv_path_info_t *kpibuf,
6656 for (index = 0, pi = kpibuf; index < num_paths; index++, pi++) {
6669 kmem_free(kpibuf, sizeof (sv_path_info_t) * num_paths);
6678 vhci_ioc_send_pathinfo(sv_path_info_t *upibuf, sv_path_info_t *kpibuf,
6708 if (ddi_copyout(kpibuf[index].device.ret_ct,
6714 if (ddi_copyout(kpibuf[index].ret_addr,
6720 if (ddi_copyout(&kpibuf[index].ret_state,
6721 &upi_ptr[index].ret_state, sizeof (kpibuf[index].ret_state),
6727 if (ddi_copyout(&kpibuf[index].ret_ext_state,
6729 sizeof (kpibuf[index].ret_ext_state), mode)) {
6734 if ((kpibuf[index].ret_prop.ret_buf_size != NULL) &&
6735 ddi_copyout(kpibuf[index].ret_prop.ret_buf_size,
6742 if ((kpibuf[index].ret_prop.buf != NULL) &&
6743 ddi_copyout(kpibuf[index].ret_prop.buf,
6768 if (ddi_copyout(kpibuf[index].device.ret_ct,
6774 if (ddi_copyout(kpibuf[index].ret_addr,
6780 if (ddi_copyout(&kpibuf[index].ret_state,
6782 sizeof (kpibuf[index].ret_state), mode)) {
6787 if (ddi_copyout(&kpibuf[index].ret_ext_state,
6789 sizeof (kpibuf[index].ret_ext_state), mode)) {
6793 if ((kpibuf[index].ret_prop.ret_buf_size != NULL) &&
6794 ddi_copyout(kpibuf[index].ret_prop.ret_buf_size,
6801 if ((kpibuf[index].ret_prop.buf != NULL) &&
6802 ddi_copyout(kpibuf[index].ret_prop.buf,