/freebsd/sys/dev/dwc/ |
H A D | if_dwc.c | 145 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING|IFF_DRV_OACTIVE)) != in dwc_txstart_locked() 146 IFF_DRV_RUNNING) in dwc_txstart_locked() 168 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in dwc_init_locked() 183 if_setdrvflagbits(ifp, IFF_DRV_RUNNING, IFF_DRV_OACTIVE); in dwc_init_locked() 206 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING | IFF_DRV_OACTIVE); in dwc_stop_locked() 232 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in dwc_ioctl() 241 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in dwc_ioctl() 249 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in dwc_ioctl() 275 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in dwc_ioctl() 327 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in dwc_tick()
|
/freebsd/sys/dev/iicbus/ |
H A D | if_ic.c | 214 (if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in icioctl() 217 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in icioctl() 225 (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING))) { in icioctl() 232 if_setdrvflagbits(ifp, IFF_DRV_RUNNING, 0); in icioctl() 371 if_setdrvflagbits(ifp, IFF_DRV_RUNNING, 0); in icoutput()
|
/freebsd/sys/netgraph/ |
H A D | ng_eiface.c | 158 if (!(ifp->if_drv_flags & IFF_DRV_RUNNING)) { in ng_eiface_ioctl() 160 ifp->if_drv_flags |= IFF_DRV_RUNNING; in ng_eiface_ioctl() 163 if (ifp->if_drv_flags & IFF_DRV_RUNNING) in ng_eiface_ioctl() 164 ifp->if_drv_flags &= ~(IFF_DRV_RUNNING | in ng_eiface_ioctl() 206 ifp->if_drv_flags |= IFF_DRV_RUNNING; in ng_eiface_init() 226 (ifp->if_drv_flags & IFF_DRV_RUNNING))) in ng_eiface_start2() 582 (ifp->if_drv_flags & IFF_DRV_RUNNING))) { in ng_eiface_rcvdata()
|
H A D | ng_iface.c | 292 ifp->if_drv_flags |= IFF_DRV_RUNNING; in ng_iface_ioctl() 305 if (!(ifp->if_drv_flags & IFF_DRV_RUNNING)) { in ng_iface_ioctl() 307 ifp->if_drv_flags |= IFF_DRV_RUNNING; in ng_iface_ioctl() 310 if (ifp->if_drv_flags & IFF_DRV_RUNNING) in ng_iface_ioctl() 311 ifp->if_drv_flags &= ~(IFF_DRV_RUNNING | in ng_iface_ioctl() 356 (ifp->if_drv_flags & IFF_DRV_RUNNING))) { in ng_iface_output()
|
/freebsd/sys/arm/allwinner/ |
H A D | if_emac.c | 319 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0; count--) { in emac_rxeof() 466 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in emac_watchdog() 508 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in emac_init_locked() 587 if_setdrvflagbits(ifp, IFF_DRV_RUNNING, 0); in emac_init_locked() 681 if_setdrvflagbits(ifp, 0, (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)); in emac_stop_locked() 748 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in emac_ioctl() 755 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in emac_ioctl() 764 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in emac_ioctl() 801 if_setdrvflagbits(sc->emac_ifp, 0, IFF_DRV_RUNNING); in emac_detach() 851 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in emac_suspend() [all …]
|
/freebsd/sys/dev/qlxgbe/ |
H A D | ql_os.c | 272 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in qla_watchdog() 285 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in qla_watchdog() 581 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in qla_pci_detach() 927 if_setdrvflagbits(ifp, IFF_DRV_RUNNING, 0); in qla_init_locked() 989 (if_getdrvflags(ifp) & IFF_DRV_RUNNING), in qla_set_multi() 992 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in qla_set_multi() 1041 (if_getdrvflags(ifp) & IFF_DRV_RUNNING), in qla_ioctl() 1044 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in qla_ioctl() 1079 (if_getdrvflags(ifp) & IFF_DRV_RUNNING), in qla_ioctl() 1082 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in qla_ioctl() [all …]
|
/freebsd/sys/dev/rl/ |
H A D | if_rl.c | 486 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in rl_miibus_statchg() 1160 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in rl_rxeof() 1272 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in rl_txeof() 1433 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in rl_poll() 1467 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in rl_poll_locked() 1493 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in rl_intr() 1504 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in rl_intr() 1510 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in rl_intr() 1526 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in rl_intr() 1620 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in rl_start_locked() [all …]
|
/freebsd/sys/dev/ste/ |
H A D | if_ste.c | 262 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in ste_miibus_statchg() 466 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in ste_poll() 495 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in ste_poll_locked() 522 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) { in ste_intr() 549 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0 && in ste_intr() 562 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in ste_intr() 570 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in ste_intr() 616 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in ste_rxeof() 711 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in ste_txeoc() 1506 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in ste_init_locked() [all …]
|
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 153 if ((if_getdrvflags(cpriv->dev) & IFF_DRV_RUNNING) == 0) in ipoib_open() 157 if_setdrvflagbits(dev, IFF_DRV_RUNNING, IFF_DRV_OACTIVE); in ipoib_open() 178 if ((if_getdrvflags(dev) & IFF_DRV_RUNNING) == 0) in ipoib_init() 193 if_setdrvflagbits(dev, 0, IFF_DRV_RUNNING | IFF_DRV_OACTIVE); in ipoib_stop() 204 if ((if_getdrvflags(cpriv->dev) & IFF_DRV_RUNNING) != 0) in ipoib_stop() 290 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in ipoib_ioctl() 293 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in ipoib_ioctl() 298 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in ipoib_ioctl() 756 if ((if_getdrvflags(dev) & (IFF_DRV_RUNNING|IFF_DRV_OACTIVE)) != in _ipoib_start() 757 IFF_DRV_RUNNING) in _ipoib_start() [all …]
|
/freebsd/sys/dev/usb/net/ |
H A D | usb_ethernet.c | 305 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in uether_ifdetach() 376 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in ue_start_task() 409 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in ue_start() 476 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in ue_watchdog() 494 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in ue_tick_task() 512 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in uether_ioctl()
|
/freebsd/sys/dev/sge/ |
H A D | if_sge.c | 387 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in sge_miibus_statchg() 720 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in sge_suspend() 1150 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in sge_rxeof() 1350 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in sge_intr() 1367 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in sge_intr() 1565 (if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in sge_start_locked() 1566 IFF_DRV_RUNNING) in sge_start_locked() 1624 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in sge_init_locked() 1690 if_setdrvflagbits(ifp, IFF_DRV_RUNNING, 0); in sge_init_locked() 1757 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0 && in sge_ioctl() [all …]
|
/freebsd/sys/dev/qlxge/ |
H A D | qls_os.c | 794 if_setdrvflagbits(ifp, IFF_DRV_RUNNING, 0); in qls_init_locked() 868 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in qls_ioctl() 913 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in qls_ioctl() 927 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in qls_ioctl() 939 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in qls_ioctl() 948 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in qls_ioctl() 977 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) in qls_ioctl() 1054 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) == in qls_start() 1055 IFF_DRV_RUNNING) { in qls_start() 1064 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in qls_start() [all …]
|
/freebsd/sys/dev/qcom_ess_edma/ |
H A D | qcom_ess_edma_gmac.c | 126 if_setdrvflagbits(ifp, IFF_DRV_RUNNING, in qcom_ess_edma_gmac_ioctl() 130 } else if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in qcom_ess_edma_gmac_ioctl() 132 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in qcom_ess_edma_gmac_ioctl() 178 if_setdrvflagbits(gmac->ifp, IFF_DRV_RUNNING, IFF_DRV_OACTIVE); in qcom_ess_edma_gmac_init()
|
/freebsd/sys/dev/xilinx/ |
H A D | if_xae.c | 319 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in xae_transmit() 320 IFF_DRV_RUNNING) { in xae_transmit() 346 if_setdrvflagbits(ifp, 0, (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)); in xae_stop_locked() 422 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) in xae_tick() 446 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in xae_init_locked() 449 if_setdrvflagbits(ifp, IFF_DRV_RUNNING, 0); in xae_init_locked() 601 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in xae_ioctl() 610 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in xae_ioctl() 618 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in xae_ioctl()
|
/freebsd/sys/dev/ppbus/ |
H A D | if_plip.c | 348 if_setdrvflagbits(sc->sc_ifp, 0, (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)); in lpstop() 386 if_setdrvflagbits(ifp, IFF_DRV_RUNNING, 0); in lpinit_locked() 417 (if_getdrvflags(ifp) & IFF_DRV_RUNNING)) in lpioctl() 420 (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING))) in lpioctl() 427 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in lpioctl() 652 if_setdrvflagbits(sc->sc_ifp, 0, IFF_DRV_RUNNING); in lp_intr()
|
/freebsd/sys/dev/fxp/ |
H A D | if_fxp.c | 1065 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in fxp_suspend() 1327 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in fxp_start_body() 1328 IFF_DRV_RUNNING) in fxp_start_body() 1657 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in fxp_poll() 1722 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in fxp_intr() 1985 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in fxp_intr_body() 2124 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in fxp_tick() 2125 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in fxp_tick() 2165 if_setdrvflagbits(ifp, 0, (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)); in fxp_stop() 2223 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in fxp_watchdog() [all …]
|
/freebsd/sys/dev/qlxgb/ |
H A D | qla_def.h | 207 ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) == \ 208 IFF_DRV_RUNNING)
|
H A D | qla_os.c | 725 if_setdrvflagbits(ifp, IFF_DRV_RUNNING, 0); in qla_init_locked() 794 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in qla_ioctl() 825 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in qla_ioctl() 842 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in qla_ioctl() 861 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in qla_ioctl() 872 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in qla_ioctl() 881 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in qla_ioctl() 910 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) in qla_ioctl() 986 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in qla_start() 987 IFF_DRV_RUNNING) { in qla_start() [all …]
|
/freebsd/sys/dev/sis/ |
H A D | if_sis.c | 588 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in sis_miibus_statchg() 1492 for (prog = 0; (if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0; in sis_rxeof() 1643 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in sis_poll() 1674 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in sis_poll() 1714 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in sis_intr() 1732 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in sis_intr() 1740 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in sis_intr() 1884 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in sis_startl() 1885 IFF_DRV_RUNNING || (sc->sis_flags & SIS_FLAG_LINK) == 0) in sis_startl() 1943 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in sis_initl() [all …]
|
/freebsd/sys/dev/re/ |
H A D | if_re.c | 627 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in re_miibus_statchg() 806 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in re_diag() 2191 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in re_rxeof() 2511 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in re_poll() 2549 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in re_poll_locked() 2592 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) { in re_int_task() 2628 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in re_int_task() 2664 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) { in re_intr_msi() 2682 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in re_intr_msi() 2714 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in re_intr_msi() [all …]
|
/freebsd/sys/dev/vnic/ |
H A D | nicvf_main.c | 440 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) in nicvf_if_ioctl() 468 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in nicvf_if_ioctl() 485 } else if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in nicvf_if_ioctl() 494 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in nicvf_if_ioctl() 528 if ((if_getdrvflags(nic->ifp) & IFF_DRV_RUNNING) != 0) { in nicvf_if_ioctl() 567 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in nicvf_if_init_locked() 608 if_setdrvflagbits(ifp, IFF_DRV_RUNNING, IFF_DRV_OACTIVE); in nicvf_if_init_locked() 617 if_setdrvflagbits(ifp, IFF_DRV_OACTIVE, IFF_DRV_RUNNING); in nicvf_if_init_locked() 666 if (((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in nicvf_if_transmit() 667 IFF_DRV_RUNNING) || !nic->link_up || (err != 0)) { in nicvf_if_transmit() [all …]
|
/freebsd/sys/net/ |
H A D | if_epair.c | 311 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0 || in epair_start() 313 (oifp->if_drv_flags & IFF_DRV_RUNNING) == 0 || in epair_start() 354 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) { in epair_transmit() 373 if ((oifp->if_drv_flags & IFF_DRV_RUNNING) == 0 || in epair_transmit() 629 ifp->if_drv_flags |= IFF_DRV_RUNNING; in epair_set_state() 633 ifp->if_drv_flags &= ~IFF_DRV_RUNNING; in epair_set_state()
|
/freebsd/sys/dev/vte/ |
H A D | if_vte.c | 226 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in vte_miibus_statchg() 938 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in vte_suspend() 956 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in vte_resume() 1108 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in vte_start_locked() 1109 IFF_DRV_RUNNING || (sc->vte_flags & VTE_FLAG_LINK) == 0) in vte_start_locked() 1165 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in vte_watchdog() 1186 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0 && in vte_ioctl() 1192 } else if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in vte_ioctl() 1200 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in vte_ioctl() 1346 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in vte_intr() [all …]
|
/freebsd/sys/dev/xl/ |
H A D | if_xl.c | 1927 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) in xl_rxeof() 1964 if (if_getdrvflags(sc->xl_ifp) & IFF_DRV_RUNNING) in xl_rxeof_task() 2155 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in xl_intr() 2178 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in xl_intr() 2188 if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in xl_intr() 2206 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in xl_poll() 2248 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in xl_poll_locked() 2443 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in xl_start_locked() 2444 IFF_DRV_RUNNING) in xl_start_locked() 2575 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in xl_start_90xB_locked() [all …]
|
/freebsd/sys/dev/et/ |
H A D | if_et.c | 506 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in et_miibus_statchg() 667 if_setdrvflagbits(ifp, 0, (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)); in et_stop() 1175 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in et_intr() 1188 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in et_intr() 1199 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in et_intr() 1217 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in et_init_locked() 1248 if_setdrvflagbits(ifp, IFF_DRV_RUNNING, 0); in et_init_locked() 1288 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in et_ioctl() 1296 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in et_ioctl() 1311 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in et_ioctl() [all …]
|