Searched refs:md_file (Results 1 – 5 of 5) sorted by relevance
167 md_file="md.out"177 atf_check -o save:$md_file mdconfig -a -t malloc -s 20m178 if ! md_device=$(cat $md_file); then179 atf_fail "cat $md_file failed"200 if ! md_device=$(cat $md_file) || [ -z "$md_device" ]; then201 echo "Couldn't get device from $md_file"
107 mdio.md_file = malloc(PATH_MAX); in main()109 if (mdio.md_file == NULL || mdio.md_label == NULL) in main()112 bzero(mdio.md_file, PATH_MAX); in main()314 access(mdio.md_file, W_OK) < 0 && in main()318 "readonly", mdio.md_file); in main()327 if (mdio.md_type == MD_VNODE && mdio.md_file[0] == '\0') in main()423 mdiox.md_file = file[0] == '-' ? NULL : strdup(file); in print_options()428 if (mdiox.md_file != NULL) in print_options()429 free(mdiox.md_file); in print_options()472 if (realpath(fn, mdio.md_file) == NULL) in md_set_file()[all …]
53 char *md_file; /* pathname of file to mount */ member
125 char *md_file; /* pathname of file to mount */ member137 uint32_t md_file; member1428 fname = mdr->md_file; in mdcreate_vnode()1860 (sc->type == MD_PRELOAD && mdr->md_file != NULL)) in kern_mdquery_locked()1861 error = copyout(sc->file, mdr->md_file, in kern_mdquery_locked()1922 mdr.md_file = mdio->md_file; in mdctlioctl()1925 if ((void *)mdio->md_file == (void *)(mdio + 1)) in mdctlioctl()1939 mdr.md_file = (void *)(uintptr_t)mdio->md_file; in mdctlioctl()
614 mdio->md_file = (void *)(mdio + 1); in parse_dir_md()624 mdio->md_file = NULL; in parse_dir_md()634 printf(MD_NAME "%u attached to %s\n", root_mount_mddev, mdio->md_file); in parse_dir_md()