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

12

/freebsd-11-stable/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_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-11-stable/sys/kern/
H A Dvfs_init.c113 struct vfsconf *vfsp; local
118 TAILQ_FOREACH(vfsp, &vfsconf, vfc_list) {
119 if (!strcmp(name, vfsp->vfc_name))
120 return (vfsp);
128 struct vfsconf *vfsp; local
131 vfsp = vfs_byname_locked(name);
133 return (vfsp);
139 struct vfsconf *vfsp; local
142 vfsp = vfs_byname(fstype);
143 if (vfsp !
313 struct vfsconf *vfsp; local
[all...]
H A Dvfs_mount.c458 vfs_mount_alloc(struct vnode *vp, struct vfsconf *vfsp, const char *fspath, argument
472 atomic_add_acq_int(&vfsp->vfc_refcount, 1);
473 mp->mnt_op = vfsp->vfc_vfsops;
474 mp->mnt_vfc = vfsp;
475 mp->mnt_stat.f_type = vfsp->vfc_typenum;
477 strlcpy(mp->mnt_stat.f_fstypename, vfsp->vfc_name, MFSNAMELEN);
764 struct vfsconf *vfsp = NULL; local
795 vfsp = vfs_byname_kld(fstype, td, &error);
797 if (vfsp == NULL)
799 if (vfsp
816 vfs_domount_first( struct thread *td, struct vfsconf *vfsp, char *fspath, struct vnode *vp, uint64_t fsflags, struct vfsoptlist **optlist ) argument
1101 struct vfsconf *vfsp; local
[all...]
H A Dvfs_subr.c3759 vfsconf2x(struct sysctl_req *req, struct vfsconf *vfsp) argument
3764 strcpy(xvfsp.vfc_name, vfsp->vfc_name);
3765 xvfsp.vfc_typenum = vfsp->vfc_typenum;
3766 xvfsp.vfc_refcount = vfsp->vfc_refcount;
3767 xvfsp.vfc_flags = vfsp->vfc_flags;
3788 vfsconf2x32(struct sysctl_req *req, struct vfsconf *vfsp) argument
3793 strcpy(xvfsp.vfc_name, vfsp->vfc_name);
3794 xvfsp.vfc_typenum = vfsp->vfc_typenum;
3795 xvfsp.vfc_refcount = vfsp->vfc_refcount;
3796 xvfsp.vfc_flags = vfsp
3807 struct vfsconf *vfsp; local
3838 struct vfsconf *vfsp; local
3885 struct vfsconf *vfsp; local
[all...]
H A Dvfs_mountroot.c234 struct vfsconf *vfsp; local
249 vfsp = vfs_byname("devfs");
250 KASSERT(vfsp != NULL, ("Could not find devfs by name"));
251 if (vfsp == NULL)
254 mp = vfs_mount_alloc(NULLVP, vfsp, "/dev", td->td_ucred);
H A Dvfs_default.c1297 vfs_stdinit (vfsp)
1298 struct vfsconf *vfsp;
1305 vfs_stduninit (vfsp)
1306 struct vfsconf *vfsp;
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/
H A Dvfs.h98 void vfs_setmntopt(vfs_t *vfsp, const char *name, const char *arg,
100 void vfs_clearmntopt(vfs_t *vfsp, const char *name);
101 int vfs_optionisset(const vfs_t *vfsp, const char *opt, char **argp);
119 #define vfs_set_feature(vfsp, feature) do { } while (0)
120 #define vfs_clear_feature(vfsp, feature) do { } while (0)
121 #define vfs_has_feature(vfsp, feature) (0)
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-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_vfsops.c95 static int zfs_quotactl(vfs_t *vfsp, int cmds, uid_t id, void *arg);
96 static int zfs_mount(vfs_t *vfsp);
97 static int zfs_umount(vfs_t *vfsp, int fflag);
98 static int zfs_root(vfs_t *vfsp, int flags, vnode_t **vpp);
99 static int zfs_statfs(vfs_t *vfsp, struct statfs *statp);
100 static int zfs_vget(vfs_t *vfsp, ino_t ino, int flags, vnode_t **vpp);
101 static int zfs_sync(vfs_t *vfsp, int waitfor);
102 static int zfs_checkexp(vfs_t *vfsp, struct sockaddr *nam, int *extflagsp,
104 static int zfs_fhtovp(vfs_t *vfsp, fid_t *fidp, int flags, vnode_t **vpp);
106 static void zfs_freevfs(vfs_t *vfsp);
176 zfs_quotactl(vfs_t *vfsp, int cmds, uid_t id, void *arg) argument
288 zfs_sync(vfs_t *vfsp, int waitfor) argument
555 zfs_register_callbacks(vfs_t *vfsp) argument
1356 zfs_domount(vfs_t *vfsp, char *osname) argument
1558 zfs_mount_label_policy(vfs_t *vfsp, char *osname) argument
1655 zfs_mountroot(vfs_t *vfsp, enum whymountroot why) argument
1780 zfs_mount(vfs_t *vfsp) argument
1941 zfs_statfs(vfs_t *vfsp, struct statfs *statp) argument
1999 zfs_root(vfs_t *vfsp, int flags, vnode_t **vpp) argument
2124 zfs_umount(vfs_t *vfsp, int fflag) argument
2234 zfs_vget(vfs_t *vfsp, ino_t ino, int flags, vnode_t **vpp) argument
2269 zfs_checkexp(vfs_t *vfsp, struct sockaddr *nam, int *extflagsp, struct ucred **credanonp, int *numsecflavors, int **secflavors) argument
2289 zfs_fhtovp(vfs_t *vfsp, fid_t *fidp, int flags, vnode_t **vpp) argument
2491 zfs_freevfs(vfs_t *vfsp) argument
[all...]
H A Dzcp_get.c232 vfs_t *vfsp;
240 error = getzfsvfs_impl(os, &vfsp);
244 vfsp = zfvp->z_vfs;
248 if (vfs_optionisset(vfsp, MNTOPT_NOATIME, NULL))
250 if (vfs_optionisset(vfsp, MNTOPT_ATIME, NULL))
254 if (vfs_optionisset(vfsp, MNTOPT_NODEVICES, NULL))
256 if (vfs_optionisset(vfsp, MNTOPT_DEVICES, NULL))
260 if (vfs_optionisset(vfsp, MNTOPT_NOEXEC, NULL))
262 if (vfs_optionisset(vfsp, MNTOPT_EXEC, NULL))
266 if (vfs_optionisset(vfsp, MNTOPT_NOSETUI
[all...]
H A Dzfs_ctldir.c1259 zfsctl_lookup_objset(vfs_t *vfsp, uint64_t objsetid, zfsvfs_t **zfsvfsp) argument
1262 zfsvfs_t *zfsvfs = vfsp->vfs_data;
1268 error = sfs_vnode_get(vfsp, LK_EXCLUSIVE,
1289 zfsctl_umount_snapshots(vfs_t *vfsp, int fflags, cred_t *cr) argument
1292 zfsvfs_t *zfsvfs = vfsp->vfs_data;
1318 error = sfs_vnode_get(vfsp, LK_EXCLUSIVE,
/freebsd-11-stable/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-11-stable/sys/ufs/ufs/
H A Dufs_vfsops.c187 ufs_init(vfsp)
188 struct vfsconf *vfsp;
204 ufs_uninit(vfsp)
205 struct vfsconf *vfsp;
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzfs_ctldir.h56 int zfsctl_lookup_objset(vfs_t *vfsp, uint64_t objsetid, zfsvfs_t **zfsvfsp);
/freebsd-11-stable/sys/fs/autofs/
H A Dautofs.h126 int autofs_init(struct vfsconf *vfsp);
127 int autofs_uninit(struct vfsconf *vfsp);
H A Dautofs.c163 autofs_init(struct vfsconf *vfsp) argument
200 autofs_uninit(struct vfsconf *vfsp) argument
/freebsd-11-stable/sys/fs/unionfs/
H A Dunion.h107 int unionfs_init(struct vfsconf *vfsp);
108 int unionfs_uninit(struct vfsconf *vfsp);
/freebsd-11-stable/sys/libkern/
H A Diconv.c570 struct vfsconf *vfsp; local
572 vfsp = vfs_byname(fsname);
573 if (vfsp != NULL && vfsp->vfc_refcount > 0)
/freebsd-11-stable/sys/fs/nfsclient/
H A Dnfs_clsubs.c91 ncl_uninit(struct vfsconf *vfsp) argument
370 ncl_init(struct vfsconf *vfsp) argument
/freebsd-11-stable/sys/fs/smbfs/
H A Dsmbfs_vfsops.c366 smbfs_init(struct vfsconf *vfsp) argument
375 smbfs_uninit(struct vfsconf *vfsp) argument
/freebsd-11-stable/sys/fs/fdescfs/
H A Dfdesc_vnops.c100 fdesc_init(struct vfsconf *vfsp) argument
112 fdesc_uninit(struct vfsconf *vfsp) argument
/freebsd-11-stable/sys/compat/linprocfs/
H A Dlinprocfs.c1289 struct vfsconf *vfsp; local
1292 TAILQ_FOREACH(vfsp, &vfsconf, vfc_list) {
1293 if (vfsp->vfc_flags & VFCF_SYNTHETIC)
1295 sbuf_printf(sb, "\t%s\n", vfsp->vfc_name);

Completed in 196 milliseconds

12