Lines Matching defs:tun_busy
146 int tun_busy; /* busy count */
219 static int tun_busy(struct tuntap_softc *tp);
350 * Other interpretations of EBUSY from tun_busy make little
357 ++tp->tun_busy;
366 KASSERT(tp->tun_busy != 0, ("tun_unbusy: called for non-busy tunnel"));
368 --tp->tun_busy;
370 if (tp->tun_busy == 0)
375 tun_busy(struct tuntap_softc *tp)
613 if (tp->tun_busy != 0)
1007 error = tun_busy(tp);