Lines Matching defs:tp

155 #define	TUN_LOCK(tp)		mtx_lock(&(tp)->tun_mtx)  argument
156 #define TUN_UNLOCK(tp) mtx_unlock(&(tp)->tun_mtx) argument
157 #define TUN_LOCK_ASSERT(tp) mtx_assert(&(tp)->tun_mtx, MA_OWNED); argument
343 tun_busy_locked(struct tuntap_softc *tp) in tun_busy_locked()
362 tun_unbusy_locked(struct tuntap_softc *tp) in tun_unbusy_locked()
375 tun_busy(struct tuntap_softc *tp) in tun_busy()
386 tun_unbusy(struct tuntap_softc *tp) in tun_unbusy()
537 struct tuntap_softc *tp = dev->si_drv1; in tun_clone_create() local
608 tun_destroy(struct tuntap_softc *tp) in tun_destroy()
645 struct tuntap_softc *tp = ifp->if_softc; in tun_clone_destroy() local
686 struct tuntap_softc *tp; in tun_uninit() local
780 struct tuntap_softc *tp; in tun_create_device() local
818 struct tuntap_softc *tp = ifp->if_softc; in tunstart() local
854 struct tuntap_softc *tp = ifp->if_softc; in tunstart_l2() local
922 struct tuntap_softc *tp; in tuncreate() local
984 struct tuntap_softc *tp; in tunrename() local
1036 struct tuntap_softc *tp; in tunopen() local
1105 struct tuntap_softc *tp; in tundtor() local
1186 struct tuntap_softc *tp = ifp->if_softc; in tuninit() local
1221 struct tuntap_softc *tp; in tunifinit() local
1256 struct tuntap_softc *tp = ifp->if_softc; in tun_vnethdr_set() local
1293 struct tuntap_softc *tp; in tunifioctl() local
1379 struct tuntap_softc *tp = ifp->if_softc; in tunoutput() local
1468 struct tuntap_softc *tp = dev->si_drv1; in tunioctl() local
1681 struct tuntap_softc *tp = dev->si_drv1; in tunread() local
1738 tunwrite_l2(struct tuntap_softc *tp, struct mbuf *m, in tunwrite_l2()
1814 tunwrite_l3(struct tuntap_softc *tp, struct mbuf *m) in tunwrite_l3()
1871 struct tuntap_softc *tp; in tunwrite() local
1937 struct tuntap_softc *tp = dev->si_drv1; in tunpoll() local
1965 struct tuntap_softc *tp = dev->si_drv1; in tunkqfilter() local
2000 struct tuntap_softc *tp = kn->kn_hook; in tunkqread() local
2025 struct tuntap_softc *tp = kn->kn_hook; in tunkqwrite() local
2036 struct tuntap_softc *tp = kn->kn_hook; in tunkqdetach() local