Searched refs:mpioc (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | mpapi_impl.c | 178 mp_iocdata_t *mpioc = &mpio_blk; in vhci_mpapi_ctl() local 200 if (vhci_get_mpiocdata((const void *)data, mpioc, mode) != 0) { in vhci_mpapi_ctl() 204 if (mpioc->mp_cmd < MP_API_SUBCMD_MIN || in vhci_mpapi_ctl() 205 mpioc->mp_cmd > MP_API_SUBCMD_MAX) { in vhci_mpapi_ctl() 209 retval = vhci_mpapi_ioctl(dev, vhci, (void *)data, mpioc, mode, credp); in vhci_mpapi_ctl() 216 vhci_mpapi_validate(void *udata, mp_iocdata_t *mpioc, int mode, cred_t *credp) in vhci_mpapi_validate() argument 225 switch (mpioc->mp_cmd) { in vhci_mpapi_validate() 233 if ((mpioc->mp_olen == 0) || in vhci_mpapi_validate() 234 (mpioc->mp_obuf == NULL) || in vhci_mpapi_validate() 235 (mpioc->mp_xfer != MP_XFER_READ)) { in vhci_mpapi_validate() [all …]
|