Lines Matching refs:rootvp
949 if ((error = bdevvp(rootdev, &rootvp))) {
954 * 4951998 - code we call in vfc_mountroot may replace rootvp
957 bdevvp_rootvp = rootvp;
964 mp->mnt_devvp = rootvp;
966 if ((error = (*vfsp->vfc_mountroot)(mp, rootvp, ctx)) == 0) {
967 if ( bdevvp_rootvp != rootvp ) {
969 * rootvp changed...
971 * new rootvp (it will already have a usecount taken)...
975 vnode_getwithref(rootvp);
976 mp->mnt_devvp = rootvp;
993 vfs_init_io_attributes(rootvp, mp);
1033 * rootvp)... it (or we) will have also taken
1036 vnode_put(rootvp);
2697 if (VNOP_IOCTL(rootvp, DKIOCGETBSDUNIT, (caddr_t)&rootunit, 0, ctx))
2699 else if (rootvp == devvp)
2702 if (devvp != rootvp && rootunit != -1) {