/titanic_44/usr/src/uts/common/io/ |
H A D | tphci.c | 283 if (mdi_phci_register(vclass + 1, dip, 0) != MDI_SUCCESS) { in tphci_attach() 328 if (mdi_phci_unregister(dip, 0) != MDI_SUCCESS) in tphci_detach() 514 if (rval != MDI_SUCCESS) { in tphci_bus_config() 530 if (rval != MDI_SUCCESS) { in tphci_bus_config() 550 int rval = MDI_SUCCESS; in tphci_bus_unconfig() 571 if (rval == MDI_SUCCESS) in tphci_bus_unconfig() 575 return (rval == MDI_SUCCESS ? NDI_SUCCESS : NDI_FAILURE); in tphci_bus_unconfig() 592 if (rval != MDI_SUCCESS) in tphci_bus_unconfig() 597 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()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | sunmdi.c | 483 return (MDI_SUCCESS); in mdi_vhci_register() 537 if (destroy_vhci_cache(vh) != MDI_SUCCESS) { in mdi_vhci_unregister() 566 return (MDI_SUCCESS); in mdi_vhci_unregister() 693 return (MDI_SUCCESS); in mdi_phci_register() 769 return (MDI_SUCCESS); in mdi_phci_unregister() 1194 int rv = MDI_SUCCESS; in i_mdi_devinfo_remove() 1196 if (i_mdi_is_child_present(vdip, cdip) == MDI_SUCCESS || in i_mdi_devinfo_remove() 1208 rv = MDI_SUCCESS; in i_mdi_devinfo_remove() 1251 rv = MDI_SUCCESS; in i_mdi_is_child_present() 1444 int rv = MDI_SUCCESS; in i_mdi_client_free() [all …]
|
H A D | sunpm.c | 6877 return (ret == MDI_SUCCESS ? DDI_SUCCESS : DDI_FAILURE); in pm_pre_config() 6905 return (ret == MDI_SUCCESS ? DDI_SUCCESS : DDI_FAILURE); in pm_pre_unconfig()
|
/titanic_44/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci.c | 715 != MDI_SUCCESS) { in vhci_attach() 988 if (rval == MDI_SUCCESS) { in vhci_scsi_tgt_init() 999 (rval != MDI_SUCCESS)) { in vhci_scsi_tgt_init() 1045 if (rval == MDI_SUCCESS) { in vhci_scsi_tgt_init() 1212 MDI_SUCCESS) { in vhci_scsi_start() 1353 if ((rval == MDI_SUCCESS) && (pip != NULL)) { in vhci_scsi_start() 1644 if ((rval != MDI_SUCCESS) || (pip == NULL)) { in vhci_scsi_reset_target() 1685 if ((sps != MDI_SUCCESS) || (npip == NULL)) { in vhci_scsi_reset_target() 2157 if (mdi_component_is_client(cdip, NULL) != MDI_SUCCESS) in vhci_scsi_get_name_bus_addr() 2249 if ((rval != MDI_SUCCESS) || (pip == NULL)) { in vhci_bind_transport() [all …]
|
H A D | mpapi_impl.c | 1619 if ((rval != MDI_SUCCESS) || (pip == NULL)) { in vhci_set_tpg_access_state() 1879 if ((rval != MDI_SUCCESS) || (npip == NULL)) { in vhci_mpapi_hold_pip() 1891 } while ((npip != NULL) && (rval == MDI_SUCCESS)); in vhci_mpapi_hold_pip()
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | sunmdi.h | 44 #define MDI_SUCCESS 0 /* Call Success */ macro 116 #define MDI_SUCCESS 0 /* Call Success */ macro
|
/titanic_44/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_ibnex.c | 570 MDI_SUCCESS) { in ibtl_ibnex_phci_register() 608 if (mdi_pi_free(pip, 0) == MDI_SUCCESS) { in ibtl_ibnex_phci_unregister() 620 if (mdi_phci_unregister(hca_dip, 0) != MDI_SUCCESS) { in ibtl_ibnex_phci_unregister()
|
/titanic_44/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_lun.c | 336 if (mdi_rtn == MDI_SUCCESS) { in iscsi_lun_virt_create() 387 if (pip && mdi_rtn != MDI_SUCCESS) { in iscsi_lun_virt_create() 550 if (rval == MDI_SUCCESS) { in iscsi_lun_online() 718 if (rval == MDI_SUCCESS) { in iscsi_lun_offline()
|
H A D | iscsi.c | 548 MDI_SUCCESS) { in iscsi_attach()
|
/titanic_44/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()
|
/titanic_44/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex.c | 481 != MDI_SUCCESS) { in ibnex_attach() 2126 if (rval != MDI_SUCCESS) { in ibnex_pseudo_create_pi_pdip() 2144 if (rval != MDI_SUCCESS) { in ibnex_pseudo_create_pi_pdip() 2185 if (rval != MDI_SUCCESS) { in ibnex_ioc_create_pi() 2218 if (rval != MDI_SUCCESS) { in ibnex_ioc_create_pi() 3924 return (MDI_SUCCESS); in ib_vhci_pi_init() 3959 return (MDI_SUCCESS); in ib_vhci_pi_uninit() 3963 return (MDI_SUCCESS); in ib_vhci_pi_uninit() 3966 return (MDI_SUCCESS); in ib_vhci_pi_uninit() 3977 return (MDI_SUCCESS); in ib_vhci_pi_state_change() [all …]
|
H A D | ibnex_ioctl.c | 2646 int rval = MDI_SUCCESS; in ibnex_ioc_fininode() 2671 if (rval != MDI_SUCCESS) { in ibnex_ioc_fininode() 2678 return (rval == MDI_SUCCESS ? IBNEX_SUCCESS : IBNEX_OFFLINE_FAILED); in ibnex_ioc_fininode() 2685 int rval = MDI_SUCCESS, rval2; in ibnex_offline_childdip() 2697 rval2 = MDI_SUCCESS; in ibnex_offline_childdip() 2701 if (rval2 != MDI_SUCCESS) { in ibnex_offline_childdip() 2713 if (rval2 == MDI_SUCCESS) { in ibnex_offline_childdip() 2768 int rval = MDI_SUCCESS; in ibnex_pseudo_fininode() 2779 if (rval != MDI_SUCCESS) { in ibnex_pseudo_fininode() 2786 return (rval == MDI_SUCCESS ? IBNEX_SUCCESS : IBNEX_OFFLINE_FAILED); in ibnex_pseudo_fininode()
|
/titanic_44/usr/src/uts/common/fs/devfs/ |
H A D | devfs_vfsops.c | 430 (mdi_component_is_vhci(dip, NULL) != MDI_SUCCESS)) { in devfs_clean()
|
/titanic_44/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_hba.c | 1215 (mdi_phci_register(MDI_HCI_CLASS_SCSI, self, 0) == MDI_SUCCESS)) in scsa_tran_setup() 3199 if (mdi_dc_return_dev_state(path, dcp) != MDI_SUCCESS) in scsi_hba_ioctl() 3287 if (mdi_pi_online(path, NDI_USER_REQ) != MDI_SUCCESS) in scsi_hba_ioctl() 3300 if (mdi_pi_offline(path, NDI_USER_REQ) != MDI_SUCCESS) in scsi_hba_ioctl() 3315 if (mdi_pi_offline(path, NDI_USER_REQ) == MDI_SUCCESS) { in scsi_hba_ioctl() 5229 MDI_SUCCESS)) { in scsi_device_createchild() 5300 ncompat, 0, &pchild) != MDI_SUCCESS) { in scsi_device_createchild() 5468 if (rval != MDI_SUCCESS) { in scsi_device_configchild() 6792 if (rval == MDI_SUCCESS) { in scsi_device_unconfig()
|
/titanic_44/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas.c | 1051 dip, 0) == MDI_SUCCESS) { in mptsas_iport_attach() 1891 if (mdi_pi_free(pip, 0) == MDI_SUCCESS) { in mptsas_do_detach() 3102 if (mdi_component_is_client(tgt_dip, NULL) == MDI_SUCCESS) { in mptsas_scsi_tgt_init() 3118 &psas_wwn) == MDI_SUCCESS) { in mptsas_scsi_tgt_init() 3159 if (mdi_component_is_client(tgt_dip, NULL) == MDI_SUCCESS) { in mptsas_scsi_tgt_init() 15486 if (rval != MDI_SUCCESS) { in mptsas_create_virt_lun() 15495 if (mdi_pi_free(*pip, 0) != MDI_SUCCESS) { in mptsas_create_virt_lun() 15541 if (mdi_rtn == MDI_SUCCESS) { in mptsas_create_virt_lun() 15740 if (*pip && mdi_rtn != MDI_SUCCESS) { in mptsas_create_virt_lun() 15758 return ((mdi_rtn == MDI_SUCCESS) ? DDI_SUCCESS : DDI_FAILURE); in mptsas_create_virt_lun()
|
/titanic_44/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcp.c | 9979 MDI_SUCCESS) { in fcp_handle_port_attach() 11022 if (mdi_component_is_client(tgt_dip, NULL) == MDI_SUCCESS) { in fcp_scsi_tgt_init() 12830 uaddr, compatible, ncompatible, 0, &pip) != MDI_SUCCESS) { in fcp_create_pip() 13213 if (rval == MDI_SUCCESS) { in fcp_online_child() 13278 rval = (rval == MDI_SUCCESS) ? NDI_SUCCESS : NDI_FAILURE; in fcp_online_child() 13353 rval = (rval == MDI_SUCCESS) ? NDI_SUCCESS : NDI_FAILURE; in fcp_offline_child()
|