/freebsd-10.3-release/sys/cddl/compat/opensolaris/sys/ |
H A D | vfs.h | 57 #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 D | dnlc.h | 37 #define dnlc_purge_vfsp(vfsp, count) (0)
|
H A D | policy.h | 45 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 D | opensolaris_vfs.c | 43 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 D | opensolaris_lookup.c | 71 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 D | opensolaris_policy.c | 69 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 D | vfs_init.c | 114 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 D | vfs_mount.c | 452 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 D | vfs_subr.c | 3327 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 D | vfs_mountroot.c | 217 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 D | vfs_default.c | 1239 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 D | zfs_vfsops.c | 92 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 D | zfs_ctldir.c | 711 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 D | null.h | 66 int nullfs_init(struct vfsconf *vfsp); 67 int nullfs_uninit(struct vfsconf *vfsp);
|
H A D | null_subr.c | 72 nullfs_init(vfsp) 73 struct vfsconf *vfsp; 83 nullfs_uninit(vfsp) 84 struct vfsconf *vfsp;
|
/freebsd-10.3-release/sys/ufs/ufs/ |
H A D | ufs_vfsops.c | 182 ufs_init(vfsp) 183 struct vfsconf *vfsp; 199 ufs_uninit(vfsp) 200 struct vfsconf *vfsp;
|
/freebsd-10.3-release/sys/fs/autofs/ |
H A D | autofs.h | 130 int autofs_init(struct vfsconf *vfsp); 131 int autofs_uninit(struct vfsconf *vfsp);
|
H A D | autofs.c | 153 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 D | zfs_ctldir.h | 60 int zfsctl_lookup_objset(vfs_t *vfsp, uint64_t objsetid, zfsvfs_t **zfsvfsp);
|
/freebsd-10.3-release/sys/fs/unionfs/ |
H A D | union.h | 107 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 D | gfs.c | 482 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 D | fdesc_vnops.c | 95 fdesc_init(vfsp) 96 struct vfsconf *vfsp; 108 fdesc_uninit(vfsp) 109 struct vfsconf *vfsp;
|
/freebsd-10.3-release/sys/libkern/ |
H A D | iconv.c | 570 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 D | nfs_clsubs.c | 93 ncl_uninit(struct vfsconf *vfsp) argument 390 ncl_init(struct vfsconf *vfsp) argument
|
/freebsd-10.3-release/sys/fs/smbfs/ |
H A D | smbfs_vfsops.c | 366 smbfs_init(struct vfsconf *vfsp) argument 375 smbfs_uninit(struct vfsconf *vfsp) argument
|