/haiku/src/libs/compat/openbsd_network/compat/net/ |
H A D | if.h | 15 #define IFF_RUNNING IFF_DRV_RUNNING
|
/haiku/src/add-ons/kernel/drivers/network/ether/rtl8139/dev/rl/ |
H A D | if_rl.c | 486 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in rl_miibus_statchg() 1168 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in rl_rxeof() 1280 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in rl_txeof() 1441 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in rl_poll() 1475 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in rl_poll_locked() 1501 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in rl_intr() 1512 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in rl_intr() 1518 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in rl_intr() 1534 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in rl_intr() 1628 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in rl_start_locked() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/sis19x/dev/sge/ |
H A D | if_sge.c | 388 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in sge_miibus_statchg() 728 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in sge_suspend() 1158 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in sge_rxeof() 1363 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in sge_intr() 1380 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in sge_intr() 1578 (if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in sge_start_locked() 1579 IFF_DRV_RUNNING) in sge_start_locked() 1637 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in sge_init_locked() 1703 if_setdrvflagbits(ifp, IFF_DRV_RUNNING, 0); in sge_init_locked() 1770 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0 && in sge_ioctl() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom440x/ |
H A D | glue.c | 45 if (istat == 0 || (sc->bfe_ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) { in __haiku_disable_interrupts()
|
/haiku/src/add-ons/kernel/drivers/network/ether/ipro100/dev/fxp/ |
H A D | if_fxp.c | 1078 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in fxp_suspend() 1348 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in fxp_start_body() 1349 IFF_DRV_RUNNING) in fxp_start_body() 1678 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in fxp_poll() 1748 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in fxp_intr() 2015 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in fxp_intr_body() 2154 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in fxp_tick() 2155 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in fxp_tick() 2195 if_setdrvflagbits(ifp, 0, (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)); in fxp_stop() 2253 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in fxp_watchdog() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/sis900/dev/sis/ |
H A D | if_sis.c | 587 (ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) in sis_miibus_statchg() 1492 for (prog = 0; (ifp->if_drv_flags & IFF_DRV_RUNNING) != 0; in sis_rxeof() 1643 if (!(ifp->if_drv_flags & IFF_DRV_RUNNING)) { in sis_poll() 1674 ifp->if_drv_flags &= ~IFF_DRV_RUNNING; in sis_poll() 1718 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) in sis_intr() 1736 ifp->if_drv_flags &= ~IFF_DRV_RUNNING; in sis_intr() 1744 if (ifp->if_drv_flags & IFF_DRV_RUNNING) { in sis_intr() 1888 if ((ifp->if_drv_flags & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in sis_startl() 1889 IFF_DRV_RUNNING || (sc->sis_flags & SIS_FLAG_LINK) == 0) in sis_startl() 1947 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) in sis_initl() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/rtl81xx/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() 2200 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in re_rxeof() 2520 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in re_poll() 2558 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in re_poll_locked() 2601 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) { in re_int_task() 2637 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in re_int_task() 2673 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) { in re_intr_msi() 2691 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in re_intr_msi() 2723 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in re_intr_msi() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/rdc/dev/vte/ |
H A D | if_vte.c | 227 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in vte_miibus_statchg() 949 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in vte_suspend() 967 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in vte_resume() 1119 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in vte_start_locked() 1120 IFF_DRV_RUNNING || (sc->vte_flags & VTE_FLAG_LINK) == 0) in vte_start_locked() 1176 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in vte_watchdog() 1197 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0 && in vte_ioctl() 1203 } else if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in vte_ioctl() 1211 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in vte_ioctl() 1357 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in vte_intr() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/pcnet/dev/le/ |
H A D | lance.c | 254 if_setdrvflagbits(ifp, 0, (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)); in lance_stop() 324 if_setdrvflagbits(ifp, IFF_DRV_RUNNING, 0); in lance_init_locked() 527 if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in lance_ioctl() 534 !(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in lance_ioctl() 557 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in lance_ioctl()
|
/haiku/src/add-ons/kernel/drivers/network/ether/3com/dev/xl/ |
H A D | if_xl.c | 1944 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) in xl_rxeof() 1981 if (if_getdrvflags(sc->xl_ifp) & IFF_DRV_RUNNING) in xl_rxeof_task() 2178 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) 2201 ifp->if_drv_flags &= ~IFF_DRV_RUNNING; 2218 ifp->if_drv_flags & IFF_DRV_RUNNING) { 2236 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) 2278 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); 2473 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != 2474 IFF_DRV_RUNNING) 2605 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/attansic_l2/dev/ae/ |
H A D | if_ae.c | 567 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in ae_init_locked() 744 if_setdrvflagbits(ifp, IFF_DRV_RUNNING, 0); in ae_init_locked() 1539 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in ae_start_locked() 1540 IFF_DRV_RUNNING || (sc->flags & AE_FLAG_LINK) == 0) in ae_start_locked() 1594 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) { in ae_link_task() 1778 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in ae_int_task() 1781 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in ae_int_task() 1993 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in ae_watchdog() 2105 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in ae_ioctl() 2106 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in ae_ioctl() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom440x/dev/bfe/ |
H A D | if_bfe.c | 613 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING && in bfe_resume() 1464 if (istat == 0 || (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) { in bfe_intr() 1492 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in bfe_intr() 1619 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in bfe_start_locked() 1620 IFF_DRV_RUNNING || (sc->bfe_flags & BFE_FLAG_LINK) == 0) in bfe_start_locked() 1696 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in bfe_init_locked() 1721 if_setdrvflagbits(ifp, IFF_DRV_RUNNING, 0); in bfe_init_locked() 1779 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in bfe_ioctl() 1783 } else if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in bfe_ioctl() 1790 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in bfe_ioctl() [all …]
|
/haiku/src/libs/compat/freebsd_network/compat/net/ |
H A D | if.h | 64 #define IFF_DRV_RUNNING 0x00010000 macro
|
/haiku/src/add-ons/kernel/drivers/network/ether/vt612x/dev/vge/ |
H A D | if_vge.c | 1453 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0; in vge_rxeof() 1708 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) in vge_poll() 1731 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in vge_poll() 1782 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in vge_intr() 1795 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in vge_intr() 1803 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in vge_intr() 1964 (if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in vge_start_locked() 1965 IFF_DRV_RUNNING) in vge_start_locked() 2031 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in vge_init_locked() 2150 if_setdrvflagbits(ifp, IFF_DRV_RUNNING, 0); in vge_init_locked() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/atheros81xx/dev/ale/ |
H A D | if_ale.c | 264 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in ale_miibus_statchg() 1585 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in ale_resume() 1894 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in ale_start_locked() 1895 IFF_DRV_RUNNING || (sc->ale_flags & ALE_FLAG_LINK) == 0) in ale_start_locked() 1946 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in ale_watchdog() 1952 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in ale_watchdog() 1978 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in ale_ioctl() 1979 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in ale_ioctl() 1988 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in ale_ioctl() 1996 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in ale_ioctl() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/dec21xxx/dev/dc/ |
H A D | if_dc.c | 846 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in dc_miibus_statchg() 2871 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0; in dc_rxeof() 2921 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in dc_rxeof() 3059 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in dc_txeof() 3216 if_setdrvflagbits(sc->dc_ifp, 0, IFF_DRV_RUNNING); in dc_tx_underrun() 3232 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in dc_poll() 3274 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in dc_poll() 3313 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in dc_intr() 3353 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in dc_intr() 3364 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in dc_intr() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/via_rhine/dev/vr/ |
H A D | if_vr.c | 305 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in vr_miibus_statchg() 1563 if_setdrvflagbits(sc->vr_ifp, 0, IFF_DRV_RUNNING); in vr_tick() 1590 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in vr_poll() 1711 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0 || in vr_int_task() 1975 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in vr_start_locked() 1976 IFF_DRV_RUNNING || (sc->vr_flags & VR_F_LINK) == 0) in vr_start_locked() 2037 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in vr_init_locked() 2164 if_setdrvflagbits(ifp, IFF_DRV_RUNNING, 0); in vr_init_locked() 2234 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in vr_ioctl() 2243 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in vr_ioctl() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/jmicron2x0/dev/jme/ |
H A D | if_jme.c | 1671 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in jme_resume() 1890 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in jme_start_locked() 1891 IFF_DRV_RUNNING || (sc->jme_flags & JME_FLAG_LINK) == 0) in jme_start_locked() 1947 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in jme_watchdog() 1962 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in jme_watchdog() 2005 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in jme_ioctl() 2006 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in jme_ioctl() 2015 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in jme_ioctl() 2024 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in jme_ioctl() 2033 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in jme_ioctl() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/nforce/dev/nfe/ |
H A D | if_nfe.c | 909 if (sc->nfe_link != 0 && (if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in nfe_miibus_statchg() 1618 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in nfe_poll() 1706 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in nfe_ioctl() 1707 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in nfe_ioctl() 1722 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) && in nfe_ioctl() 1729 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in nfe_ioctl() 1738 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in nfe_ioctl() 1819 if (init > 0 && (if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in nfe_ioctl() 1820 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in nfe_ioctl() 1882 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) { in nfe_int_task() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/atheros813x/dev/alc/ |
H A D | if_alc.c | 417 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in alc_miibus_statchg() 1259 else if ((if_getdrvflags(sc->alc_ifp) & IFF_DRV_RUNNING) != 0) in alc_aspm_816x() 2691 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in alc_resume() 2957 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in alc_start_locked() 2958 IFF_DRV_RUNNING || (sc->alc_flags & ALC_FLAG_LINK) == 0) in alc_start_locked() 3024 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in alc_watchdog() 3030 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in alc_watchdog() 3071 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0 && in alc_ioctl() 3077 } else if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in alc_ioctl() 3085 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in alc_ioctl() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/pcnet/dev/pcn/ |
H A D | if_pcn.c | 1303 ifp->if_drv_flags |= IFF_DRV_RUNNING; 1382 if (ifp->if_drv_flags & IFF_DRV_RUNNING && 1392 } else if (ifp->if_drv_flags & IFF_DRV_RUNNING && 1402 } else if (!(ifp->if_drv_flags & IFF_DRV_RUNNING)) 1405 if (ifp->if_drv_flags & IFF_DRV_RUNNING) 1498 ifp->if_drv_flags &= ~(IFF_DRV_RUNNING | IFF_DRV_OACTIVE); in pcn_stop()
|
/haiku/src/add-ons/kernel/drivers/network/ether/marvell_yukon/dev/msk/ |
H A D | if_msk.c | 484 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in msk_miibus_statchg() 1086 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in msk_ioctl() 1087 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in msk_ioctl() 1096 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0 && in msk_ioctl() 1102 } else if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in msk_ioctl() 1110 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in msk_ioctl() 1165 if (reinit > 0 && (if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in msk_ioctl() 1166 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in msk_ioctl() 2929 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in msk_start_locked() 2930 IFF_DRV_RUNNING || (sc_if->msk_flags & MSK_FLAG_LINK) == 0) in msk_start_locked() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom570x/dev/bge/ |
H A D | if_bge.c | 1211 if ((if_getdrvflags(sc->bge_ifp) & IFF_DRV_RUNNING) == 0) in bge_miibus_statchg() 4421 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) in bge_rxeof() 4544 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in bge_poll() 4576 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { in bge_poll() 4615 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) { in bge_intr_task() 4644 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING && in bge_intr_task() 4651 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in bge_intr_task() 4724 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in bge_intr() 4729 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in bge_intr() 4734 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING && in bge_intr() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/attansic_l1/dev/age/ |
H A D | if_age.c | 1742 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in age_start_locked() 1743 IFF_DRV_RUNNING || (sc->age_flags & AGE_FLAG_LINK) == 0) in age_start_locked() 1793 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in age_watchdog() 1806 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in age_watchdog() 1831 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in age_ioctl() 1832 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING); in age_ioctl() 1841 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) { in age_ioctl() 1850 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in age_ioctl() 1859 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0) in age_ioctl() 1977 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) { in age_link_task() [all …]
|
/haiku/src/libs/compat/freebsd_iflib/ |
H A D | iflib.c | 562 #define CTX_ACTIVE(ctx) ((if_getdrvflags((ctx)->ifc_ifp) & IFF_DRV_RUNNING)) 857 status = if_getdrvflags(ifp) & IFF_DRV_RUNNING ? 0 : 1; in iflib_netmap_register() 2456 if (!(if_getdrvflags(ctx->ifc_ifp) & IFF_DRV_RUNNING)) in iflib_timer() 2485 if (if_getdrvflags(ctx->ifc_ifp) & IFF_DRV_RUNNING) in iflib_timer() 2495 if_setdrvflagbits(ctx->ifc_ifp, IFF_DRV_OACTIVE, IFF_DRV_RUNNING); in iflib_timer() 2541 if_setdrvflagbits(ifp, IFF_DRV_OACTIVE, IFF_DRV_RUNNING); in iflib_init_locked() 2600 if_setdrvflagbits(ctx->ifc_ifp, IFF_DRV_RUNNING, IFF_DRV_OACTIVE); in iflib_init_locked() 2647 if_setdrvflagbits(ctx->ifc_ifp, IFF_DRV_OACTIVE, IFF_DRV_RUNNING); in iflib_stop() 4014 if (__predict_false(!(if_getdrvflags(ifp) & IFF_DRV_RUNNING) || in iflib_txq_drain() 4091 if (__predict_false(!(if_getdrvflags(ifp) & IFF_DRV_RUNNING))) in iflib_txq_drain() [all …]
|