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

Lines Matching defs:mp

90 nullfs_mount(mp, devvp, data, context)
91 struct mount *mp;
104 printf("nullfs_mount(mp = %x)\n", mp);
110 if (mp->mnt_flag & MNT_UPDATE) {
112 /* return VFS_MOUNT(MOUNTTONULLMOUNT(mp)->nullm_vfs, devvp, data, p);*/
157 error = null_node_create(mp, lowerrootvp, &vp);
175 mp->mnt_flag |= MNT_LOCAL;
176 mp->mnt_data = (qaddr_t) xmp;
177 vfs_getnewfsid(mp);
179 (void) copyinstr(args.target, mp->mnt_vfsstat.f_mntfromname, MAXPATHLEN - 1,
181 bzero(mp->mnt_vfsstat.f_mntfromname + size, MNAMELEN - size);
184 mp->mnt_vfsstat.f_mntfromname, mp->mnt_vfsstat.f_mntonname);
195 nullfs_start(mp, flags, context)
196 struct mount *mp;
201 /* return VFS_START(MOUNTTONULLMOUNT(mp)->nullm_vfs, flags, context); */
208 nullfs_unmount(mp, mntflags, context)
209 struct mount *mp;
213 struct vnode *nullm_rootvp = MOUNTTONULLMOUNT(mp)->nullm_rootvp;
219 printf("nullfs_unmount(mp = %x)\n", mp);
229 if ( (error = vflush(mp, nullm_rootvp, flags)) && !force )
246 FREE(mp->mnt_data, M_UFSMNT); /* XXX */
247 mp->mnt_data = 0;
252 nullfs_root(mp, vpp, context)
253 struct mount *mp;
261 printf("nullfs_root(mp = %x, vp = %x->%x)\n", mp,
262 MOUNTTONULLMOUNT(mp)->nullm_rootvp,
263 NULLVPTOLOWERVP(MOUNTTONULLMOUNT(mp)->nullm_rootvp)
270 vp = MOUNTTONULLMOUNT(mp)->nullm_rootvp;
277 nullfs_quotactl(mp, cmd, uid, datap, context)
278 struct mount *mp;
284 return VFS_QUOTACTL(MOUNTTONULLMOUNT(mp)->nullm_vfs, cmd, uid, datap, context);
288 nullfs_statfs(mp, sbp, context)
289 struct mount *mp;
297 printf("nullfs_statfs(mp = %x, vp = %x->%x)\n", mp,
298 MOUNTTONULLMOUNT(mp)->nullm_rootvp,
299 NULLVPTOLOWERVP(MOUNTTONULLMOUNT(mp)->nullm_rootvp)
305 error = VFS_STATFS(MOUNTTONULLMOUNT(mp)->nullm_vfs, &mstat, context);
323 nullfs_sync(__unused struct mount *mp, __unused int waitfor,
333 nullfs_vget(mp, ino, vpp, context)
334 struct mount *mp;
340 return VFS_VGET(MOUNTTONULLMOUNT(mp)->nullm_vfs, ino, vpp, context);
344 nullfs_fhtovp(mp, fhlen, fhp, vpp, context)
345 struct mount *mp;
352 return VFS_FHTOVP(MOUNTTONULLMOUNT(mp)->nullm_vfs, fhlen, fhp, vpp, context);