Lines Matching defs:bmp
73 struct sysvbfs_mount *bmp = NULL;
86 if ((bmp = (struct sysvbfs_mount *)mp->mnt_data) == NULL)
121 bmp = (struct sysvbfs_mount *)mp->mnt_data;
122 if (devvp != bmp->devvp)
171 struct sysvbfs_mount *bmp;
186 bmp = malloc(sizeof(*bmp), M_SYSVBFS_VFS, M_WAITOK | M_ZERO);
187 bmp->devvp = devvp;
188 bmp->mountp = mp;
189 if ((error = sysvbfs_bfs_init(&bmp->bfs, devvp)) != 0) {
190 free(bmp, M_SYSVBFS_VFS);
195 mp->mnt_data = bmp;
221 struct sysvbfs_mount *bmp = (void *)mp->mnt_data;
224 DPRINTF("%s: %p\n", __func__, bmp);
230 vn_lock(bmp->devvp, LK_EXCLUSIVE | LK_RETRY);
231 error = VOP_CLOSE(bmp->devvp, FREAD, NOCRED);
232 vput(bmp->devvp);
234 sysvbfs_bfs_fini(bmp->bfs);
236 free(bmp, M_SYSVBFS_VFS);
260 struct sysvbfs_mount *bmp = mp->mnt_data;
261 struct bfs *bfs = bmp->bfs;
320 struct sysvbfs_mount *bmp;
331 bmp = mp->mnt_data;
332 bfs = bmp->bfs;
354 bnode->bmp = bmp;