Lines Matching defs:fspath
76 static int vfs_domount(struct thread *td, const char *fstype, char *fspath,
108 "fspath",
466 vfs_mount_alloc(struct vnode *vp, struct vfsconf *vfsp, const char *fspath,
491 strlcpy(mp->mnt_stat.f_mntonname, fspath, MNAMELEN);
583 char *fstype, *fspath, *errmsg;
587 errmsg = fspath = NULL;
613 error = vfs_getopt(optlist, "fspath", (void **)&fspath, &fspathlen);
614 if (error || fspathlen <= 0 || fspath[fspathlen - 1] != '\0') {
617 strncpy(errmsg, "Invalid fspath", errmsg_len);
717 * Be ultra-paranoid about making sure the type and fspath
726 error = vfs_domount(td, fstype, fspath, fsflags, &optlist);
738 error = vfs_domount(td, fstype, fspath, fsflags, &optlist);
815 ma = mount_argsu(ma, "fspath", uap->path, MNAMELEN);
831 char *fspath, /* Mount path. */
881 mp = vfs_mount_alloc(vp, vfsp, fspath, td->td_ucred);
1113 char *fspath, /* Mount path. */
1125 * Be ultra-paranoid about making sure the type and fspath
1129 if (strlen(fstype) >= MFSNAMELEN || strlen(fspath) >= MNAMELEN)
1174 UIO_SYSSPACE, fspath, td);
1182 strcpy(pathbuf, fspath);