Home
last modified time | relevance | path

Searched refs:sc_active (Results 1 – 11 of 11) sorted by relevance

/freebsd-14.2/sys/geom/
H A Dgeom_dev.c66 u_int sc_active; member
465 if (sc->sc_open == 0 && (sc->sc_active & SC_A_ACTIVE) != 0) in g_dev_open()
466 wakeup(&sc->sc_active); in g_dev_open()
469 atomic_clear_int(&sc->sc_active, SC_A_OPEN); in g_dev_open()
471 atomic_set_int(&sc->sc_active, SC_A_OPEN); in g_dev_open()
514 atomic_clear_int(&sc->sc_active, SC_A_OPEN); in g_dev_close()
516 atomic_set_int(&sc->sc_active, SC_A_OPEN); in g_dev_close()
746 active = atomic_fetchadd_int(&sc->sc_active, -1) - 1; in g_dev_done()
749 wakeup(&sc->sc_active); in g_dev_done()
785 atomic_add_int(&sc->sc_active, 1); in g_dev_strategy()
[all …]
H A Dgeom_vfs.c55 int sc_active; member
168 destroy = ((--sc->sc_active) == 0 && sc->sc_orphaned); in g_vfs_done()
202 sc->sc_active++; in g_vfs_strategy()
244 destroy = (sc->sc_active == 0); in g_vfs_orphan()
/freebsd-14.2/sys/geom/multipath/
H A Dg_multipath.c163 if (cp != sc->sc_active) in g_multipath_fault()
165 sc->sc_active = NULL; in g_multipath_fault()
168 sc->sc_active = lcp; in g_multipath_fault()
190 return (sc->sc_active); in g_multipath_choose()
657 sc->sc_active = cp; in g_multipath_add_disk()
730 if (sc->sc_active == lcp) in g_multipath_rotate()
736 sc->sc_active = lcp; in g_multipath_rotate()
1073 sc->sc_active = cp; in g_multipath_ctl_prefer()
1201 cp = sc->sc_active; in g_multipath_ctl_configure()
1394 cp = sc->sc_active; in g_multipath_ctl_destroy()
[all …]
H A Dg_multipath.h47 struct g_consumer * sc_active; member
/freebsd-14.2/sys/geom/journal/
H A Dg_journal.c357 (intmax_t)sc->sc_active.jj_offset, in g_journal_check_overflow()
364 length = sc->sc_jend - sc->sc_active.jj_offset; in g_journal_check_overflow()
369 used = sc->sc_jend - sc->sc_active.jj_offset; in g_journal_check_overflow()
383 (intmax_t)sc->sc_active.jj_offset, in g_journal_check_overflow()
1270 bioq = &sc->sc_active.jj_queue; in g_journal_flush()
1555 head = sc->sc_active.jj_queue; in g_journal_read()
1686 sc->sc_active.jj_offset = in g_journal_switch()
1688 sc->sc_active.jj_queue = NULL; in g_journal_switch()
1711 sc->sc_active.jj_offset = sc->sc_jstart; in g_journal_initialize()
1862 sc->sc_active.jj_offset = offset; in g_journal_sync()
[all …]
H A Dg_journal.h57 (sc)->sc_active.jj_offset && \
141 struct g_journal_journal sc_active; member
/freebsd-14.2/sys/dev/hifn/
H A Dhifn7751var.h181 int sc_active; /* for initial countdown */ member
H A Dhifn7751.c2058 sc->sc_active = 5; in hifn_crypto()
2087 if (sc->sc_active == 0) { in hifn_tick()
2109 sc->sc_active--; in hifn_tick()
/freebsd-14.2/sys/net/
H A Dif_lagg.h238 u_int sc_active; /* active port count */ member
H A Dieee8023ad_lacp.c706 sc->sc_active = la->la_nports; in lacp_disable_distributing()
717 sc->sc_active ? LINK_STATE_UP : LINK_STATE_DOWN); in lacp_disable_distributing()
742 sc->sc_active = la->la_nports; in lacp_enable_distributing()
754 sc->sc_active ? LINK_STATE_UP : LINK_STATE_DOWN); in lacp_enable_distributing()
H A Dif_lagg.c1399 ro->ro_active = sc->sc_active; in lagg_ioctl()