Lines Matching defs:fstype
73 static int vfs_domount(struct thread *td, const char *fstype, char *fspath,
101 "fstype",
571 char *fstype, *fspath, *errmsg;
593 error = vfs_getopt(optlist, "fstype", (void **)&fstype, &fstypelen);
594 if (error || fstypelen <= 0 || fstype[fstypelen - 1] != '\0') {
597 strncpy(errmsg, "Invalid fstype", errmsg_len);
714 error = vfs_domount(td, fstype, fspath, fsflags, &optlist);
726 error = vfs_domount(td, fstype, fspath, fsflags, &optlist);
763 char *fstype;
787 fstype = malloc(MFSNAMELEN, M_TEMP, M_WAITOK);
788 error = copyinstr(uap->type, fstype, MFSNAMELEN, NULL);
790 free(fstype, M_TEMP);
794 AUDIT_ARG_TEXT(fstype);
795 vfsp = vfs_byname_kld(fstype, td, &error);
796 free(fstype, M_TEMP);
802 ma = mount_argsu(ma, "fstype", uap->type, MFSNAMELEN);
1095 const char *fstype, /* Filesystem type. */
1112 if (strlen(fstype) >= MFSNAMELEN || strlen(fspath) >= MNAMELEN)
1146 vfsp = vfs_byname(fstype);
1148 vfsp = vfs_byname_kld(fstype, td, &error);