Searched refs:md_unit (Results 1 – 9 of 9) sorted by relevance
37 md_unit=$(mdconfig -t swap -s 30MB)38 geom part create -s GPT "$md_unit"39 geom part add -s 10M -t linux-swap -l tst0 "$md_unit"40 geom part resize -i 1 -s 20M "$md_unit"49 mdconfig -d -u $md_unit
250 local md_unit=99253 local md="md${md_unit}"258 -x "mdconfig -a -t malloc -s ${size_in_mb}m -u $md_unit"
51 unsigned md_unit; /* unit number */ member
362 mdio.md_unit = strtoul(uflag, &p, 0); in main()363 if (mdio.md_unit == (unsigned)ULONG_MAX || *p != '\0') in main()382 printf("%s%d\n", nflag ? "" : MD_NAME, mdio.md_unit); in main()422 mdiox.md_unit = unit; in print_options()
118 unsigned md_unit; /* unit number */ member135 unsigned md_unit; member1708 if (mdr->md_unit > INT_MAX) in kern_mdattach_locked()1710 sc = mdnew(mdr->md_unit, &error, mdr->md_type); in kern_mdattach_locked()1720 mdr->md_unit = sc->unit; in kern_mdattach_locked()1783 sc = mdfind(mdr->md_unit); in kern_mddetach_locked()1813 sc = mdfind(mdr->md_unit); in kern_mdresize_locked()1845 sc = mdfind(mdr->md_unit); in kern_mdquery_locked()1879 (mdr)->md_unit = (mdio)->md_unit; \1892 (mdio)->md_unit = (mdr)->md_unit; \
608 mdio->md_unit = root_mount_mddev; in parse_dir_md()617 mdio->md_unit = 0; in parse_dir_md()622 if (mdio->md_unit > 9) { in parse_dir_md()633 root_mount_mddev = mdio->md_unit; in parse_dir_md()
685 mdio.md_unit = strtoul(device + sizeof(DEV_MD) - 1, &eptr, 0); in md_detach() 686 if (mdio.md_unit == (unsigned)ULONG_MAX || eptr - device == sizeof(DEV_MD) - 1) { in md_detach()
368 mdio.md_unit = unit; in disk_OS_get_MD_disks()
819 unit = mdio.md_unit; in aio_md_setup()849 mdio.md_unit = unit; in aio_md_cleanup()