Lines Matching defs:vfsp
43 vfs_setmntopt(vfs_t *vfsp, const char *name, const char *arg,
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->mnt_opt);
67 MNT_IUNLOCK(vfsp);
84 MNT_ILOCK(vfsp);
85 TAILQ_INSERT_TAIL(vfsp->mnt_opt, opt, link);
87 MNT_IUNLOCK(vfsp);
91 vfs_clearmntopt(vfs_t *vfsp, const char *name)
95 if (!(locked = mtx_owned(MNT_MTX(vfsp))))
96 MNT_ILOCK(vfsp);
97 vfs_deleteopt(vfsp->mnt_opt, name);
99 MNT_IUNLOCK(vfsp);
103 vfs_optionisset(const vfs_t *vfsp, const char *opt, char **argp)
105 struct vfsoptlist *opts = vfsp->mnt_optnew;
118 struct vfsconf *vfsp;
132 vfsp = vfs_byname_kld(fstype, td, &error);
133 if (vfsp == NULL)
159 mp = vfs_mount_alloc(vp, vfsp, fspath, vp->v_mount->mnt_cred);