Searched refs:vfsp (Results 1 - 25 of 31) sorted by relevance

12

/freebsd-10.3-release/sys/cddl/compat/opensolaris/sys/
H A Dvfs.h57 #define VFS_HOLD(vfsp) do { \
58 MNT_ILOCK(vfsp); \
59 MNT_REF(vfsp); \
60 MNT_IUNLOCK(vfsp); \
62 #define VFS_RELE(vfsp) do { \
63 MNT_ILOCK(vfsp); \
64 MNT_REL(vfsp); \
65 MNT_IUNLOCK(vfsp); \
109 void vfs_setmntopt(vfs_t *vfsp, const char *name, const char *arg,
111 void vfs_clearmntopt(vfs_t *vfsp, cons
[all...]
H A Ddnlc.h37 #define dnlc_purge_vfsp(vfsp, count) (0)
H A Dpolicy.h45 int secpolicy_fs_unmount(cred_t *cr, struct mount *vfsp);
67 int secpolicy_fs_owner(struct mount *vfsp, cred_t *cr);
68 int secpolicy_fs_mount(cred_t *cr, vnode_t *mvp, struct mount *vfsp);
69 void secpolicy_fs_mount_clearopts(cred_t *cr, struct mount *vfsp);
/freebsd-10.3-release/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_vfs.c43 vfs_setmntopt(vfs_t *vfsp, const char *name, const char *arg, argument
50 if (!(locked = mtx_owned(MNT_MTX(vfsp))))
51 MNT_ILOCK(vfsp);
53 if (vfsp->mnt_opt == NULL) {
56 MNT_IUNLOCK(vfsp);
57 opts = malloc(sizeof(*vfsp->mnt_opt), M_MOUNT, M_WAITOK);
58 MNT_ILOCK(vfsp);
59 if (vfsp->mnt_opt == NULL) {
60 vfsp->mnt_opt = opts;
61 TAILQ_INIT(vfsp
91 vfs_clearmntopt(vfs_t *vfsp, const char *name) argument
103 vfs_optionisset(const vfs_t *vfsp, const char *opt, char **argp) argument
118 struct vfsconf *vfsp; local
[all...]
H A Dopensolaris_lookup.c71 vfs_t *vfsp; local
88 vfsp = vn_mountedvfs(cvp);
89 if (vfsp == NULL)
91 error = vfs_busy(vfsp, 0);
106 error = VFS_ROOT(vfsp, lktype, &tvp);
107 vfs_unbusy(vfsp);
H A Dopensolaris_policy.c69 secpolicy_fs_unmount(cred_t *cr, struct mount *vfsp __unused)
370 secpolicy_fs_mount(cred_t *cr, vnode_t *mvp, struct mount *vfsp) argument
399 secpolicy_fs_mount_clearopts(cred_t *cr, struct mount *vfsp) argument
403 MNT_ILOCK(vfsp);
404 vfsp->vfs_flag |= VFS_NOSETUID | MNT_USER;
405 vfs_clearmntopt(vfsp, MNTOPT_SETUID);
406 vfs_setmntopt(vfsp, MNTOPT_NOSETUID, NULL, 0);
407 MNT_IUNLOCK(vfsp);
/freebsd-10.3-release/sys/kern/
H A Dvfs_init.c114 struct vfsconf *vfsp; local
119 TAILQ_FOREACH(vfsp, &vfsconf, vfc_list) {
120 if (!strcmp(name, vfsp->vfc_name))
121 return (vfsp);
129 struct vfsconf *vfsp; local
132 vfsp = vfs_byname_locked(name);
134 return (vfsp);
140 struct vfsconf *vfsp; local
143 vfsp = vfs_byname(fstype);
144 if (vfsp !
314 struct vfsconf *vfsp; local
[all...]
H A Dvfs_mount.c452 vfs_mount_alloc(struct vnode *vp, struct vfsconf *vfsp, const char *fspath, argument
466 atomic_add_acq_int(&vfsp->vfc_refcount, 1);
467 mp->mnt_op = vfsp->vfc_vfsops;
468 mp->mnt_vfc = vfsp;
469 mp->mnt_stat.f_type = vfsp->vfc_typenum;
471 strlcpy(mp->mnt_stat.f_fstypename, vfsp->vfc_name, MFSNAMELEN);
712 struct vfsconf *vfsp = NULL; local
743 vfsp = vfs_byname_kld(fstype, td, &error);
745 if (vfsp == NULL)
747 if (vfsp
764 vfs_domount_first( struct thread *td, struct vfsconf *vfsp, char *fspath, struct vnode *vp, uint64_t fsflags, struct vfsoptlist **optlist ) argument
1034 struct vfsconf *vfsp; local
[all...]
H A Dvfs_subr.c3327 vfsconf2x(struct sysctl_req *req, struct vfsconf *vfsp) argument
3332 strcpy(xvfsp.vfc_name, vfsp->vfc_name);
3333 xvfsp.vfc_typenum = vfsp->vfc_typenum;
3334 xvfsp.vfc_refcount = vfsp->vfc_refcount;
3335 xvfsp.vfc_flags = vfsp->vfc_flags;
3356 vfsconf2x32(struct sysctl_req *req, struct vfsconf *vfsp) argument
3360 strcpy(xvfsp.vfc_name, vfsp->vfc_name);
3361 xvfsp.vfc_typenum = vfsp->vfc_typenum;
3362 xvfsp.vfc_refcount = vfsp->vfc_refcount;
3363 xvfsp.vfc_flags = vfsp
3376 struct vfsconf *vfsp; local
3407 struct vfsconf *vfsp; local
3454 struct vfsconf *vfsp; local
[all...]
H A Dvfs_mountroot.c217 struct vfsconf *vfsp; local
232 vfsp = vfs_byname("devfs");
233 KASSERT(vfsp != NULL, ("Could not find devfs by name"));
234 if (vfsp == NULL)
237 mp = vfs_mount_alloc(NULLVP, vfsp, "/dev", td->td_ucred);
H A Dvfs_default.c1239 vfs_stdinit (vfsp)
1240 struct vfsconf *vfsp;
1247 vfs_stduninit (vfsp)
1248 struct vfsconf *vfsp;
/freebsd-10.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_vfsops.c92 static int zfs_mount(vfs_t *vfsp);
93 static int zfs_umount(vfs_t *vfsp, int fflag);
94 static int zfs_root(vfs_t *vfsp, int flags, vnode_t **vpp);
95 static int zfs_statfs(vfs_t *vfsp, struct statfs *statp);
96 static int zfs_vget(vfs_t *vfsp, ino_t ino, int flags, vnode_t **vpp);
97 static int zfs_sync(vfs_t *vfsp, int waitfor);
98 static int zfs_checkexp(vfs_t *vfsp, struct sockaddr *nam, int *extflagsp,
100 static int zfs_fhtovp(vfs_t *vfsp, fid_t *fidp, int flags, vnode_t **vpp);
102 static void zfs_freevfs(vfs_t *vfsp);
126 zfs_sync(vfs_t *vfsp, in argument
386 zfs_register_callbacks(vfs_t *vfsp) argument
1117 zfs_domount(vfs_t *vfsp, char *osname) argument
1318 zfs_mount_label_policy(vfs_t *vfsp, char *osname) argument
1415 zfs_mountroot(vfs_t *vfsp, enum whymountroot why) argument
1540 zfs_mount(vfs_t *vfsp) argument
1692 zfs_statfs(vfs_t *vfsp, struct statfs *statp) argument
1750 zfs_root(vfs_t *vfsp, int flags, vnode_t **vpp) argument
1876 zfs_umount(vfs_t *vfsp, int fflag) argument
2001 zfs_vget(vfs_t *vfsp, ino_t ino, int flags, vnode_t **vpp) argument
2033 zfs_checkexp(vfs_t *vfsp, struct sockaddr *nam, int *extflagsp, struct ucred **credanonp, int *numsecflavors, int **secflavors) argument
2053 zfs_fhtovp(vfs_t *vfsp, fid_t *fidp, int flags, vnode_t **vpp) argument
2263 zfs_freevfs(vfs_t *vfsp) argument
[all...]
H A Dzfs_ctldir.c711 vfs_t *vfsp; local
719 vfsp = vn_mountedvfs(sep->se_root);
720 ASSERT(vfsp != NULL);
722 vfs_lock_wait(vfsp);
739 pathref = vfs_getmntpoint(vfsp);
746 vfs_setmntpoint(vfsp, newpath, 0);
748 pathref = vfs_getresource(vfsp);
755 vfs_setresource(vfsp, newpath, 0);
757 vfs_unlock(vfsp);
1675 zfsctl_lookup_objset(vfs_t *vfsp, uint64_ argument
1738 zfsctl_umount_snapshots(vfs_t *vfsp, int fflags, cred_t *cr) argument
[all...]
/freebsd-10.3-release/sys/fs/nullfs/
H A Dnull.h66 int nullfs_init(struct vfsconf *vfsp);
67 int nullfs_uninit(struct vfsconf *vfsp);
H A Dnull_subr.c72 nullfs_init(vfsp)
73 struct vfsconf *vfsp;
83 nullfs_uninit(vfsp)
84 struct vfsconf *vfsp;
/freebsd-10.3-release/sys/ufs/ufs/
H A Dufs_vfsops.c182 ufs_init(vfsp)
183 struct vfsconf *vfsp;
199 ufs_uninit(vfsp)
200 struct vfsconf *vfsp;
/freebsd-10.3-release/sys/fs/autofs/
H A Dautofs.h130 int autofs_init(struct vfsconf *vfsp);
131 int autofs_uninit(struct vfsconf *vfsp);
H A Dautofs.c153 autofs_init(struct vfsconf *vfsp) argument
190 autofs_uninit(struct vfsconf *vfsp) argument
/freebsd-10.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzfs_ctldir.h60 int zfsctl_lookup_objset(vfs_t *vfsp, uint64_t objsetid, zfsvfs_t **zfsvfsp);
/freebsd-10.3-release/sys/fs/unionfs/
H A Dunion.h107 int unionfs_init(struct vfsconf *vfsp);
108 int unionfs_uninit(struct vfsconf *vfsp);
/freebsd-10.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/
H A Dgfs.c482 gfs_file_create(size_t size, vnode_t *pvp, vfs_t *vfsp, vnodeops_t *ops) argument
492 error = getnewvnode("zfs", vfsp, ops, &vp);
506 error = insmntque(vp, vfsp);
545 gfs_dir_create(size_t struct_size, vnode_t *pvp, vfs_t *vfsp, vnodeops_t *ops, argument
553 vp = gfs_file_create(struct_size, pvp, vfsp, ops);
586 gfs_root_create(size_t size, vfs_t *vfsp, vnodeops_t *ops, ino64_t ino, argument
592 VFS_HOLD(vfsp);
593 vp = gfs_dir_create(size, NULL, vfsp, ops, entries, inode_cb,
610 gfs_root_create_file(size_t size, vfs_t *vfsp, vnodeops_t *ops, ino64_t ino) argument
616 VFS_HOLD(vfsp);
[all...]
/freebsd-10.3-release/sys/fs/fdescfs/
H A Dfdesc_vnops.c95 fdesc_init(vfsp)
96 struct vfsconf *vfsp;
108 fdesc_uninit(vfsp)
109 struct vfsconf *vfsp;
/freebsd-10.3-release/sys/libkern/
H A Diconv.c570 struct vfsconf *vfsp; local
572 vfsp = vfs_byname(fsname);
573 if (vfsp != NULL && vfsp->vfc_refcount > 0)
/freebsd-10.3-release/sys/fs/nfsclient/
H A Dnfs_clsubs.c93 ncl_uninit(struct vfsconf *vfsp) argument
390 ncl_init(struct vfsconf *vfsp) argument
/freebsd-10.3-release/sys/fs/smbfs/
H A Dsmbfs_vfsops.c366 smbfs_init(struct vfsconf *vfsp) argument
375 smbfs_uninit(struct vfsconf *vfsp) argument

Completed in 134 milliseconds

12