Home | History | Annotate | Download | only in coda

Lines Matching refs:vfsp

159 coda_mount(struct mount *vfsp,	/* Allocated and initialized by mount(2) */
177 if (vfsp->mnt_flag & MNT_GETARGS)
185 if (CODA_MOUNTED(vfsp)) {
249 vfsp->mnt_data = mi;
250 vfsp->mnt_stat.f_fsidx.__fsid_val[0] = 0;
251 vfsp->mnt_stat.f_fsidx.__fsid_val[1] = makefstype(MOUNT_CODA);
252 vfsp->mnt_stat.f_fsid = vfsp->mnt_stat.f_fsidx.__fsid_val[0];
253 vfsp->mnt_stat.f_namemax = CODA_MAXNAMLEN;
254 mi->mi_vfsp = vfsp;
261 cp = make_coda_node(&rootfid, vfsp, VDIR);
265 cp = make_coda_node(&ctlfid, vfsp, VCHR);
270 mi->mi_vfsp = vfsp;
274 vfsp->mnt_stat.f_bsize = 8192; /* XXX -JJK */
275 vfsp->mnt_stat.f_frsize = 8192; /* XXX -JJK */
287 vfsp->mnt_op->vfs_name, vfsp, l);
291 coda_start(struct mount *vfsp, int flags)
294 vftomi(vfsp)->mi_started = 1;
299 coda_unmount(struct mount *vfsp, int mntflags)
301 struct coda_mntinfo *mi = vftomi(vfsp);
306 if (!CODA_MOUNTED(vfsp)) {
311 if (mi->mi_vfsp == vfsp) { /* We found the victim */
323 active = coda_kill(vfsp, NOT_DOWNCALL);
332 /* vfsp->VFS_DATA = NULL; */
334 /* No more vfsp's to hold onto */
352 coda_root(struct mount *vfsp, int lktype, struct vnode **vpp)
354 struct coda_mntinfo *mi = vftomi(vfsp);
363 if (vfsp == mi->mi_vfsp) {
375 error = venus_root(vftomi(vfsp), l->l_cred, l->l_proc, &VFid);
384 error = vcache_rekey_enter(vfsp, mi->mi_rootvp,
389 vcache_rekey_exit(vfsp, mi->mi_rootvp,
427 coda_nb_statvfs(struct mount *vfsp, struct statvfs *sbp)
435 if (!CODA_MOUNTED(vfsp)) {
446 error = venus_statfs(vftomi(vfsp), l->l_cred, l, &fsstat);
460 copy_statvfs_info(sbp, vfsp);
471 coda_sync(struct mount *vfsp, int waitfor,
481 coda_vget(struct mount *vfsp, ino_t ino, int lktype,
519 coda_fhtovp(struct mount *vfsp, struct fid *fhp, struct mbuf *nam,
541 error = venus_fhtovp(vftomi(vfsp), &cfid->cfid_fid, l->l_cred, l->l_proc, &VFid, &vtype);
551 cp = make_coda_node(&VFid, vfsp, vtype);