Lines Matching defs:pioc
5410 sv_iocdata_t *pioc = &ioc;
5529 retval = vhci_get_iocdata((const void *)data, pioc, mode, s);
5553 if (pioc->ret_elem == NULL) {
5559 if (vhci_ioc_get_client_path(pioc, client_path, mode, s)) {
5578 if (ddi_copyout(&num_paths, pioc->ret_elem,
5587 if (pioc->buf_elem == 0 || pioc->ret_buf == NULL ||
5593 if (num_paths > pioc->buf_elem) {
5594 num_paths = pioc->buf_elem;
5599 pioc, mode, s) != 0) {
5617 pioc, mode, s)) {
5635 if (pioc->ret_elem == NULL) {
5641 if (vhci_ioc_get_phci_path(pioc, phci_path, mode, s)) {
5660 if (ddi_copyout(&num_paths, pioc->ret_elem,
5669 if (pioc->buf_elem == 0 || pioc->ret_buf == NULL ||
5675 if (num_paths > pioc->buf_elem) {
5676 num_paths = pioc->buf_elem;
5681 pioc, mode, s) != 0) {
5699 pioc, mode, s)) {
5715 if (vhci_ioc_get_phci_path(pioc, phci_path, mode, s) ||
5716 vhci_ioc_get_paddr(pioc, paddr, mode, s)) {
5747 if (vhci_ioc_send_client_path(client_path, pioc, mode, s)) {
5762 if (vhci_ioc_get_phci_path(pioc, phci_path, mode, s) ||
5763 vhci_ioc_get_paddr(pioc, paddr, mode, s)) {
5912 if (vhci_ioc_get_client_path(pioc, client_path, mode, s)) {
5920 if (vhci_ioc_get_phci_path(pioc, phci_path, mode, s)) {
5965 uint_t pid = pioc->buf_elem;
5985 if (copyoutstr(target_port, pioc->addr, MAXNAMELEN, NULL)) {
6000 if (vhci_ioc_get_phci_path(pioc, phci_path, mode, s)) {
6031 if (vhci_ioc_get_phci_path(pioc, phci_path, mode, s)) {
6184 vhci_ioc_get_phci_path(sv_iocdata_t *pioc, caddr_t phci_path,
6189 if (ddi_copyin(pioc->phci, phci_path, MAXPATHLEN, mode)) {
6204 vhci_ioc_get_client_path(sv_iocdata_t *pioc, caddr_t client_path,
6209 if (ddi_copyin(pioc->client, client_path, MAXPATHLEN, mode)) {
6223 vhci_ioc_get_paddr(sv_iocdata_t *pioc, caddr_t paddr, int mode, caddr_t s)
6227 if (ddi_copyin(pioc->addr, paddr, MAXNAMELEN, mode)) {
6241 vhci_ioc_send_client_path(caddr_t client_path, sv_iocdata_t *pioc,
6246 if (ddi_copyout(client_path, pioc->client, MAXPATHLEN, mode)) {
6431 vhci_get_iocdata(const void *data, sv_iocdata_t *pioc, int mode, caddr_t s)
6445 pioc->client = (caddr_t)(uintptr_t)ioc32.client;
6446 pioc->phci = (caddr_t)(uintptr_t)ioc32.phci;
6447 pioc->addr = (caddr_t)(uintptr_t)ioc32.addr;
6448 pioc->buf_elem = (uint_t)ioc32.buf_elem;
6449 pioc->ret_buf = (sv_path_info_t *)(uintptr_t)ioc32.ret_buf;
6450 pioc->ret_elem = (uint_t *)(uintptr_t)ioc32.ret_elem;
6455 if (ddi_copyin(data, pioc, sizeof (*pioc), mode)) {
6462 if (ddi_copyin(data, pioc, sizeof (*pioc), mode)) {
6536 uint_t num_paths, sv_iocdata_t *pioc, int mode, caddr_t s)
6570 src = (sv_path_info32_t *)pioc->ret_buf;
6589 if (ddi_copyin(pioc->ret_buf, *upibuf,
6596 if (ddi_copyin(pioc->ret_buf, *upibuf,
6677 uint_t num_paths, sv_iocdata_t *pioc, int mode, caddr_t s)
6704 upi_ptr = pioc->ret_buf;
6764 upi32_ptr = (sv_path_info32_t *)pioc->ret_buf;