Searched refs:tun_busy (Results 1 – 1 of 1) sorted by relevance
146 int tun_busy; /* busy count */ member217 static int tun_busy(struct tuntap_softc *tp);361 ++tp->tun_busy; in tun_busy_locked()370 KASSERT(tp->tun_busy != 0, ("tun_unbusy: called for non-busy tunnel")); in tun_unbusy_locked()372 --tp->tun_busy; in tun_unbusy_locked()374 if (tp->tun_busy == 0) in tun_unbusy_locked()379 tun_busy(struct tuntap_softc *tp) in tun_busy() function622 if (tp->tun_busy != 0) in tun_destroy()1015 error = tun_busy(tp); in tunrename()