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

12

/freebsd-9.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-9.3-release/sys/gnu/fs/xfs/FreeBSD/
H A Dxfs_vfs.c235 struct xfs_vfs *vfsp; local
239 vfsp = XFSTOVFS(xmp);
241 bhv_head_init(VFS_BHVHEAD(vfsp), "vfs");
245 vfsp->vfs_mp = mp;
247 return vfsp;
252 struct xfs_vfs *vfsp)
256 bhv_head_destroy(VFS_BHVHEAD(vfsp));
258 xmp = VFSTOXFS(vfsp);
268 xfs_vfs_t *vfsp; local
270 vfsp
251 vfs_deallocate( struct xfs_vfs *vfsp) argument
284 xfs_vfs_t *vfsp; local
293 vfs_insertops( struct xfs_vfs *vfsp, struct bhv_vfsops *vfsops) argument
305 vfs_insertbhv( struct xfs_vfs *vfsp, struct bhv_desc *bdp, struct xvfsops *vfsops, void *mount) argument
316 bhv_remove_vfsops( struct xfs_vfs *vfsp, int pos) argument
330 bhv_remove_all_vfsops( struct xfs_vfs *vfsp, int freebase) argument
347 bhv_insert_all_vfsops( struct xfs_vfs *vfsp) argument
[all...]
H A Dxfs_mountops.h50 #define VFSTOMNT(vfsp) (vfsp)->vfs_mp
51 #define VFSTOXFS(vfsp) MNTTOXFS(VFSTOMNT(vfsp))
H A Dxfs_dmistubs.c86 xfs_vfs_t *vfsp,
103 dm_send_mount_event(xfs_vfs_t *vfsp, dm_right_t vfsp_right, bhv_desc_t *bdp,
107 dm_send_mount_event(xfs_vfs_t *vfsp, dm_right_t vfsp_right, bhv_desc_t *bdp, argument
129 dm_send_unmount_event(xfs_vfs_t *vfsp, xfs_vnode_t *vp, dm_right_t vfsp_right,
132 dm_send_unmount_event(xfs_vfs_t *vfsp, xfs_vnode_t *vp, dm_right_t vfsp_right, argument
85 xfs_dm_mount( xfs_vfs_t *vfsp, xfs_vnode_t *mvp, char *dir_name, char *fsname) argument
H A Dxfs_super.h22 # define vfs_insertdmapi(vfs) vfs_insertops(vfsp, &xfs_dmops)
32 # define vfs_insertquota(vfs) vfs_insertops(vfsp, &xfs_qmops)
/freebsd-9.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-9.3-release/sys/kern/
H A Dvfs_init.c111 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 Dvfs_mount.c452 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
1031 struct vfsconf *vfsp; local
[all...]
/freebsd-9.3-release/sys/fs/coda/
H A Dcoda_vfsops.c109 coda_mount(struct mount *vfsp) argument
123 if (vfs_filteropt(vfsp->mnt_optnew, coda_opts))
125 from = vfs_getopts(vfsp->mnt_optnew, "from", &error);
131 if (CODA_MOUNTED(vfsp)) {
173 vfsp->mnt_data = mi;
174 vfs_getnewfsid (vfsp);
175 mi->mi_vfsp = vfsp;
183 cp = make_coda_node(&rootfid, vfsp, VDIR);
186 cp = make_coda_node(&ctlfid, vfsp, VREG);
192 mi->mi_vfsp = vfsp;
209 coda_unmount(struct mount *vfsp, int mntflags) argument
265 coda_root(struct mount *vfsp, int flags, struct vnode **vpp) argument
350 coda_statfs(struct mount *vfsp, struct statfs *sbp) argument
382 coda_sync(struct mount *vfsp, int waitfor) argument
402 coda_fhtovp(struct mount *vfsp, struct fid *fhp, struct mbuf *nam, struct vnode **vpp, int *exflagsp, struct ucred **creadanonp) argument
[all...]
H A Dcnode.h160 #define vftomi(vfsp) ((struct coda_mntinfo *)(vfsp->mnt_data))
161 #define CODA_MOUNTED(vfsp) (vftomi((vfsp)) != NULL)
199 struct cnode *make_coda_node(struct CodaFid *fid, struct mount *vfsp,
/freebsd-9.3-release/sys/gnu/fs/xfs/
H A Dxfs_iocore.c63 struct xfs_vfs *vfsp,
67 return xfs_mountfs(vfsp, XFS_VFSTOM(vfsp), flags);
62 xfs_ioinit( struct xfs_vfs *vfsp, struct xfs_mount_args *mntargs, int flags) argument
H A Dxfs_dmapi.h70 #define DM_EVENT_ENABLED(vfsp, ip, event) ( \
71 unlikely ((vfsp)->vfs_flag & VFS_DMI) && \
76 #define DM_EVENT_ENABLED_IO(vfsp, io, event) ( \
77 unlikely ((vfsp)->vfs_flag & VFS_DMI) && \
H A Dxfs_vfsops.c432 * get_sb_bdev() and is stored in vfsp->vfs_super->s_bdev.
440 struct xfs_vfs *vfsp = bhvtovfs(bhvp); local
455 p = vfs_bhv_lookup(vfsp, VFS_POSITION_DM);
457 p = vfs_bhv_lookup(vfsp, VFS_POSITION_QM);
459 p = vfs_bhv_lookup(vfsp, VFS_POSITION_IO);
516 error = xfs_start_flags(vfsp, args, mp);
522 error = xfs_finish_flags(vfsp, args, mp);
547 if ((mp->m_flags & XFS_MOUNT_BARRIER) && !(vfsp->vfs_flag & VFS_RDONLY))
550 error = XFS_IOINIT(vfsp, args, flags);
576 struct xfs_vfs *vfsp local
703 struct xfs_vfs *vfsp = bhvtovfs(bdp); local
1729 struct xfs_vfs *vfsp = bhvtovfs(bhv); local
1954 struct xfs_vfs *vfsp = XFS_MTOVFS(mp); local
[all...]
H A Dxfs_mount.h112 #define XFS_SEND_UNMOUNT(mp, vfsp,vp,right,mode,rval,fl) \
113 (*(mp)->m_dm_ops.xfs_send_unmount)(vfsp,vp,right,mode,rval,fl)
246 #define XFS_IOINIT(vfsp, args, flags) \
247 (*(mp)->m_io_ops.xfs_ioinit)(vfsp, args, flags)
281 #define XFS_IODONE(vfsp) \
282 (*(mp)->m_io_ops.xfs_iodone)(vfsp)
/freebsd-9.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
387 zfs_register_callbacks(vfs_t *vfsp) argument
1140 zfs_domount(vfs_t *vfsp, char *osname) argument
1379 zfs_mount_label_policy(vfs_t *vfsp, char *osname) argument
1476 zfs_mountroot(vfs_t *vfsp, enum whymountroot why) argument
1601 zfs_mount(vfs_t *vfsp) argument
1743 zfs_statfs(vfs_t *vfsp, struct statfs *statp) argument
1801 zfs_root(vfs_t *vfsp, int flags, vnode_t **vpp) argument
1927 zfs_umount(vfs_t *vfsp, int fflag) argument
2052 zfs_vget(vfs_t *vfsp, ino_t ino, int flags, vnode_t **vpp) argument
2086 zfs_checkexp(vfs_t *vfsp, struct sockaddr *nam, int *extflagsp, struct ucred **credanonp, int *numsecflavors, int **secflavors) argument
2106 zfs_fhtovp(vfs_t *vfsp, fid_t *fidp, int flags, vnode_t **vpp) argument
2314 zfs_freevfs(vfs_t *vfsp) argument
[all...]
/freebsd-9.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-9.3-release/sys/ufs/ufs/
H A Dufs_vfsops.c174 ufs_init(vfsp)
175 struct vfsconf *vfsp;
191 ufs_uninit(vfsp)
192 struct vfsconf *vfsp;
/freebsd-9.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-9.3-release/sys/fs/unionfs/
H A Dunion.h107 int unionfs_init(struct vfsconf *vfsp);
108 int unionfs_uninit(struct vfsconf *vfsp);
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/
H A Dgfs.c476 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...]

Completed in 208 milliseconds

12