/illumos-gate/usr/src/uts/common/io/ |
H A D | tphci.c | 286 if (mdi_phci_register(vclass + 1, dip, 0) != MDI_SUCCESS) { in tphci_attach() 331 if (mdi_phci_unregister(dip, 0) != MDI_SUCCESS) in tphci_detach() 518 if (rval != MDI_SUCCESS) { in tphci_bus_config() 534 if (rval != MDI_SUCCESS) { in tphci_bus_config() 554 int rval = MDI_SUCCESS; in tphci_bus_unconfig() 575 if (rval == MDI_SUCCESS) in tphci_bus_unconfig() 579 return (rval == MDI_SUCCESS ? NDI_SUCCESS : NDI_FAILURE); in tphci_bus_unconfig() 596 if (rval != MDI_SUCCESS) in tphci_bus_unconfig() 601 return (rval == MDI_SUCCESS ? NDI_SUCCESS : NDI_FAILURE); in tphci_bus_unconfig()
|
H A D | tvhci.c | 311 if (mdi_vhci_register(vclass, dip, &tvhci_opinfo, 0) != MDI_SUCCESS) { in tvhci_attach() 356 if (mdi_vhci_unregister(dip, 0) != MDI_SUCCESS) in tvhci_detach() 405 return (MDI_SUCCESS); in tvhci_pi_init() 412 return (MDI_SUCCESS); in tvhci_pi_uninit() 420 return (MDI_SUCCESS); in tvhci_pi_state_change() 427 return (MDI_SUCCESS); in tvhci_failover() 575 == MDI_SUCCESS) in tvhci_bus_config()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunmdi.c | 486 return (MDI_SUCCESS); in mdi_vhci_register() 540 if (destroy_vhci_cache(vh) != MDI_SUCCESS) { in mdi_vhci_unregister() 569 return (MDI_SUCCESS); in mdi_vhci_unregister() 696 return (MDI_SUCCESS); in mdi_phci_register() 772 return (MDI_SUCCESS); in mdi_phci_unregister() 1190 int rv = MDI_SUCCESS; in i_mdi_devinfo_remove() 1192 if (i_mdi_is_child_present(vdip, cdip) == MDI_SUCCESS || in i_mdi_devinfo_remove() 1204 rv = MDI_SUCCESS; in i_mdi_devinfo_remove() 1246 rv = MDI_SUCCESS; in i_mdi_is_child_present() 1439 int rv = MDI_SUCCESS; in i_mdi_client_free() [all …]
|
H A D | sunpm.c | 6868 return (ret == MDI_SUCCESS ? DDI_SUCCESS : DDI_FAILURE); in pm_pre_config() 6896 return (ret == MDI_SUCCESS ? DDI_SUCCESS : DDI_FAILURE); in pm_pre_unconfig()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci.c | 718 != MDI_SUCCESS) { in vhci_attach() 991 if (rval == MDI_SUCCESS) { in vhci_scsi_tgt_init() 1002 (rval != MDI_SUCCESS)) { in vhci_scsi_tgt_init() 1048 if (rval == MDI_SUCCESS) { in vhci_scsi_tgt_init() 1215 MDI_SUCCESS) { in vhci_scsi_start() 1356 if ((rval == MDI_SUCCESS) && (pip != NULL)) { in vhci_scsi_start() 1647 if ((rval != MDI_SUCCESS) || (pip == NULL)) { in vhci_scsi_reset_target() 1688 if ((sps != MDI_SUCCESS) || (npip == NULL)) { in vhci_scsi_reset_target() 2160 if (mdi_component_is_client(cdip, NULL) != MDI_SUCCESS) in vhci_scsi_get_name_bus_addr() 2252 if ((rval != MDI_SUCCESS) || (pip == NULL)) { in vhci_bind_transport() [all …]
|
H A D | mpapi_impl.c | 1605 if ((rval != MDI_SUCCESS) || (pip == NULL)) { in vhci_set_tpg_access_state() 1865 if ((rval != MDI_SUCCESS) || (npip == NULL)) { in vhci_mpapi_hold_pip() 1877 } while ((npip != NULL) && (rval == MDI_SUCCESS)); in vhci_mpapi_hold_pip()
|
/illumos-gate/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_ibnex.c | 574 MDI_SUCCESS) { in ibtl_ibnex_phci_register() 611 if (mdi_pi_free(pip, 0) == MDI_SUCCESS) { in ibtl_ibnex_phci_unregister() 623 if (mdi_phci_unregister(hca_dip, 0) != MDI_SUCCESS) { in ibtl_ibnex_phci_unregister()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | sunmdi.h | 48 #define MDI_SUCCESS 0 /* Call Success */ macro 120 #define MDI_SUCCESS 0 /* Call Success */ macro
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_lun.c | 416 if (mdi_rtn == MDI_SUCCESS) { in iscsi_lun_virt_create() 467 if (pip && mdi_rtn != MDI_SUCCESS) { in iscsi_lun_virt_create() 628 if (rval == MDI_SUCCESS) { in iscsi_lun_online() 743 if (mdi_pi_offline(ilp->lun_pip, 0) == MDI_SUCCESS) { in iscsi_lun_offline()
|
H A D | iscsi.c | 560 MDI_SUCCESS) { in iscsi_attach()
|
/illumos-gate/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex.c | 486 != MDI_SUCCESS) { in ibnex_attach() 2131 if (rval != MDI_SUCCESS) { in ibnex_pseudo_create_pi_pdip() 2149 if (rval != MDI_SUCCESS) { in ibnex_pseudo_create_pi_pdip() 2190 if (rval != MDI_SUCCESS) { in ibnex_ioc_create_pi() 2223 if (rval != MDI_SUCCESS) { in ibnex_ioc_create_pi() 3929 return (MDI_SUCCESS); in ib_vhci_pi_init() 3964 return (MDI_SUCCESS); in ib_vhci_pi_uninit() 3968 return (MDI_SUCCESS); in ib_vhci_pi_uninit() 3971 return (MDI_SUCCESS); in ib_vhci_pi_uninit() 3982 return (MDI_SUCCESS); in ib_vhci_pi_state_change() [all …]
|
H A D | ibnex_ioctl.c | 2649 int rval = MDI_SUCCESS; in ibnex_ioc_fininode() 2674 if (rval != MDI_SUCCESS) { in ibnex_ioc_fininode() 2681 return (rval == MDI_SUCCESS ? IBNEX_SUCCESS : IBNEX_OFFLINE_FAILED); in ibnex_ioc_fininode() 2688 int rval = MDI_SUCCESS, rval2; in ibnex_offline_childdip() 2700 rval2 = MDI_SUCCESS; in ibnex_offline_childdip() 2704 if (rval2 != MDI_SUCCESS) { in ibnex_offline_childdip() 2716 if (rval2 == MDI_SUCCESS) { in ibnex_offline_childdip() 2771 int rval = MDI_SUCCESS; in ibnex_pseudo_fininode() 2782 if (rval != MDI_SUCCESS) { in ibnex_pseudo_fininode() 2789 return (rval == MDI_SUCCESS ? IBNEX_SUCCESS : IBNEX_OFFLINE_FAILED); in ibnex_pseudo_fininode()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/ |
H A D | tape.c | 123 MDI_SUCCESS)) { in tape_device_probe()
|
H A D | tpgs_tape.c | 156 MDI_SUCCESS)) { in tpgs_tape_device_probe()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smartpqi/ |
H A D | smartpqi_hba.c | 127 MDI_SUCCESS) { in smartpqi_register_hba() 1038 MDI_SUCCESS) { 1064 if (rval == MDI_SUCCESS) {
|
/illumos-gate/usr/src/uts/common/fs/devfs/ |
H A D | devfs_vfsops.c | 430 (mdi_component_is_vhci(dip, NULL) != MDI_SUCCESS)) { in devfs_clean()
|
/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_hba.c | 1219 (mdi_phci_register(MDI_HCI_CLASS_SCSI, self, 0) == MDI_SUCCESS)) in scsa_tran_setup() 3204 if (mdi_dc_return_dev_state(path, dcp) != MDI_SUCCESS) in scsi_hba_ioctl() 3292 if (mdi_pi_online(path, NDI_USER_REQ) != MDI_SUCCESS) in scsi_hba_ioctl() 3305 if (mdi_pi_offline(path, NDI_USER_REQ) != MDI_SUCCESS) in scsi_hba_ioctl() 3320 if (mdi_pi_offline(path, NDI_USER_REQ) == MDI_SUCCESS) { in scsi_hba_ioctl() 5234 MDI_SUCCESS)) { in scsi_device_createchild() 5305 ncompat, 0, &pchild) != MDI_SUCCESS) { in scsi_device_createchild() 5473 if (rval != MDI_SUCCESS) { in scsi_device_configchild() 6798 if (rval == MDI_SUCCESS) { in scsi_device_unconfig()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas.c | 1069 dip, 0) == MDI_SUCCESS) { in mptsas_iport_attach() 1923 if (mdi_pi_free(pip, 0) == MDI_SUCCESS) { in mptsas_do_detach() 3190 if (mdi_component_is_client(tgt_dip, NULL) == MDI_SUCCESS) { in mptsas_scsi_tgt_init() 3206 &psas_wwn) == MDI_SUCCESS) { in mptsas_scsi_tgt_init() 3247 if (mdi_component_is_client(tgt_dip, NULL) == MDI_SUCCESS) { in mptsas_scsi_tgt_init() 15571 if (rval != MDI_SUCCESS) { in mptsas_create_virt_lun() 15580 if (mdi_pi_free(*pip, 0) != MDI_SUCCESS) { in mptsas_create_virt_lun() 15626 if (mdi_rtn == MDI_SUCCESS) { in mptsas_create_virt_lun() 15825 if (*pip && mdi_rtn != MDI_SUCCESS) { in mptsas_create_virt_lun() 15843 return ((mdi_rtn == MDI_SUCCESS) ? DDI_SUCCESS : DDI_FAILURE); in mptsas_create_virt_lun()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcp.c | 9968 MDI_SUCCESS) { in fcp_handle_port_attach() 11011 if (mdi_component_is_client(tgt_dip, NULL) == MDI_SUCCESS) { in fcp_scsi_tgt_init() 12818 uaddr, compatible, ncompatible, 0, &pip) != MDI_SUCCESS) { in fcp_create_pip() 13200 if (rval == MDI_SUCCESS) { in fcp_online_child() 13265 rval = (rval == MDI_SUCCESS) ? NDI_SUCCESS : NDI_FAILURE; in fcp_online_child() 13340 rval = (rval == MDI_SUCCESS) ? NDI_SUCCESS : NDI_FAILURE; in fcp_offline_child()
|