• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/vfs/

Lines Matching defs:vfsp

852 vfs_rootmountalloc_internal(struct vfstable *vfsp, const char *devname)
877 mp->mnt_vtable = vfsp;
878 mp->mnt_op = vfsp->vfc_vfsops;
881 //mp->mnt_stat.f_type = vfsp->vfc_typenum;
882 mp->mnt_flag |= vfsp->vfc_flags & MNT_VISFLAGMASK;
885 vfsp->vfc_refcount++;
888 strncpy(mp->mnt_vfsstat.f_fstypename, vfsp->vfc_name, MFSTYPENAMELEN);
903 struct vfstable *vfsp;
905 for (vfsp = vfsconf; vfsp; vfsp = vfsp->vfc_next)
906 if (!strncmp(vfsp->vfc_name, fstypename,
907 sizeof(vfsp->vfc_name)))
909 if (vfsp == NULL)
912 *mpp = vfs_rootmountalloc_internal(vfsp, devname);
935 struct vfstable *vfsp;
959 for (vfsp = vfsconf; vfsp; vfsp = vfsp->vfc_next) {
960 if (vfsp->vfc_mountroot == NULL)
963 mp = vfs_rootmountalloc_internal(vfsp, "root_device");
966 if ((error = (*vfsp->vfc_mountroot)(mp, rootvp, ctx)) == 0) {
1067 printf("%s_mountroot failed: %d\n", vfsp->vfc_name, error);
1215 struct vnode_fsparam vfsp;
1226 vfsp.vnfs_mp = (struct mount *)0;
1227 vfsp.vnfs_vtype = VBLK;
1228 vfsp.vnfs_str = "bdevvp";
1229 vfsp.vnfs_dvp = NULL;
1230 vfsp.vnfs_fsnode = NULL;
1231 vfsp.vnfs_cnp = NULL;
1232 vfsp.vnfs_vops = spec_vnodeop_p;
1233 vfsp.vnfs_rdev = dev;
1234 vfsp.vnfs_filesize = 0;
1236 vfsp.vnfs_flags = VNFS_NOCACHE | VNFS_CANTCACHE;
1238 vfsp.vnfs_marksystem = 0;
1239 vfsp.vnfs_markroot = 0;
1241 if ( (error = vnode_create(VNCREATE_FLAVOR, VCREATESIZE, &vfsp, &nvp)) ) {
2469 struct vfstable *vfsp;
2505 for (vfsp = vfsconf; vfsp; vfsp = vfsp->vfc_next)
2506 if (vfsp->vfc_typenum == name[0])
2508 if (vfsp == NULL)
2512 return ((*vfsp->vfc_vfsops->vfs_sysctl)(&name[1], namelen - 1,
2522 for (vfsp = vfsconf; vfsp; vfsp = vfsp->vfc_next)
2523 if (vfsp->vfc_typenum == name[2])
2525 if (vfsp == NULL)
2527 vfsc = (struct vfsconf *)vfsp;