Home | History | Annotate | Download | only in adosfs

Lines Matching refs:bitmap

267 	/* allocate and load bitmap, set free space */
268 bitmap_sz = ((amp->numblks + 31) / 32) * sizeof(*amp->bitmap);
269 amp->bitmap = kmem_alloc(bitmap_sz, KM_SLEEP);
273 * Don't need the bitmap any more if it's read-only.
275 kmem_free(amp->bitmap, bitmap_sz);
276 amp->bitmap = NULL;
286 if (amp && amp->bitmap)
287 kmem_free(amp->bitmap, bitmap_sz);
317 if (amp->bitmap) {
319 sizeof(*amp->bitmap);
320 kmem_free(amp->bitmap, bitmap_sz);
596 * Load the bitmap into memory, and count the number of available
598 * The bitmap will be released if the filesystem is read-only; it's
642 amp->bitmap[mapix++] = bits = adoswordn(mapbp, n);