Home
last modified time | relevance | path

Searched refs:MD_READONLY (Results 1 – 5 of 5) sorted by relevance

/freebsd/sbin/mdconfig/
H A Dmdconfig.c207 mdio.md_options |= MD_READONLY; in main()
209 mdio.md_options &= ~MD_READONLY; in main()
211 mdio.md_options |= MD_READONLY; in main()
213 mdio.md_options &= ~MD_READONLY; in main()
313 if ((mdio.md_options & MD_READONLY) == 0 && in main()
319 mdio.md_options |= MD_READONLY; in main()
448 if (mdiox.md_options & MD_READONLY) { in print_options()
/freebsd/sys/sys/
H A Dmdioctl.h83 #define MD_READONLY 0x08 /* Readonly mode */ macro
/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_diskstorage_tbl.c376 if ((mdio.md_options & MD_READONLY) == MD_READONLY) in disk_OS_get_MD_disks()
/freebsd/sys/dev/md/
H A Dmd.c465 if ((sc->flags & MD_READONLY) != 0 && w > 0) in g_md_access()
1434 flags = FREAD | ((mdr->md_options & MD_READONLY) ? 0 : FWRITE) \ in mdcreate_vnode()
1475 sc->flags |= MD_READONLY; in mdcreate_vnode()
1534 (void)vn_close(sc->vnode, sc->flags & MD_READONLY ? in mddestroy()
2021 sc->flags |= MD_READONLY; in md_preloaded()
2149 (mp->flags & MD_READONLY) == 0 ? "read-write": in g_md_dumpconf()
/freebsd/sys/kern/
H A Dvfs_mountroot.c615 mdio->md_options = MD_AUTOUNIT | MD_READONLY; in parse_dir_md()