Lines Matching defs:bitmap

237  * file. Otherwise, it has to go to the main bitmap.
256 * allocation to take up to half the bitmap. */
360 * return any unused bits to the bitmap and write out a clean
470 * We want to free the bitmap bits outside of any recovery context as
544 * main bitmap.
579 /* we want the bitmap change to be recorded on disk asap */
722 void *bitmap;
741 bitmap = la->la_bitmap;
758 ocfs2_set_bit(start++, bitmap);
778 void *bitmap;
788 bitmap = la->la_bitmap;
802 ocfs2_clear_bit(start++, bitmap);
830 void *bitmap = NULL;
862 bitmap = OCFS2_LOCAL_ALLOC(alloc)->la_bitmap;
866 while ((bitoff = ocfs2_find_next_zero_bit(bitmap, left, startoff)) != -1) {
924 static void ocfs2_verify_zero_bits(unsigned long *bitmap,
930 if (ocfs2_test_bit(start + tmp, bitmap)) {
942 * sync the local alloc to main bitmap.
944 * assumes you've already locked the main bitmap -- the bitmap inode
957 void *bitmap;
975 bitmap = la->la_bitmap;
979 while ((bit_off = ocfs2_find_next_zero_bit(bitmap, left, start))
1019 OCFS2_LA_EVENT_FRAGMENTED, /* The global bitmap has
1024 OCFS2_LA_EVENT_ENOSPC, /* Global bitmap doesn't have
1058 * bitmap. Drastically reduce the number of bits used
1067 * reason to assume the bitmap situation might
1083 * risk bouncing around the global bitmap during periods of
1144 * pass it the bitmap lock in lock_bh if you have it.
1213 * set all previously used bits in bitmap and update
1214 * la_bits_set before setting the bits in the main bitmap. */
1247 /* This will lock the main bitmap for us. */
1270 * local alloc shutdown won't try to double free main bitmap