Lines Matching defs:v7fsmount
83 struct v7fs_mount *v7fsmount = (void *)mp->mnt_data;
96 if (!v7fsmount)
99 args->endian = v7fsmount->core->endian;
127 KDASSERT(v7fsmount);
132 if (devvp != v7fsmount->devvp) {
134 v7fsmount->devvp, rootvp);
135 if (rootvp == v7fsmount->devvp) {
253 struct v7fs_mount *v7fsmount;
259 v7fsmount = kmem_zalloc(sizeof(*v7fsmount), KM_SLEEP);
260 v7fsmount->devvp = devvp;
261 v7fsmount->mountp = mp;
266 if ((error = v7fs_io_init(&v7fsmount->core, &mount, V7FS_BSIZE))) {
269 struct v7fs_self *fs = v7fsmount->core;
276 mp->mnt_data = v7fsmount;
288 kmem_free(v7fsmount, sizeof(*v7fsmount));
304 struct v7fs_mount *v7fsmount = (void *)mp->mnt_data;
307 DPRINTF("%p\n", v7fsmount);
313 vn_lock(v7fsmount->devvp, LK_EXCLUSIVE | LK_RETRY);
314 error = VOP_CLOSE(v7fsmount->devvp, FREAD, NOCRED);
315 vput(v7fsmount->devvp);
317 v7fs_io_fini(v7fsmount->core);
319 kmem_free(v7fsmount, sizeof(*v7fsmount));
346 struct v7fs_mount *v7fsmount = mp->mnt_data;
347 struct v7fs_self *fs = v7fsmount->core;
388 struct v7fs_mount *v7fsmount = mp->mnt_data;
389 struct v7fs_self *fs = v7fsmount->core;
431 struct v7fs_mount *v7fsmount;
441 v7fsmount = mp->mnt_data;
442 fs = v7fsmount->core;
456 v7fs_node->v7fsmount = v7fsmount;