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

/netbsd-6-1-5-RELEASE/external/cddl/osnet/sys/kern/
H A Dvfs.c83 vfs_setmntopt(vfs_t *vfsp, const char *name, const char *arg, argument
88 vfsp->mnt_flag |= MNT_RDONLY;
91 vfsp->mnt_flag &= ~MNT_RDONLY;
94 vfsp->mnt_flag |= MNT_NODEV;
97 vfsp->mnt_flag |= MNT_NOATIME;
100 vfsp->mnt_flag &= ~MNT_NOATIME;
103 vfsp->mnt_flag |= MNT_NOSUID;
106 vfsp->mnt_flag &= ~MNT_NOSUID;
109 vfsp->mnt_flag |= MNT_NOEXEC;
112 vfsp
118 vfs_clearmntopt(vfs_t *vfsp, const char *name) argument
150 vfs_optionisset(const vfs_t *vfsp, const char *name, char **argp) argument
190 vfs_t *vfsp; local
237 struct vfsconf *vfsp; local
[all...]
H A Dzfs_stub.c48 zfsctl_lookup_objset(vfs_t *vfsp, uint64_t objsetid, zfsvfs_t **zfsvfsp) argument
55 zfsctl_umount_snapshots(vfs_t *vfsp, int fflags, cred_t *cr) argument
H A Dpolicy.c87 secpolicy_fs_mount(kauth_cred_t cred, vnode_t *mvp, struct mount *vfsp) argument
91 KAUTH_REQ_SYSTEM_MOUNT_NEW, vfsp, NULL, NULL);
95 secpolicy_fs_unmount(kauth_cred_t cred, struct mount *vfsp) argument
99 KAUTH_REQ_SYSTEM_MOUNT_UNMOUNT, vfsp, NULL, NULL);
139 // KAUTH_REQ_SYSTEM_MOUNT_NEW, vfsp, NULL, NULL);
161 KAUTH_REQ_SYSTEM_MOUNT_UPDATE, vfsp, NULL, NULL);*/
/netbsd-6-1-5-RELEASE/external/cddl/osnet/sys/sys/
H A Dvfs.h65 #define VFS_HOLD(vfsp) do { \
68 #define VFS_RELE(vfsp) do { \
138 void vfs_setmntopt(vfs_t *vfsp, const char *name, const char *arg,
140 void vfs_clearmntopt(vfs_t *vfsp, const char *name);
141 int vfs_optionisset(const vfs_t *vfsp, const char *opt, char **argp);
146 #define vfs_set_feature(vfsp, feature) do { } while (0)
147 #define vfs_has_feature(vfsp, feature) (0)
H A Ddnlc.h39 #define dnlc_purge_vfsp(vfsp, count) (0)
H A Dpolicy.h48 int secpolicy_fs_mount(struct kauth_cred *cred, struct vnode *mvp, struct mount *vfsp);
49 int secpolicy_fs_unmount(struct kauth_cred *cred, struct mount *vfsp);
/netbsd-6-1-5-RELEASE/sys/coda/
H A Dcoda_vfsops.c172 coda_mount(struct mount *vfsp, /* Allocated and initialized by mount(2) */ argument
190 if (vfsp->mnt_flag & MNT_GETARGS)
198 if (CODA_MOUNTED(vfsp)) {
258 vfsp->mnt_data = mi;
259 vfsp->mnt_stat.f_fsidx.__fsid_val[0] = 0;
260 vfsp->mnt_stat.f_fsidx.__fsid_val[1] = makefstype(MOUNT_CODA);
261 vfsp->mnt_stat.f_fsid = vfsp->mnt_stat.f_fsidx.__fsid_val[0];
262 vfsp->mnt_stat.f_namemax = CODA_MAXNAMLEN;
263 mi->mi_vfsp = vfsp;
305 coda_start(struct mount *vfsp, int flags) argument
313 coda_unmount(struct mount *vfsp, int mntflags) argument
365 coda_root(struct mount *vfsp, struct vnode **vpp) argument
434 coda_nb_statvfs(struct mount *vfsp, struct statvfs *sbp) argument
478 coda_sync(struct mount *vfsp, int waitfor, kauth_cred_t cred) argument
488 coda_vget(struct mount *vfsp, ino_t ino, struct vnode **vpp) argument
501 coda_fhtovp(struct mount *vfsp, struct fid *fhp, struct mbuf *nam, struct vnode **vpp, int *exflagsp, kauth_cred_t *creadanonp) argument
[all...]
H A Dcnode.h162 #define vftomi(vfsp) ((struct coda_mntinfo *)(vfsp->mnt_data))
163 #define CODA_MOUNTED(vfsp) ((vftomi(vfsp) != (struct coda_mntinfo *)0) \
164 && (vftomi(vfsp)->mi_started))
199 extern struct cnode *make_coda_node(CodaFid *fid, struct mount *vfsp, short type);
H A Dcoda_vnops.c530 * different vfsp
835 CODADEBUG(CODA_INACTIVE, myprintf(("in inactive, %s, vfsp %p\n",
851 myprintf(("Help! vfsp->vfs_data was NULL, but vnode %p wasn't dying\n", vp));
1906 make_coda_node(CodaFid *fid, struct mount *vfsp, short type) argument
1917 err = getnewvnode(VT_CODA, vfsp, coda_vnodeop_p, NULL, &vp);
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dzfs_vfsops.c76 /* XXX NetBSD static int zfs_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr);*/
77 static int zfs_mount(vfs_t *vfsp, const char *path, void *data, size_t *data_len);
78 static int zfs_umount(vfs_t *vfsp, int fflag);
79 static int zfs_root(vfs_t *vfsp, vnode_t **vpp);
80 static int zfs_statvfs(vfs_t *vfsp, struct statvfs *statp);
81 static int zfs_fhtovp(vfs_t *vfsp, fid_t *fidp, vnode_t **vpp);
82 static int zfs_vget(vfs_t *vfsp, ino_t ino, vnode_t **vpp);
83 static int zfs_start(vfs_t *vfsp, int flags);
84 static void zfs_freevfs(vfs_t *vfsp);
152 zfs_sync(vfs_t *vfsp, in argument
508 zfs_register_callbacks(vfs_t *vfsp) argument
1164 zfs_domount(vfs_t *vfsp, char *osname) argument
1406 zfs_mount_label_policy(vfs_t *vfsp, char *osname) argument
1505 zfs_mountroot(vfs_t *vfsp, enum whymountroot why) argument
1611 zfs_mount(vfs_t *vfsp, const char *path, void *data, size_t *data_len) argument
1738 zfs_statvfs(vfs_t *vfsp, struct statvfs *statp) argument
1804 zfs_root(vfs_t *vfsp, vnode_t **vpp) argument
1918 zfs_umount(vfs_t *vfsp, int fflag) argument
2029 zfs_vget(vfs_t *vfsp, ino_t ino, vnode_t **vpp) argument
2056 zfs_fhtovp(vfs_t *vfsp, fid_t *fidp, vnode_t **vpp) argument
2215 zfs_freevfs(vfs_t *vfsp) argument
2401 zfs_start(vfs_t *vfsp, int flags) argument
[all...]
H A Dzfs_ctldir.c522 vfs_t *vfsp; local
530 vfsp = vn_mountedvfs(sep->se_root);
531 ASSERT(vfsp != NULL);
533 vfs_lock_wait(vfsp);
550 pathref = vfs_getmntpoint(vfsp);
557 vfs_setmntpoint(vfsp, newpath);
559 pathref = vfs_getresource(vfsp);
566 vfs_setresource(vfsp, newpath);
568 vfs_unlock(vfsp);
743 vfs_t *vfsp; local
1213 zfsctl_lookup_objset(vfs_t *vfsp, uint64_t objsetid, zfsvfs_t **zfsvfsp) argument
1273 zfsctl_umount_snapshots(vfs_t *vfsp, int fflags, cred_t *cr) argument
[all...]
H A Dzfs_ioctl.c2929 vfs_t *vfsp = NULL; local
2934 vfsp = zfs_get_vfs(fullname);
2937 vfsp = zfs_get_vfs(name);
2940 if (vfsp) {
2943 if ((err = dounmount(vfsp, MNT_FORCE, curlwp)) != 0)
2953 if ((err = vn_vfswlock(vfsp->vfs_vnodecovered)) != 0) {
2954 VFS_RELE(vfsp);
2957 VFS_RELE(vfsp);
2958 if ((err = dounmount(vfsp, flag, kcred)) != 0)
/netbsd-6-1-5-RELEASE/sys/compat/common/
H A Dvfs_syscalls_43.c471 struct vfsops *vfsp; local
480 vfsp = vfs_getopsbyname(mountcompatnames[vfsnum]);
481 if (vfsp == NULL)
484 vfc.vfc_vfsops = vfsp;
485 strncpy(vfc.vfc_name, vfsp->vfs_name, sizeof(vfc.vfc_name));
487 vfc.vfc_refcount = vfsp->vfs_refcount;
489 vfc.vfc_mountroot = vfsp->vfs_mountroot;
491 vfs_delref(vfsp);
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
H A Dzfs_ctldir.h63 int zfsctl_lookup_objset(vfs_t *vfsp, uint64_t objsetid, zfsvfs_t **zfsvfsp);
H A Dzfs_znode.h327 extern int zfs_sync(vfs_t *vfsp, int flag, cred_t *cr);
/netbsd-6-1-5-RELEASE/sys/kern/
H A Dvfs_mount.c167 struct vfsops *vfsp = NULL; local
171 LIST_FOREACH(vfsp, &vfs_list, vfs_list)
172 if (!strncmp(vfsp->vfs_name, fstypename,
175 if (vfsp == NULL) {
179 vfsp->vfs_refcount++;
182 if ((mp = vfs_mountalloc(vfsp, NULL)) == NULL)
185 (void)strlcpy(mp->mnt_stat.f_fstypename, vfsp->vfs_name,
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/uts/common/fs/
H A Dgfs.c566 gfs_root_create(size_t size, vfs_t *vfsp, vnodeops_t *ops, ino64_t ino, argument
576 VFS_HOLD(vfsp);
577 VN_SET_VFS_TYPE_DEV(vp, vfsp, VDIR, 0);
590 gfs_root_create_file(size_t size, vfs_t *vfsp, vnodeops_t *ops, ino64_t ino) argument
596 VFS_HOLD(vfsp);
597 VN_SET_VFS_TYPE_DEV(vp, vfsp, VREG, 0);

Completed in 334 milliseconds