Lines Matching defs:vfsp
109 coda_mount(struct mount *vfsp)
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;
194 vfs_mountedfrom(vfsp, from);
209 coda_unmount(struct mount *vfsp, int mntflags)
211 struct coda_mntinfo *mi = vftomi(vfsp);
216 if (!CODA_MOUNTED(vfsp)) {
220 if (mi->mi_vfsp == vfsp) {
234 active = coda_kill(vfsp, NOT_DOWNCALL);
245 /* vfsp->VFS_DATA = NULL; */
248 * No more vfsp's to hold onto.
265 coda_root(struct mount *vfsp, int flags, struct vnode **vpp)
267 struct coda_mntinfo *mi = vftomi(vfsp);
278 if (vfsp == mi->mi_vfsp) {
309 error = venus_root(vftomi(vfsp), td->td_ucred, p, &VFid);
350 coda_statfs(struct mount *vfsp, struct statfs *sbp)
355 if (!CODA_MOUNTED(vfsp)) {
382 coda_sync(struct mount *vfsp, int waitfor)
402 coda_fhtovp(struct mount *vfsp, struct fid *fhp, struct mbuf *nam,
425 error = venus_fhtovp(vftomi(vfsp), &cfid->cfid_fid, td->td_ucred, p,
433 cp = make_coda_node(&VFid, vfsp, vtype);