pmcs_get_target
tgt = pmcs_get_target(iport, tgt_port, B_TRUE);
tgt = pmcs_get_target(iport, tgt_port, B_TRUE);
target = pmcs_get_target(iport, tgt_addr, B_FALSE);
pmcs_xscsi_t *pmcs_get_target(pmcs_iport_t *, char *, boolean_t);