/illumos-gate/usr/src/uts/common/io/ |
H A D | tphci.c | 571 rval = mdi_pi_offline(pip, NDI_DEVI_REMOVE); in tphci_bus_unconfig() 592 rval = mdi_pi_offline(pip, NDI_DEVI_REMOVE); in tphci_bus_unconfig()
|
H A D | lofi.c | 535 while (ndi_devi_offline(lsp->ls_dip, NDI_DEVI_REMOVE) != NDI_SUCCESS) { in lofi_teardown_task() 2910 (void) ndi_devi_offline(child, NDI_DEVI_REMOVE); in lofi_create_dev()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | enx_main.c | 462 if (flags & (NDI_UNCONFIG | NDI_DEVI_REMOVE)) { in eibnx_bus_unconfig() 478 if (flags & (NDI_UNCONFIG | NDI_DEVI_REMOVE)) { in eibnx_bus_unconfig()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunndi.c | 557 rval = ndi_devi_unconfig_one(dip, name, NULL, flags | NDI_DEVI_REMOVE); in ndi_devctl_device_remove() 883 (void) ndi_devi_offline(cdip, NDI_DEVI_REMOVE); in ndi_dc_devi_create() 892 (void) ndi_devi_offline(cdip, NDI_DEVI_REMOVE); in ndi_dc_devi_create() 902 (void) ndi_devi_offline(cdip, NDI_DEVI_REMOVE); in ndi_dc_devi_create() 914 (void) ndi_devi_offline(cdip, NDI_DEVI_REMOVE); in ndi_dc_devi_create() 923 (void) ndi_devi_offline(cdip, NDI_DEVI_REMOVE); in ndi_dc_devi_create() 946 (void) ndi_devi_offline(cdip, NDI_DEVI_REMOVE); in ndi_dc_devi_create()
|
H A D | devcfg.c | 1849 ret = ndi_devi_unconfig(dip, NDI_DEVI_REMOVE); in ddi_remove_child() 5285 (flags & (NDI_DEVI_OFFLINE | NDI_UNCONFIG | NDI_DEVI_REMOVE)) && in need_remove_event() 6104 if (flags & (NDI_UNCONFIG | NDI_DEVI_REMOVE)) { in devi_detach_node() 6113 flags |= NDI_DEVI_REMOVE; in devi_detach_node() 6115 if (flags & NDI_DEVI_REMOVE) { in devi_detach_node()
|
H A D | sunmdi.c | 1194 rv = ndi_devi_offline(cdip, NDI_DEVFS_CLEAN | NDI_DEVI_REMOVE); in i_mdi_devinfo_remove() 3818 if (flags & NDI_DEVI_REMOVE) { in mdi_pi_offline() 3819 flags &= ~NDI_DEVI_REMOVE; in mdi_pi_offline() 5666 if (flags & NDI_DEVI_REMOVE) { in i_mdi_client_offline()
|
/illumos-gate/usr/src/uts/common/io/usb/usb_ia/ |
H A D | usb_ia.c | 432 flag &= ~(NDI_DEVI_REMOVE | NDI_UNCONFIG); in usb_ia_bus_unconfig() 440 flag |= NDI_DEVI_REMOVE; in usb_ia_bus_unconfig()
|
/illumos-gate/usr/src/uts/common/io/fcoe/ |
H A D | fcoe_fc.c | 494 rval = ndi_devi_offline(mac->fm_client_dev, NDI_DEVI_REMOVE); in fcoe_delete_port()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | sunndi.h | 310 #define NDI_DEVI_REMOVE 0x00000001 /* remove after unconfig */ macro
|
/illumos-gate/usr/src/uts/common/io/usb/usb_mid/ |
H A D | usb_mid.c | 482 flag &= ~(NDI_DEVI_REMOVE | NDI_UNCONFIG); in usb_mid_bus_unconfig() 490 flag |= NDI_DEVI_REMOVE; in usb_mid_bus_unconfig()
|
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_fcoe.c | 1742 if (ndi_devi_offline(pUM->fcoe.pDev, NDI_DEVI_REMOVE) != NDI_SUCCESS) in BnxeFcoeFini() 1749 ndi_devi_offline(pUM->fcoe.pDev, NDI_DEVI_REMOVE); in BnxeFcoeFini()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_lun.c | 767 flags |= NDI_DEVI_REMOVE; in iscsi_lun_offline()
|
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/ |
H A D | hba.c | 726 flag &= ~(NDI_DEVI_REMOVE | NDI_UNCONFIG); in scsa1394_scsi_bus_unconfig() 739 flag |= NDI_DEVI_REMOVE; in scsa1394_scsi_bus_unconfig() 745 ((saved_flag & NDI_DEVI_REMOVE) != 0)) { in scsa1394_scsi_bus_unconfig()
|
/illumos-gate/usr/src/uts/sun4/io/efcode/ |
H A D | fc_ops.c | 795 (void) ndi_devi_offline(root, NDI_UNCONFIG | NDI_DEVI_REMOVE); in remove_subtree()
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usba.c | 935 int rval = usba_destroy_child_devi(*child_dip, NDI_DEVI_REMOVE); in usba_create_child_devi() 2562 (void) usba_destroy_child_devi(child_dip, NDI_DEVI_REMOVE); in usba_ready_interface_association_node() 2793 (void) usba_destroy_child_devi(child_dip, NDI_DEVI_REMOVE); in usba_ready_interface_node()
|
H A D | hubdi.c | 1433 flag |= NDI_DEVI_REMOVE; in hubd_bus_unconfig() 2395 (void) hubd_delete_child(hubd, port, NDI_DEVI_REMOVE, in hubd_check_disconnected_ports() 6725 NDI_DEVI_REMOVE); in hubd_create_child() 6789 if ((rval == USB_SUCCESS) && (flag & NDI_DEVI_REMOVE)) { in hubd_delete_child() 7822 NDI_DEVI_REMOVE, B_FALSE) != USB_SUCCESS) { in usba_hubdi_ioctl() 9066 NDI_DEVI_REMOVE, B_FALSE); in hubd_reset_thread() 9083 reset_port, NDI_DEVI_REMOVE, B_FALSE) != USB_SUCCESS)) { in hubd_reset_thread()
|
/illumos-gate/usr/src/uts/common/io/1394/ |
H A D | s1394_hotplug.c | 652 (void) ndi_devi_offline(devinfo_ptrs[j], NDI_DEVI_REMOVE); in s1394_offline_node()
|
/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_hba.c | 3284 NDI_DEVFS_CLEAN | NDI_DEVI_REMOVE) != NDI_SUCCESS) { in scsi_hba_ioctl() 3332 NDI_DEVFS_CLEAN | NDI_DEVI_REMOVE) != NDI_SUCCESS) in scsi_hba_ioctl() 6763 NDI_DEVFS_CLEAN | NDI_DEVI_REMOVE) == DDI_SUCCESS) { in scsi_device_unconfig() 8081 flags &= ~NDI_DEVI_REMOVE; in scsi_hba_bus_unconfig_tgtmap() 8236 flags &= ~NDI_DEVI_REMOVE; in scsi_hba_bus_unconfig_iportmap() 8354 flags |= NDI_DEVI_REMOVE; in scsi_hba_bus_unconfig() 8473 NDI_DEVFS_CLEAN | NDI_DEVI_REMOVE) == DDI_SUCCESS) { in scsi_tgtmap_smp_unconfig() 9503 NDI_DEVFS_CLEAN | NDI_DEVI_REMOVE) == DDI_SUCCESS) { in scsi_iportmap_unconfig()
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | immu_dmar.c | 733 if (ndi_devi_offline(dip, NDI_DEVI_REMOVE) != DDI_SUCCESS) { in drhd_devi_destroy()
|
/illumos-gate/usr/src/uts/common/xen/os/ |
H A D | xvdi.c | 824 (void) ndi_devi_offline(dip, NDI_DEVI_REMOVE); in xvdi_create_dev() 2273 (void) ndi_devi_offline(dip, NDI_DEVI_REMOVE); in xendev_offline_device()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smartpqi/ |
H A D | smartpqi_hba.c | 1130 NDI_DEVFS_CLEAN | NDI_DEVI_REMOVE);
|
/illumos-gate/usr/src/uts/common/io/usb/scsa2usb/ |
H A D | scsa2usb.c | 2451 flag &= ~(NDI_DEVI_REMOVE | NDI_UNCONFIG); in scsa2usb_scsi_bus_unconfig() 2463 flag |= NDI_DEVI_REMOVE; in scsa2usb_scsi_bus_unconfig() 2469 (save_flag & NDI_DEVI_REMOVE)) { in scsa2usb_scsi_bus_unconfig()
|
/illumos-gate/usr/src/uts/common/io/cardbus/ |
H A D | cardbus_cfg.c | 426 NDI_UNCONFIG|NDI_DEVI_REMOVE); in cardbus_configure() 469 if (ndi_devi_offline(dip, NDI_DEVI_REMOVE) != NDI_SUCCESS) { in cardbus_teardown_device()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcp.c | 3873 flag = NDI_DEVI_REMOVE; in fcp_port_ioctl() 9308 0, 1, NDI_DEVI_REMOVE); in fcp_device_changed() 12573 link_cnt, tgt_cnt, NDI_DEVI_REMOVE, 0); in fcp_create_dip() 12764 NDI_DEVI_REMOVE, 0); in fcp_create_pip() 13349 if (flags & NDI_DEVI_REMOVE) { in fcp_offline_child() 13383 if (flags & NDI_DEVI_REMOVE) { in fcp_offline_child() 13446 NDI_DEVI_REMOVE); in fcp_remove_child()
|
/illumos-gate/usr/src/uts/common/io/sata/impl/ |
H A D | sata.c | 1044 NDI_DEVI_REMOVE) != in sata_hba_detach() 1079 NDI_DEVI_REMOVE) != in sata_hba_detach() 11358 NDI_DEVI_REMOVE) != NDI_SUCCESS) { in sata_offline_device() 11618 if (ndi_devi_offline(tdip, NDI_DEVI_REMOVE) != NDI_SUCCESS) { in sata_remove_target_node() 12559 NDI_DEVI_REMOVE) != NDI_SUCCESS) { in sata_free_pmult() 15865 if (ndi_devi_offline(tdip, NDI_DEVI_REMOVE) != in sata_ioctl_deactivate() 20426 NDI_DEVI_REMOVE); in sata_process_device_attached() 20688 NDI_DEVI_REMOVE); in sata_process_pmdevice_attached() 20798 if (ndi_devi_offline(tdip, NDI_DEVI_REMOVE) == in sata_process_target_node_cleanup()
|