Home
last modified time | relevance | path

Searched refs:md_mflags (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/geom/raid3/
H A Dg_raid3.h265 uint64_t md_mflags; /* Additional device flags. */ member
287 le64enc(data + 72, md->md_mflags); in raid3_metadata_encode()
309 md->md_mflags = le64dec(data + 68); in raid3_metadata_decode_v0v1v2()
339 md->md_mflags = le64dec(data + 72); in raid3_metadata_decode_v3()
368 md->md_mflags = le64dec(data + 72); in raid3_metadata_decode_v4v5()
426 if (md->md_mflags == 0) in raid3_metadata_dump()
429 if ((md->md_mflags & G_RAID3_DEVICE_FLAG_NOAUTOSYNC) != 0) in raid3_metadata_dump()
431 if ((md->md_mflags & G_RAID3_DEVICE_FLAG_ROUND_ROBIN) != 0) in raid3_metadata_dump()
433 if ((md->md_mflags & G_RAID3_DEVICE_FLAG_VERIFY) != 0) in raid3_metadata_dump()
435 if ((md->md_mflags & G_RAID3_DEVICE_FLAG_NOFAILSYNC) != 0) in raid3_metadata_dump()
H A Dg_raid3.c788 md->md_mflags = (sc->sc_flags & G_RAID3_DEVICE_FLAG_MASK); in g_raid3_fill_metadata()
3023 if ((md->md_mflags & ~G_RAID3_DEVICE_FLAG_MASK) != 0) { in g_raid3_check_metadata()
3029 if ((md->md_mflags & G_RAID3_DEVICE_FLAG_VERIFY) != 0 && in g_raid3_check_metadata()
3030 (md->md_mflags & G_RAID3_DEVICE_FLAG_ROUND_ROBIN) != 0) { in g_raid3_check_metadata()
3181 sc->sc_flags = md->md_mflags; in g_raid3_create()
/freebsd/sys/geom/mirror/
H A Dg_mirror.h256 uint64_t md_mflags; /* Additional mirror flags. */ member
281 le64enc(data + 79, md->md_mflags); in mirror_metadata_encode()
306 md->md_mflags = le64dec(data + 75); in mirror_metadata_decode_v0v1()
339 md->md_mflags = le64dec(data + 79); in mirror_metadata_decode_v2()
371 md->md_mflags = le64dec(data + 79); in mirror_metadata_decode_v3v4()
468 if (md->md_mflags == 0) in mirror_metadata_dump()
471 if ((md->md_mflags & G_MIRROR_DEVICE_FLAG_NOFAILSYNC) != 0) in mirror_metadata_dump()
473 if ((md->md_mflags & G_MIRROR_DEVICE_FLAG_NOAUTOSYNC) != 0) in mirror_metadata_dump()
H A Dg_mirror_ctl.c421 md.md_mflags = 0; in g_mirror_ctl_create()
425 md.md_mflags |= G_MIRROR_DEVICE_FLAG_NOAUTOSYNC; in g_mirror_ctl_create()
428 md.md_mflags |= G_MIRROR_DEVICE_FLAG_NOFAILSYNC; in g_mirror_ctl_create()
H A Dg_mirror.c766 md->md_mflags = (sc->sc_flags & G_MIRROR_DEVICE_FLAG_MASK); in g_mirror_fill_metadata()
2973 (uintmax_t)md->md_mflags, (uintmax_t)md->md_dflags, md->md_syncid, in g_mirror_check_metadata()
2999 if ((md->md_mflags & ~G_MIRROR_DEVICE_FLAG_MASK) != 0) { in g_mirror_check_metadata()
3131 sc->sc_flags |= (md->md_mflags & G_MIRROR_DEVICE_FLAG_MASK); in g_mirror_reinit_from_metadata()
/freebsd/lib/geom/raid3/
H A Dgeom_raid3.c168 md.md_mflags = 0; in raid3_label()
174 md.md_mflags |= G_RAID3_DEVICE_FLAG_NOAUTOSYNC; in raid3_label()
176 md.md_mflags |= G_RAID3_DEVICE_FLAG_NOFAILSYNC; in raid3_label()
179 md.md_mflags |= G_RAID3_DEVICE_FLAG_ROUND_ROBIN; in raid3_label()
182 md.md_mflags |= G_RAID3_DEVICE_FLAG_VERIFY; in raid3_label()
/freebsd/lib/geom/mirror/
H A Dgeom_mirror.c201 md.md_mflags = 0; in mirror_label()
216 md.md_mflags |= G_MIRROR_DEVICE_FLAG_NOAUTOSYNC; in mirror_label()
218 md.md_mflags |= G_MIRROR_DEVICE_FLAG_NOFAILSYNC; in mirror_label()