Searched refs:md_file (Results 1 – 6 of 6) sorted by relevance
| /freebsd-14.2/usr.sbin/chown/tests/ |
| H A D | chown_test.sh | 167 md_file="md.out" 177 atf_check -o save:$md_file mdconfig -a -t malloc -s 20m 178 if ! md_device=$(cat $md_file); then 179 atf_fail "cat $md_file failed" 200 if ! md_device=$(cat $md_file) || [ -z "$md_device" ]; then 201 echo "Couldn't get device from $md_file"
|
| /freebsd-14.2/sbin/mdconfig/ |
| H A D | mdconfig.c | 106 mdio.md_file = malloc(PATH_MAX); in main() 108 if (mdio.md_file == NULL || mdio.md_label == NULL) in main() 111 bzero(mdio.md_file, PATH_MAX); in main() 310 access(mdio.md_file, W_OK) < 0 && in main() 314 "readonly", mdio.md_file); in main() 323 if (mdio.md_type == MD_VNODE && mdio.md_file[0] == '\0') in main() 412 if (realpath(fn, mdio.md_file) == NULL) in md_set_file() 414 fd = open(mdio.md_file, O_RDONLY); in md_set_file()
|
| /freebsd-14.2/sys/sys/ |
| H A D | mdioctl.h | 57 char *md_file; /* pathname of file to mount */ member
|
| /freebsd-14.2/sys/dev/md/ |
| H A D | md.c | 127 char *md_file; /* pathname of file to mount */ member 139 uint32_t md_file; member 1434 fname = mdr->md_file; in mdcreate_vnode() 1866 (sc->type == MD_PRELOAD && mdr->md_file != NULL)) in kern_mdquery_locked() 1867 error = copyout(sc->file, mdr->md_file, in kern_mdquery_locked() 1928 mdr.md_file = mdio->md_file; in mdctlioctl() 1931 if ((void *)mdio->md_file == (void *)(mdio + 1)) in mdctlioctl() 1945 mdr.md_file = (void *)(uintptr_t)mdio->md_file; in mdctlioctl()
|
| /freebsd-14.2/sys/kern/ |
| H A D | vfs_mountroot.c | 615 mdio->md_file = (void *)(mdio + 1); in parse_dir_md() 625 mdio->md_file = NULL; in parse_dir_md() 635 printf(MD_NAME "%u attached to %s\n", root_mount_mddev, mdio->md_file); in parse_dir_md()
|
| /freebsd-14.2/sys/dev/beri/virtio/ |
| H A D | virtio_block.c | 242 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, sc->mdio->md_file); in open_file()
|