Home
last modified time | relevance | path

Searched refs:sc_syncid (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/geom/mirror/
H A Dg_mirror.c822 sc->sc_syncid++; in g_mirror_bump_syncid()
824 sc->sc_syncid); in g_mirror_bump_syncid()
828 disk->d_sync.ds_syncid = sc->sc_syncid; in g_mirror_bump_syncid()
2360 if (sc->sc_syncid == disk->d_sync.ds_syncid) { in g_mirror_determine_state()
2381 } else if (disk->d_sync.ds_syncid < sc->sc_syncid) { in g_mirror_determine_state()
2390 disk->d_sync.ds_syncid = sc->sc_syncid; in g_mirror_determine_state()
2462 KASSERT(sc->sc_syncid >= disk->d_sync.ds_syncid, in g_mirror_update_device()
2465 sc->sc_syncid)); in g_mirror_update_device()
2562 if (disk->d_sync.ds_syncid != sc->sc_syncid) in g_mirror_update_device()
2589 if (disk->d_sync.ds_syncid != sc->sc_syncid) in g_mirror_update_device()
[all …]
H A Dg_mirror.h199 u_int sc_syncid; /* Synchronization ID. */ member
/freebsd/sys/geom/raid3/
H A Dg_raid3.c841 sc->sc_syncid++; in g_raid3_bump_syncid()
843 sc->sc_syncid); in g_raid3_bump_syncid()
848 disk->d_sync.ds_syncid = sc->sc_syncid; in g_raid3_bump_syncid()
2439 if (sc->sc_syncid == disk->d_sync.ds_syncid) { in g_raid3_determine_state()
2458 } else if (disk->d_sync.ds_syncid < sc->sc_syncid) { in g_raid3_determine_state()
2467 disk->d_sync.ds_syncid = sc->sc_syncid; in g_raid3_determine_state()
2474 } else /* if (sc->sc_syncid < disk->d_sync.ds_syncid) */ { in g_raid3_determine_state()
2621 sc->sc_syncid = syncid; in g_raid3_update_device()
3535 sbuf_printf(sb, "%s<SyncID>%u</SyncID>\n", indent, sc->sc_syncid); in g_raid3_dumpconf()
H A Dg_raid3.h216 u_int sc_syncid; /* Synchronization ID. */ member