/freebsd-10.0-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.0-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.0-release/sys/kern/ |
H A D | vfs_init.c | 111 struct vfsconf *vfsp; local 115 TAILQ_FOREACH(vfsp, &vfsconf, vfc_list) 116 if (!strcmp(name, vfsp->vfc_name)) 117 return (vfsp); 124 struct vfsconf *vfsp; local 127 vfsp = vfs_byname(fstype); 128 if (vfsp != NULL) 129 return (vfsp); 140 vfsp = vfs_byname(fstype); 141 if (vfsp 293 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 mp->mnt_op = vfsp->vfc_vfsops; 467 mp->mnt_vfc = vfsp; 468 vfsp->vfc_refcount++; /* XXX Unlocked */ 469 mp->mnt_stat.f_type = vfsp->vfc_typenum; 471 strlcpy(mp->mnt_stat.f_fstypename, vfsp->vfc_name, MFSNAMELEN); 708 struct vfsconf *vfsp = NULL; local 740 vfsp = vfs_byname_kld(fstype, td, &error); 742 if (vfsp == NULL) { 746 if (vfsp 766 vfs_domount_first( struct thread *td, struct vfsconf *vfsp, char *fspath, struct vnode *vp, uint64_t fsflags, struct vfsoptlist **optlist ) argument 1032 struct vfsconf *vfsp; local [all...] |
H A D | vfs_subr.c | 3140 vfsconf2x(struct sysctl_req *req, struct vfsconf *vfsp) argument 3145 strcpy(xvfsp.vfc_name, vfsp->vfc_name); 3146 xvfsp.vfc_typenum = vfsp->vfc_typenum; 3147 xvfsp.vfc_refcount = vfsp->vfc_refcount; 3148 xvfsp.vfc_flags = vfsp->vfc_flags; 3169 vfsconf2x32(struct sysctl_req *req, struct vfsconf *vfsp) argument 3173 strcpy(xvfsp.vfc_name, vfsp->vfc_name); 3174 xvfsp.vfc_typenum = vfsp->vfc_typenum; 3175 xvfsp.vfc_refcount = vfsp->vfc_refcount; 3176 xvfsp.vfc_flags = vfsp 3189 struct vfsconf *vfsp; local 3218 struct vfsconf *vfsp; local 3261 struct vfsconf *vfsp; local [all...] |
H A D | vfs_mountroot.c | 209 struct vfsconf *vfsp; local 215 vfsp = vfs_byname("devfs"); 216 KASSERT(vfsp != NULL, ("Could not find devfs by name")); 217 if (vfsp == NULL) 220 mp = vfs_mount_alloc(NULLVP, vfsp, "/dev", td->td_ucred);
|
H A D | vfs_default.c | 1230 vfs_stdinit (vfsp) 1231 struct vfsconf *vfsp; 1238 vfs_stduninit (vfsp) 1239 struct vfsconf *vfsp;
|
/freebsd-10.0-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 387 zfs_register_callbacks(vfs_t *vfsp) argument 1140 zfs_domount(vfs_t *vfsp, char *osname) argument 1378 zfs_mount_label_policy(vfs_t *vfsp, char *osname) argument 1475 zfs_mountroot(vfs_t *vfsp, enum whymountroot why) argument 1600 zfs_mount(vfs_t *vfsp) argument 1742 zfs_statfs(vfs_t *vfsp, struct statfs *statp) argument 1800 zfs_root(vfs_t *vfsp, int flags, vnode_t **vpp) argument 1926 zfs_umount(vfs_t *vfsp, int fflag) argument 2051 zfs_vget(vfs_t *vfsp, ino_t ino, int flags, vnode_t **vpp) argument 2085 zfs_checkexp(vfs_t *vfsp, struct sockaddr *nam, int *extflagsp, struct ucred **credanonp, int *numsecflavors, int **secflavors) argument 2105 zfs_fhtovp(vfs_t *vfsp, fid_t *fidp, int flags, vnode_t **vpp) argument 2313 zfs_freevfs(vfs_t *vfsp) argument [all...] |
H A D | zfs_ctldir.c | 698 vfs_t *vfsp; local 706 vfsp = vn_mountedvfs(sep->se_root); 707 ASSERT(vfsp != NULL); 709 vfs_lock_wait(vfsp); 726 pathref = vfs_getmntpoint(vfsp); 733 vfs_setmntpoint(vfsp, newpath, 0); 735 pathref = vfs_getresource(vfsp); 742 vfs_setresource(vfsp, newpath, 0); 744 vfs_unlock(vfsp); 1652 zfsctl_lookup_objset(vfs_t *vfsp, uint64_ argument 1715 zfsctl_umount_snapshots(vfs_t *vfsp, int fflags, cred_t *cr) argument [all...] |
H A D | zfs_ioctl.c | 2976 vfs_t *vfsp; local 2979 TAILQ_FOREACH(vfsp, &mountlist, mnt_list) { 2980 if (strcmp(refstr_value(vfsp->vfs_resource), resource) == 0) { 2981 VFS_HOLD(vfsp); 2986 return (vfsp); 3418 vfs_t *vfsp; local 3425 vfsp = zfs_get_vfs(snapname); 3426 if (vfsp == NULL) 3429 zfsvfs = vfsp->vfs_data; 3432 err = vn_vfswlock(vfsp [all...] |
/freebsd-10.0-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.0-release/sys/ufs/ufs/ |
H A D | ufs_vfsops.c | 174 ufs_init(vfsp) 175 struct vfsconf *vfsp; 191 ufs_uninit(vfsp) 192 struct vfsconf *vfsp;
|
/freebsd-10.0-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.0-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.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/ |
H A D | gfs.c | 476 gfs_file_create(size_t size, vnode_t *pvp, vfs_t *vfsp, vnodeops_t *ops) argument 486 error = getnewvnode("zfs", vfsp, ops, &vp); 500 error = insmntque(vp, vfsp); 539 gfs_dir_create(size_t struct_size, vnode_t *pvp, vfs_t *vfsp, vnodeops_t *ops, argument 547 vp = gfs_file_create(struct_size, pvp, vfsp, ops); 580 gfs_root_create(size_t size, vfs_t *vfsp, vnodeops_t *ops, ino64_t ino, argument 586 VFS_HOLD(vfsp); 587 vp = gfs_dir_create(size, NULL, vfsp, ops, entries, inode_cb, 604 gfs_root_create_file(size_t size, vfs_t *vfsp, vnodeops_t *ops, ino64_t ino) argument 610 VFS_HOLD(vfsp); [all...] |
/freebsd-10.0-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.0-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.0-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.0-release/sys/fs/smbfs/ |
H A D | smbfs_vfsops.c | 366 smbfs_init(struct vfsconf *vfsp) argument 375 smbfs_uninit(struct vfsconf *vfsp) argument
|
/freebsd-10.0-release/sys/compat/linprocfs/ |
H A D | linprocfs.c | 1296 struct vfsconf *vfsp; local 1299 TAILQ_FOREACH(vfsp, &vfsconf, vfc_list) { 1300 if (vfsp->vfc_flags & VFCF_SYNTHETIC) 1302 sbuf_printf(sb, "\t%s\n", vfsp->vfc_name);
|