Lines Matching refs:tgt
561 struct i_ddi_fmtgt *tgt;
593 tgt = kmem_alloc(sizeof (struct i_ddi_fmtgt), KM_SLEEP);
594 tgt->ft_dip = dip;
595 tgt->ft_errhdl = new_eh;
600 tgt->ft_next = pfmhdl->fh_tgts;
601 pfmhdl->fh_tgts = tgt;
616 struct i_ddi_fmtgt *tgt, **ptgt;
647 for (tgt = pfmhdl->fh_tgts; tgt != NULL; tgt = tgt->ft_next) {
648 if (dip == tgt->ft_dip) {
649 *ptgt = tgt->ft_next;
650 kmem_free(tgt->ft_errhdl, sizeof (struct i_ddi_errhdl));
651 kmem_free(tgt, sizeof (struct i_ddi_fmtgt));
654 ptgt = &tgt->ft_next;