pppt_tgt_lookup_locked
tgt = pppt_tgt_lookup_locked(lport_devid);
pppt_tgt_t *pppt_tgt_lookup_locked(scsi_devid_desc_t *tgt_devid);
if ((result = pppt_tgt_lookup_locked(reg_port->icrp_port_id)) != NULL) {
if ((tgt = pppt_tgt_lookup_locked(dereg_port->icdp_port_id)) == NULL) {
result = pppt_tgt_lookup_locked(tgt_devid);