Lines Matching defs:vfsp
255 struct vfs *vfsp;
291 vfsp = makelfsnode(vp->v_vfsp, li);
293 VN_SET_VFS_TYPE_DEV(nvp, vfsp, vp->v_type, vp->v_rdev);
314 makelfsnode(struct vfs *vfsp, struct loinfo *li)
322 if (vfsp == li->li_realvfs)
326 if ((lfs = lfsfind(vfsp, li)) == NULL) {
330 if ((tlfs = lfsfind(vfsp, li)) != NULL) {
335 lfs->lfs_realvfs = vfsp;
345 ((vfsp->vfs_flag | li->li_mflag) & ~li->li_dflag) &
347 lfs->lfs_vfs.vfs_bsize = vfsp->vfs_bsize;
348 lfs->lfs_vfs.vfs_dev = vfsp->vfs_dev;
349 lfs->lfs_vfs.vfs_fsid = vfsp->vfs_fsid;
351 if (vfsp->vfs_mntpt != NULL) {
352 lfs->lfs_vfs.vfs_mntpt = vfs_getmntpoint(vfsp);
356 (void) VFS_ROOT(vfsp, &lfs->lfs_realrootvp);
367 vfs_propagate_features(vfsp, &lfs->lfs_vfs);
420 lfsfind(struct vfs *vfsp, struct loinfo *li)
430 * this will confuse lofs, because the original vfsp (of the
434 * If we find a cache vfsp hit, then we check to see if the
442 if (lfs->lfs_realvfs == vfsp) {
460 lo_realvfs(struct vfs *vfsp, struct vnode **realrootvpp)
462 struct loinfo *li = vtoli(vfsp);
466 if (vfsp == li->li_mountvfs) {
473 if (vfsp == &lfs->lfs_vfs) {
629 vfs_t *vfsp = &lfs->lfs_vfs;
632 ASSERT(vfsp->vfs_count > 1);
633 if (atomic_dec_32_nv(&vfsp->vfs_count) == 1)
646 struct vfs *vfsp;
670 lo_dprint(4, "freeing %p, vfsp %p\n",
674 vfsp = vp->v_vfsp;
676 if (vfsp != li->li_mountvfs) {
684 if (vfsp == &lfs->lfs_vfs) {