Lines Matching defs:bitmap
95 DMERR_LIMIT("bitmap check failed: blocknr %llu != wanted %llu",
104 DMERR_LIMIT("bitmap check failed: csum %u != wanted %u",
204 * Because the new bitmap blocks are created via a shadow
378 * part way through the bitmap.
515 void *bitmap;
523 ic->bitmap = NULL;
620 ic->bitmap = dm_bitmap_data(ic->bitmap_block);
626 * we can reopen the bitmap with a simple write lock, rather than re calling
635 DMERR("unable to re-get write lock for bitmap");
638 ic->bitmap = dm_bitmap_data(ic->bitmap_block);
645 * Loops round incrementing entries in a single bitmap.
658 * We only need to drop the bitmap if we need to find a new btree
666 old = sm_lookup_bitmap(ic->bitmap, bit);
669 /* inc bitmap, adjust nr_allocated */
670 sm_set_bitmap(ic->bitmap, bit, 1);
679 /* inc bitmap */
680 sm_set_bitmap(ic->bitmap, bit, 2);
684 /* inc bitmap and insert into overflow */
685 sm_set_bitmap(ic->bitmap, bit, 3);
713 * Finds a bitmap that contains entries in the block range, and increments
838 * Loops round incrementing entries in a single bitmap.
850 * We only need to drop the bitmap if we need to find a new btree
858 old = sm_lookup_bitmap(ic->bitmap, bit);
865 /* dec bitmap */
866 sm_set_bitmap(ic->bitmap, bit, 0);
875 /* dec bitmap and insert into overflow */
876 sm_set_bitmap(ic->bitmap, bit, 1);
889 sm_set_bitmap(ic->bitmap, bit, 2);