Lines Matching refs:vfsp

933 vfs_rootmountalloc_internal(struct vfstable *vfsp, const char *devname)
962 mp->mnt_vtable = vfsp;
963 mp->mnt_op = vfsp->vfc_vfsops;
966 //mp->mnt_stat.f_type = vfsp->vfc_typenum;
967 mp->mnt_flag |= vfsp->vfc_flags & MNT_VISFLAGMASK;
970 vfsp->vfc_refcount++;
973 strncpy(mp->mnt_vfsstat.f_fstypename, vfsp->vfc_name, MFSTYPENAMELEN);
988 struct vfstable *vfsp;
990 for (vfsp = vfsconf; vfsp; vfsp = vfsp->vfc_next)
991 if (!strncmp(vfsp->vfc_name, fstypename,
992 sizeof(vfsp->vfc_name)))
994 if (vfsp == NULL)
997 *mpp = vfs_rootmountalloc_internal(vfsp, devname);
1020 struct vfstable *vfsp;
1044 for (vfsp = vfsconf; vfsp; vfsp = vfsp->vfc_next) {
1045 if (vfsp->vfc_mountroot == NULL)
1048 mp = vfs_rootmountalloc_internal(vfsp, "root_device");
1051 if ((error = (*vfsp->vfc_mountroot)(mp, rootvp, ctx)) == 0) {
1155 printf("%s_mountroot failed: %d\n", vfsp->vfc_name, error);
1309 struct vnode_fsparam vfsp;
1320 vfsp.vnfs_mp = (struct mount *)0;
1321 vfsp.vnfs_vtype = VBLK;
1322 vfsp.vnfs_str = "bdevvp";
1323 vfsp.vnfs_dvp = NULL;
1324 vfsp.vnfs_fsnode = NULL;
1325 vfsp.vnfs_cnp = NULL;
1326 vfsp.vnfs_vops = spec_vnodeop_p;
1327 vfsp.vnfs_rdev = dev;
1328 vfsp.vnfs_filesize = 0;
1330 vfsp.vnfs_flags = VNFS_NOCACHE | VNFS_CANTCACHE;
1332 vfsp.vnfs_marksystem = 0;
1333 vfsp.vnfs_markroot = 0;
1335 if ( (error = vnode_create(VNCREATE_FLAVOR, VCREATESIZE, &vfsp, &nvp)) ) {
2722 struct vfstable *vfsp;
2764 for (vfsp = vfsconf; vfsp; vfsp = vfsp->vfc_next)
2765 if (vfsp->vfc_typenum == name[0]) {
2766 vfsp->vfc_refcount++;
2771 if (vfsp == NULL)
2775 error = ((*vfsp->vfc_vfsops->vfs_sysctl)(&name[1], namelen - 1,
2780 vfsp->vfc_refcount--;
2792 for (vfsp = vfsconf; vfsp; vfsp = vfsp->vfc_next)
2793 if (vfsp->vfc_typenum == name[2])
2796 if (vfsp == NULL) {
2802 bcopy(vfsp->vfc_name, vfsc.vfc_name, sizeof(vfsc.vfc_name));
2803 vfsc.vfc_typenum = vfsp->vfc_typenum;
2804 vfsc.vfc_refcount = vfsp->vfc_refcount;
2805 vfsc.vfc_flags = vfsp->vfc_flags;