Home
last modified time | relevance | path

Searched refs:NDI_DEVI_REMOVE (Results 1 – 25 of 38) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/
H A Dtphci.c571 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 Dlofi.c535 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 Denx_main.c462 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 Dsunndi.c557 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 Ddevcfg.c1849 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 Dsunmdi.c1194 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 Dusb_ia.c432 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 Dfcoe_fc.c494 rval = ndi_devi_offline(mac->fm_client_dev, NDI_DEVI_REMOVE); in fcoe_delete_port()
/illumos-gate/usr/src/uts/common/sys/
H A Dsunndi.h310 #define NDI_DEVI_REMOVE 0x00000001 /* remove after unconfig */ macro
/illumos-gate/usr/src/uts/common/io/usb/usb_mid/
H A Dusb_mid.c482 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 Dbnxe_fcoe.c1742 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 Discsi_lun.c767 flags |= NDI_DEVI_REMOVE; in iscsi_lun_offline()
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dhba.c726 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 Dfc_ops.c795 (void) ndi_devi_offline(root, NDI_UNCONFIG | NDI_DEVI_REMOVE); in remove_subtree()
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusba.c935 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 Dhubdi.c1433 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 Ds1394_hotplug.c652 (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 Dscsi_hba.c3284 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 Dimmu_dmar.c733 if (ndi_devi_offline(dip, NDI_DEVI_REMOVE) != DDI_SUCCESS) { in drhd_devi_destroy()
/illumos-gate/usr/src/uts/common/xen/os/
H A Dxvdi.c824 (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 Dsmartpqi_hba.c1130 NDI_DEVFS_CLEAN | NDI_DEVI_REMOVE);
/illumos-gate/usr/src/uts/common/io/usb/scsa2usb/
H A Dscsa2usb.c2451 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 Dcardbus_cfg.c426 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 Dfcp.c3873 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 Dsata.c1044 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()

12