Lines Matching defs:ioc
1354 * Input - Space for client_path, phci_path and paddr fields of ioc structure
1358 get_scsi_vhci_pathinfo(char *dev_path, sv_iocdata_t *ioc, int *path_count)
1408 (void) strcpy(ioc->client, physical_path);
1409 ioc->buf_elem = 1;
1410 ioc->ret_elem = (uint_t *)&(initial_path_count);
1411 ioc->ret_buf = NULL;
1422 retval = ioctl(fd, SCSI_VHCI_GET_CLIENT_MULTIPATH_INFO, ioc);
1431 ioc->buf_elem = initial_path_count;
1433 ioc->ret_elem = (uint_t *)&(current_path_count);
1439 ioc->ret_buf = (sv_path_info_t *)
1441 if (ioc->ret_buf == NULL) {
1451 ioc->ret_buf[i].ret_prop.buf_size = prop_buf_size;
1452 if ((ioc->ret_buf[i].ret_prop.buf =
1457 if ((ioc->ret_buf[i].ret_prop.ret_buf_size =
1465 free(ioc->ret_buf[i].ret_prop.buf);
1466 free(ioc->ret_buf[i].ret_prop.ret_buf_size);
1468 free(ioc->ret_buf);
1473 retval = ioctl(fd, SCSI_VHCI_GET_CLIENT_MULTIPATH_INFO, ioc);
1476 free(ioc->ret_buf[i].ret_prop.buf);
1477 free(ioc->ret_buf[i].ret_prop.ret_buf_size);
1479 free(ioc->ret_buf);
1499 * ioc.buf_elem has the value the caller provided.