|SCSI_HBA_IPORT_EXIST(9F)||Kernel Functions for Drivers||SCSI_HBA_IPORT_EXIST(9F)|
*dip, char *ua);
scsi_hba_iport_exists() function is used to determine whether or not dip has any child devices that are iports which have been added through scsi_hba_iport_register(9F) or scsi_hba_iportmap_iport_add(9F). For more information on iports, see iport(9).
attempts to find a child iport and return its dev_info
structure if it exists. The iport is searched for by its unit address, which
is passed in the ua argument. The unit address for an
iport is established when the iport is created.
scsi_hba_iport_find() functions may be called in either user or kernel context.
scsi_hba_iport_exists() function returns 1 when there is a child iport of dip. Otherwise, it returns 0.
scsi_hba_iport_find() function returns
a pointer to the iport's dev_info structure, if found.
NULL is returned.
|April 18, 2017||OmniOS|