Lines Matching defs:tp

158 #define	TUN_LOCK(tp)		mtx_lock(&(tp)->tun_mtx)  argument
159 #define TUN_UNLOCK(tp) mtx_unlock(&(tp)->tun_mtx) argument
160 #define TUN_LOCK_ASSERT(tp) mtx_assert(&(tp)->tun_mtx, MA_OWNED); argument
349 tun_busy_locked(struct tuntap_softc *tp) in tun_busy_locked()
368 tun_unbusy_locked(struct tuntap_softc *tp) in tun_unbusy_locked()
381 tun_busy(struct tuntap_softc *tp) in tun_busy()
392 tun_unbusy(struct tuntap_softc *tp) in tun_unbusy()
557 struct tuntap_softc *tp; in tun_clone_create() local
637 struct tuntap_softc *tp; in tunfree() local
647 tun_destroy(struct tuntap_softc *tp, bool may_intr) in tun_destroy()
715 struct tuntap_softc *tp = ifp->if_softc; in tun_clone_destroy() local
741 struct tuntap_softc *tp; in tun_uninit() local
875 struct tuntap_softc *tp; in tun_create_device() local
915 struct tuntap_softc *tp = ifp->if_softc; in tunstart() local
951 struct tuntap_softc *tp = ifp->if_softc; in tunstart_l2() local
1018 struct tuntap_softc *tp; in tuncreate() local
1080 struct tuntap_softc *tp; in tunrename() local
1133 struct tuntap_softc *tp; in tunopen() local
1228 struct tuntap_softc *tp; in tundtor() local
1326 struct tuntap_softc *tp = ifp->if_softc; in tuninit() local
1361 struct tuntap_softc *tp; in tunifinit() local
1396 struct tuntap_softc *tp = ifp->if_softc; in tun_vnethdr_set() local
1433 struct tuntap_softc *tp; in tunifioctl() local
1519 struct tuntap_softc *tp = ifp->if_softc; in tunoutput() local
1608 struct tuntap_softc *tp = dev->si_drv1; in tunioctl() local
1834 struct tuntap_softc *tp = dev->si_drv1; in tunread() local
1891 tunwrite_l2(struct tuntap_softc *tp, struct mbuf *m, in tunwrite_l2()
1967 tunwrite_l3(struct tuntap_softc *tp, struct mbuf *m) in tunwrite_l3()
2024 struct tuntap_softc *tp; in tunwrite() local
2090 struct tuntap_softc *tp = dev->si_drv1; in tunpoll() local
2118 struct tuntap_softc *tp = dev->si_drv1; in tunkqfilter() local
2153 struct tuntap_softc *tp = kn->kn_hook; in tunkqread() local
2178 struct tuntap_softc *tp = kn->kn_hook; in tunkqwrite() local
2189 struct tuntap_softc *tp = kn->kn_hook; in tunkqdetach() local