Home
last modified time | relevance | path

Searched refs:vfsp (Results 1 – 25 of 30) sorted by relevance

12

/freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_vfs.c58 MNT_ILOCK(vfsp); in vfs_setmntopt()
60 if (vfsp->mnt_opt == NULL) { in vfs_setmntopt()
63 MNT_IUNLOCK(vfsp); in vfs_setmntopt()
65 MNT_ILOCK(vfsp); in vfs_setmntopt()
67 vfsp->mnt_opt = opts; in vfs_setmntopt()
74 MNT_IUNLOCK(vfsp); in vfs_setmntopt()
91 MNT_ILOCK(vfsp); in vfs_setmntopt()
94 MNT_IUNLOCK(vfsp); in vfs_setmntopt()
103 MNT_ILOCK(vfsp); in vfs_clearmntopt()
106 MNT_IUNLOCK(vfsp); in vfs_clearmntopt()
[all …]
H A Dspl_policy.c79 secpolicy_fs_unmount(cred_t *cr, struct mount *vfsp __unused) in secpolicy_fs_unmount()
379 secpolicy_fs_mount(cred_t *cr, vnode_t *mvp, struct mount *vfsp) in secpolicy_fs_mount() argument
408 secpolicy_fs_mount_clearopts(cred_t *cr, struct mount *vfsp) in secpolicy_fs_mount_clearopts() argument
412 MNT_ILOCK(vfsp); in secpolicy_fs_mount_clearopts()
413 vfsp->vfs_flag |= VFS_NOSETUID | MNT_USER; in secpolicy_fs_mount_clearopts()
414 vfs_clearmntopt(vfsp, MNTOPT_SETUID); in secpolicy_fs_mount_clearopts()
415 vfs_setmntopt(vfsp, MNTOPT_NOSETUID, NULL, 0); in secpolicy_fs_mount_clearopts()
416 MNT_IUNLOCK(vfsp); in secpolicy_fs_mount_clearopts()
/freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_vfsops.c113 if (vfsp != NULL) { in zfsvfs_vfs_free()
142 vfsp->vfs_exec = B_TRUE; in zfsvfs_parse_option()
247 *vfsp = tmp_vfsp; in zfsvfs_parse_options()
459 ASSERT(vfsp); in zfs_register_callbacks()
522 if (vfsp->vfs_do_exec) in zfs_register_callbacks()
526 if (vfsp->vfs_do_xattr) in zfs_register_callbacks()
528 if (vfsp->vfs_do_atime) in zfs_register_callbacks()
554 vfs_t *vfsp; in zfs_get_temporary_prop() local
571 vfsp = zfvp->z_vfs; in zfs_get_temporary_prop()
1678 vfs_t *vfsp; in zfs_remount() local
[all …]
/freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vfsops.c176 vfs_t *vfsp; in zfs_get_temporary_prop() local
189 vfsp = zfvp->z_vfs; in zfs_get_temporary_prop()
232 vfs_unbusy(vfsp); in zfs_get_temporary_prop()
236 vfs_unbusy(vfsp); in zfs_get_temporary_prop()
324 vfs_unbusy(vfsp); in zfs_quotactl()
385 vfs_unbusy(vfsp); in zfs_quotactl()
391 vfs_unbusy(vfsp); in zfs_quotactl()
439 if (vfsp != NULL) { in zfs_sync()
1187 zfsvfs->z_vfs = vfsp; in zfs_domount()
1309 zfs_mount(vfs_t *vfsp) in zfs_mount() argument
[all …]
H A Dzfs_ctldir.c1285 zfsctl_lookup_objset(vfs_t *vfsp, uint64_t objsetid, zfsvfs_t **zfsvfsp) in zfsctl_lookup_objset() argument
1287 zfsvfs_t *zfsvfs __unused = vfsp->vfs_data; in zfsctl_lookup_objset()
1293 error = sfs_vnode_get(vfsp, LK_EXCLUSIVE, in zfsctl_lookup_objset()
1314 zfsctl_umount_snapshots(vfs_t *vfsp, int fflags, cred_t *cr) in zfsctl_umount_snapshots() argument
1317 zfsvfs_t *zfsvfs = vfsp->vfs_data; in zfsctl_umount_snapshots()
1340 error = sfs_vnode_get(vfsp, LK_EXCLUSIVE, in zfsctl_umount_snapshots()
1383 vfs_t *vfsp = NULL; in zfsctl_snapshot_unmount() local
1394 vfsp = zfsvfs->z_vfs; in zfsctl_snapshot_unmount()
1398 vfs_ref(vfsp); in zfsctl_snapshot_unmount()
1399 vfs_unbusy(vfsp); in zfsctl_snapshot_unmount()
[all …]
/freebsd-14.2/sys/kern/
H A Dvfs_init.c114 struct vfsconf *vfsp; in vfs_byname_locked() local
121 return (vfsp); in vfs_byname_locked()
129 struct vfsconf *vfsp; in vfs_byname() local
134 return (vfsp); in vfs_byname()
140 struct vfsconf *vfsp; in vfs_byname_kld() local
144 if (vfsp != NULL) in vfs_byname_kld()
145 return (vfsp); in vfs_byname_kld()
159 if (vfsp == NULL) { in vfs_byname_kld()
165 return (vfsp); in vfs_byname_kld()
545 struct vfsconf *vfsp; in vfs_unregister() local
[all …]
H A Dvfs_mount.c687 mp->mnt_op = vfsp->vfc_vfsops; in vfs_mount_alloc()
688 mp->mnt_vfc = vfsp; in vfs_mount_alloc()
689 mp->mnt_stat.f_type = vfsp->vfc_typenum; in vfs_mount_alloc()
1055 struct vfsconf *vfsp = NULL; in sys_mount() local
1086 vfsp = vfs_byname_kld(fstype, td, &error); in sys_mount()
1088 if (vfsp == NULL) in sys_mount()
1093 vfsp->vfc_vfsops->vfs_cmount == NULL)) in sys_mount()
1102 if ((vfsp->vfc_flags & VFCF_SBDRY) != 0) in sys_mount()
1148 if (vfsp->vfc_flags & VFCF_FILEMOUNT) { in vfs_domount_first()
1594 struct vfsconf *vfsp; in vfs_domount() local
[all …]
H A Dvfs_mountroot.c250 struct vfsconf *vfsp; in vfs_mountroot_devfs() local
265 vfsp = vfs_byname("devfs"); in vfs_mountroot_devfs()
266 KASSERT(vfsp != NULL, ("Could not find devfs by name")); in vfs_mountroot_devfs()
267 if (vfsp == NULL) in vfs_mountroot_devfs()
270 mp = vfs_mount_alloc(NULLVP, vfsp, "/dev", td->td_ucred); in vfs_mountroot_devfs()
H A Dvfs_subr.c4841 xvfsp.vfc_flags = vfsp->vfc_flags; in vfsconf2x()
4870 xvfsp.vfc_flags = vfsp->vfc_flags; in vfsconf2x32()
4881 struct vfsconf *vfsp; in sysctl_vfs_conflist() local
4889 error = vfsconf2x32(req, vfsp); in sysctl_vfs_conflist()
4892 error = vfsconf2x(req, vfsp); in sysctl_vfs_conflist()
4912 struct vfsconf *vfsp; in vfs_sysctl() local
4937 if (vfsp == NULL) in vfs_sysctl()
4941 return (vfsconf2x32(req, vfsp)); in vfs_sysctl()
4944 return (vfsconf2x(req, vfsp)); in vfs_sysctl()
4959 struct vfsconf *vfsp; in sysctl_ovfs_conf() local
[all …]
/freebsd-14.2/sys/cddl/compat/opensolaris/sys/
H A Dvfs.h96 void vfs_setmntopt(vfs_t *vfsp, const char *name, const char *arg,
98 void vfs_clearmntopt(vfs_t *vfsp, const char *name);
99 int vfs_optionisset(const vfs_t *vfsp, const char *opt, char **argp);
117 #define vfs_set_feature(vfsp, feature) do { } while (0) argument
118 #define vfs_clear_feature(vfsp, feature) do { } while (0) argument
119 #define vfs_has_feature(vfsp, feature) (0) argument
H A Dpolicy.h44 int secpolicy_fs_unmount(cred_t *cr, struct mount *vfsp);
66 int secpolicy_fs_owner(struct mount *vfsp, cred_t *cr);
67 int secpolicy_fs_mount(cred_t *cr, vnode_t *mvp, struct mount *vfsp);
68 void secpolicy_fs_mount_clearopts(cred_t *cr, struct mount *vfsp);
H A Ddnlc.h35 #define dnlc_purge_vfsp(vfsp, count) (0) argument
/freebsd-14.2/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dpolicy.h44 int secpolicy_fs_unmount(cred_t *cr, struct mount *vfsp);
66 int secpolicy_fs_owner(struct mount *vfsp, cred_t *cr);
67 int secpolicy_fs_mount(cred_t *cr, vnode_t *mvp, struct mount *vfsp);
68 void secpolicy_fs_mount_clearopts(cred_t *cr, struct mount *vfsp);
H A Dvfs.h99 void vfs_setmntopt(vfs_t *vfsp, const char *name, const char *arg,
101 void vfs_clearmntopt(vfs_t *vfsp, const char *name);
102 int vfs_optionisset(const vfs_t *vfsp, const char *opt, char **argp);
/freebsd-14.2/sys/fs/nullfs/
H A Dnull.h68 int nullfs_init(struct vfsconf *vfsp);
69 int nullfs_uninit(struct vfsconf *vfsp);
H A Dnull_subr.c72 nullfs_init(struct vfsconf *vfsp) in nullfs_init() argument
82 nullfs_uninit(struct vfsconf *vfsp) in nullfs_uninit() argument
/freebsd-14.2/sys/ufs/ufs/
H A Dufs_vfsops.c174 ufs_init(struct vfsconf *vfsp) in ufs_init() argument
190 ufs_uninit(struct vfsconf *vfsp) in ufs_uninit() argument
/freebsd-14.2/sys/fs/autofs/
H A Dautofs.h123 int autofs_init(struct vfsconf *vfsp);
124 int autofs_uninit(struct vfsconf *vfsp);
H A Dautofs.c161 autofs_init(struct vfsconf *vfsp) in autofs_init() argument
198 autofs_uninit(struct vfsconf *vfsp) in autofs_uninit() argument
/freebsd-14.2/sys/libkern/
H A Diconv.c577 struct vfsconf *vfsp; in iconv_vfs_refcount() local
579 vfsp = vfs_byname(fsname); in iconv_vfs_refcount()
580 if (vfsp != NULL && vfsp->vfc_refcount > 0) in iconv_vfs_refcount()
/freebsd-14.2/sys/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dzfs_ctldir.h56 int zfsctl_lookup_objset(vfs_t *vfsp, uint64_t objsetid, zfsvfs_t **zfsvfsp);
/freebsd-14.2/sys/fs/nfsclient/
H A Dnfs_clsubs.c90 ncl_uninit(struct vfsconf *vfsp) in ncl_uninit() argument
375 ncl_init(struct vfsconf *vfsp) in ncl_init() argument
/freebsd-14.2/sys/fs/smbfs/
H A Dsmbfs_vfsops.c358 smbfs_init(struct vfsconf *vfsp) in smbfs_init() argument
368 smbfs_uninit(struct vfsconf *vfsp) in smbfs_uninit() argument
/freebsd-14.2/sys/fs/fdescfs/
H A Dfdesc_vnops.c100 fdesc_init(struct vfsconf *vfsp) in fdesc_init() argument
112 fdesc_uninit(struct vfsconf *vfsp) in fdesc_uninit() argument
/freebsd-14.2/sys/compat/linprocfs/
H A Dlinprocfs.c1820 struct vfsconf *vfsp; in linprocfs_dofilesystems() local
1823 TAILQ_FOREACH(vfsp, &vfsconf, vfc_list) { in linprocfs_dofilesystems()
1824 if (vfsp->vfc_flags & VFCF_SYNTHETIC) in linprocfs_dofilesystems()
1826 sbuf_printf(sb, "\t%s\n", vfsp->vfc_name); in linprocfs_dofilesystems()

12