Lines Matching refs:v7fsmount

86 	struct v7fs_mount *v7fsmount = (void *)mp->mnt_data;
99 if (!v7fsmount)
102 args->endian = v7fsmount->core->endian;
130 KDASSERT(v7fsmount);
135 if (devvp != v7fsmount->devvp) {
137 v7fsmount->devvp, rootvp);
138 if (rootvp == v7fsmount->devvp) {
251 struct v7fs_mount *v7fsmount;
257 v7fsmount = malloc(sizeof(*v7fsmount), M_V7FS_VFS, M_WAITOK);
258 if (v7fsmount == NULL) {
261 v7fsmount->devvp = devvp;
262 v7fsmount->mountp = mp;
267 if ((error = v7fs_io_init(&v7fsmount->core, &mount, V7FS_BSIZE))) {
270 struct v7fs_self *fs = v7fsmount->core;
277 LIST_INIT(&v7fsmount->v7fs_node_head);
279 mp->mnt_data = v7fsmount;
291 free(v7fsmount, M_V7FS_VFS);
307 struct v7fs_mount *v7fsmount = (void *)mp->mnt_data;
310 DPRINTF("%p\n", v7fsmount);
316 vn_lock(v7fsmount->devvp, LK_EXCLUSIVE | LK_RETRY);
317 error = VOP_CLOSE(v7fsmount->devvp, FREAD, NOCRED);
318 vput(v7fsmount->devvp);
320 v7fs_io_fini(v7fsmount->core);
322 free(v7fsmount, M_V7FS_VFS);
349 struct v7fs_mount *v7fsmount = mp->mnt_data;
350 struct v7fs_self *fs = v7fsmount->core;
375 struct v7fs_mount *v7fsmount = mp->mnt_data;
376 struct v7fs_self *fs = v7fsmount->core;
390 for (v7fs_node = LIST_FIRST(&v7fsmount->v7fs_node_head);
431 struct v7fs_mount *v7fsmount = mp->mnt_data;
432 struct v7fs_self *fs = v7fsmount->core;
446 for (v7fs_node = LIST_FIRST(&v7fsmount->v7fs_node_head);
476 LIST_INSERT_HEAD(&v7fsmount->v7fs_node_head, v7fs_node, link);
479 v7fs_node->v7fsmount = v7fsmount;
605 struct v7fs_mount *v7fsmount = mp->mnt_data;
606 struct v7fs_self *fs = v7fsmount->core;
614 for (v7fs_node = LIST_FIRST(&v7fsmount->v7fs_node_head);