Searched refs:sc_kstat_mtx (Results 1 – 10 of 10) sorted by relevance
/openbsd/sys/arch/octeon/dev/ |
H A D | if_cnmacvar.h | 117 struct mutex sc_kstat_mtx; member
|
H A D | if_cnmac.c | 1450 mtx_init(&sc->sc_kstat_mtx, IPL_SOFTCLOCK); in cnmac_kstat_attach() 1460 kstat_set_mutex(ks, &sc->sc_kstat_mtx); in cnmac_kstat_attach() 1489 if (!mtx_enter_try(&sc->sc_kstat_mtx)) in cnmac_kstat_tick() 1492 mtx_leave(&sc->sc_kstat_mtx); in cnmac_kstat_tick()
|
H A D | if_ogx.c | 98 struct mutex sc_kstat_mtx; member 1775 mtx_init(&sc->sc_kstat_mtx, IPL_SOFTCLOCK); in ogx_kstat_attach() 1799 kstat_set_mutex(ks, &sc->sc_kstat_mtx); in ogx_kstat_attach() 1889 mtx_enter(&sc->sc_kstat_mtx); in ogx_kstat_stop() 1891 mtx_leave(&sc->sc_kstat_mtx); in ogx_kstat_stop() 1901 if (mtx_enter_try(&sc->sc_kstat_mtx)) { in ogx_kstat_tick() 1903 mtx_leave(&sc->sc_kstat_mtx); in ogx_kstat_tick()
|
/openbsd/sys/dev/pci/ |
H A D | if_ixv.c | 1398 mtx_init(&sc->sc_kstat_mtx, IPL_SOFTCLOCK); in ixv_kstats() 1416 kstat_set_mutex(ks, &sc->sc_kstat_mtx); in ixv_kstats() 1440 kstat_set_mutex(ks, &sc->sc_kstat_mtx); in ixv_rxq_kstats() 1464 kstat_set_mutex(ks, &sc->sc_kstat_mtx); in ixv_txq_kstats() 1488 mtx_enter(&sc->sc_kstat_mtx); in ixv_kstats_tick() 1494 mtx_leave(&sc->sc_kstat_mtx); in ixv_kstats_tick()
|
H A D | if_ix.h | 283 struct mutex sc_kstat_mtx; member
|
H A D | if_myx.c | 163 struct mutex sc_kstat_mtx; member 2201 if (!mtx_enter_try(&sc->sc_kstat_mtx)) in myx_kstat_tick() 2206 mtx_leave(&sc->sc_kstat_mtx); in myx_kstat_tick() 2230 mtx_enter(&sc->sc_kstat_mtx); in myx_kstat_stop() 2232 mtx_leave(&sc->sc_kstat_mtx); in myx_kstat_stop() 2243 mtx_init(&sc->sc_kstat_mtx, IPL_SOFTCLOCK); in myx_kstat_attach() 2263 kstat_set_mutex(ks, &sc->sc_kstat_mtx); in myx_kstat_attach()
|
H A D | if_ix.c | 3825 mtx_init(&sc->sc_kstat_mtx, IPL_SOFTCLOCK); in ix_kstats() 3843 kstat_set_mutex(ks, &sc->sc_kstat_mtx); in ix_kstats() 3867 kstat_set_mutex(ks, &sc->sc_kstat_mtx); in ix_rxq_kstats() 3891 kstat_set_mutex(ks, &sc->sc_kstat_mtx); in ix_txq_kstats() 3915 mtx_enter(&sc->sc_kstat_mtx); in ix_kstats_tick() 3921 mtx_leave(&sc->sc_kstat_mtx); in ix_kstats_tick()
|
H A D | if_ixl.c | 1319 struct mutex sc_kstat_mtx; member 5434 mtx_enter(&sc->sc_kstat_mtx); in ixl_kstat_tick() 5439 mtx_leave(&sc->sc_kstat_mtx); in ixl_kstat_tick() 5478 kstat_set_mutex(ks, &sc->sc_kstat_mtx); in ixl_kstat_create() 5491 mtx_init(&sc->sc_kstat_mtx, IPL_SOFTCLOCK); in ixl_kstat_attach()
|
/openbsd/sys/dev/fdt/ |
H A D | if_dwge.c | 308 struct mutex sc_kstat_mtx; member 1009 mtx_enter(&sc->sc_kstat_mtx); in dwge_intr() 1011 mtx_leave(&sc->sc_kstat_mtx); in dwge_intr() 1798 mtx_init(&sc->sc_kstat_mtx, IPL_NET); in dwge_kstat_attach() 1816 kstat_set_mutex(ks, &sc->sc_kstat_mtx); in dwge_kstat_attach()
|
H A D | if_cad.c | 306 struct mutex sc_kstat_mtx; member 1886 mtx_init(&sc->sc_kstat_mtx, IPL_SOFTCLOCK); in cad_kstat_attach() 1901 kstat_set_mutex(ks, &sc->sc_kstat_mtx); in cad_kstat_attach() 1945 if (mtx_enter_try(&sc->sc_kstat_mtx)) { in cad_kstat_tick() 1947 mtx_leave(&sc->sc_kstat_mtx); in cad_kstat_tick()
|