Lines Matching defs:bitmap

239  * file. Otherwise, it has to go to the main bitmap.
258 * allocation to take up to half the bitmap. */
362 * return any unused bits to the bitmap and write out a clean
472 * We want to free the bitmap bits outside of any recovery context as
546 * main bitmap.
581 /* we want the bitmap change to be recorded on disk asap */
724 void *bitmap;
743 bitmap = la->la_bitmap;
760 ocfs2_set_bit(start++, bitmap);
780 void *bitmap;
790 bitmap = la->la_bitmap;
804 ocfs2_clear_bit(start++, bitmap);
832 void *bitmap = NULL;
864 bitmap = OCFS2_LOCAL_ALLOC(alloc)->la_bitmap;
868 while ((bitoff = ocfs2_find_next_zero_bit(bitmap, left, startoff)) != -1) {
926 static void ocfs2_verify_zero_bits(unsigned long *bitmap,
932 if (ocfs2_test_bit(start + tmp, bitmap)) {
944 * sync the local alloc to main bitmap.
946 * assumes you've already locked the main bitmap -- the bitmap inode
959 void *bitmap;
977 bitmap = la->la_bitmap;
981 while ((bit_off = ocfs2_find_next_zero_bit(bitmap, left, start))
1021 OCFS2_LA_EVENT_FRAGMENTED, /* The global bitmap has
1026 OCFS2_LA_EVENT_ENOSPC, /* Global bitmap doesn't have
1060 * bitmap. Drastically reduce the number of bits used
1069 * reason to assume the bitmap situation might
1085 * risk bouncing around the global bitmap during periods of
1146 * pass it the bitmap lock in lock_bh if you have it.
1215 * set all previously used bits in bitmap and update
1216 * la_bits_set before setting the bits in the main bitmap. */
1249 /* This will lock the main bitmap for us. */
1272 * local alloc shutdown won't try to double free main bitmap