Searched refs:fspath (Results 1 – 5 of 5) sorted by relevance
| /freebsd-9-stable/usr.sbin/edquota/ |
| D | edquota.c | 127 char *fspath = NULL; in main() local 141 fspath = optarg; in main() 238 protoprivs = getprivs(protoid, quotatype, fspath); in main() 292 if ((protoprivs = getprivs(0, quotatype, fspath)) != NULL) { in main() 305 if ((curprivs = getprivs(id, quotatype, fspath)) == NULL) in main() 372 getprivs(long id, int quotatype, char *fspath) in getprivs() argument 382 if (fspath && *fspath && strcmp(fspath, fs->fs_spec) && in getprivs() 383 strcmp(fspath, fs->fs_file)) in getprivs() 409 warnx("No quotas on %s", fspath ? fspath : "any filesystems"); in getprivs()
|
| /freebsd-9-stable/sys/cddl/compat/opensolaris/kern/ |
| D | opensolaris_vfs.c | 115 mount_snapshot(kthread_t *td, vnode_t **vpp, const char *fstype, char *fspath, in mount_snapshot() argument 135 if (strlen(fstype) >= MFSNAMELEN || strlen(fspath) >= MNAMELEN) in mount_snapshot() 164 mp = vfs_mount_alloc(vp, vfsp, fspath, vp->v_mount->mnt_cred); in mount_snapshot()
|
| /freebsd-9-stable/sys/kern/ |
| D | vfs_mount.c | 73 static int vfs_domount(struct thread *td, const char *fstype, char *fspath, 452 vfs_mount_alloc(struct vnode *vp, struct vfsconf *vfsp, const char *fspath, in vfs_mount_alloc() argument 475 strlcpy(mp->mnt_stat.f_mntonname, fspath, MNAMELEN); in vfs_mount_alloc() 538 char *fstype, *fspath, *errmsg; in vfs_donmount() local 541 errmsg = fspath = NULL; in vfs_donmount() 566 error = vfs_getopt(optlist, "fspath", (void **)&fspath, &fspathlen); in vfs_donmount() 567 if (error || fspath[fspathlen - 1] != '\0') { in vfs_donmount() 664 error = vfs_domount(td, fstype, fspath, fsflags, &optlist); in vfs_donmount() 769 char *fspath, /* Mount path. */ in vfs_domount_first() argument 810 mp = vfs_mount_alloc(vp, vfsp, fspath, td->td_ucred); in vfs_domount_first() [all …]
|
| D | vfs_mountroot.c | 254 char *fspath; in vfs_mountroot_shuffle() local 291 fspath = "/.mount"; in vfs_mountroot_shuffle() 293 fspath, td); in vfs_mountroot_shuffle() 297 fspath = "/mnt"; in vfs_mountroot_shuffle() 299 fspath, td); in vfs_mountroot_shuffle() 312 fspath, MNAMELEN); in vfs_mountroot_shuffle()
|
| /freebsd-9-stable/sys/cddl/compat/opensolaris/sys/ |
| D | vfs.h | 103 char *fspath, char *fspec, int fsflags);
|