Lines Matching refs:bitmap
736 void *bitmap; in ocfs2_claim_local_alloc_bits() local
755 bitmap = la->la_bitmap; in ocfs2_claim_local_alloc_bits()
772 ocfs2_set_bit(start++, bitmap); in ocfs2_claim_local_alloc_bits()
792 void *bitmap; in ocfs2_free_local_alloc_bits() local
802 bitmap = la->la_bitmap; in ocfs2_free_local_alloc_bits()
816 ocfs2_clear_bit(start++, bitmap); in ocfs2_free_local_alloc_bits()
844 void *bitmap = NULL; in ocfs2_local_alloc_find_clear_bits() local
876 bitmap = OCFS2_LOCAL_ALLOC(alloc)->la_bitmap; in ocfs2_local_alloc_find_clear_bits()
881 while ((bitoff = ocfs2_find_next_zero_bit(bitmap, left, startoff)) != -1) { in ocfs2_local_alloc_find_clear_bits()
939 static void ocfs2_verify_zero_bits(unsigned long *bitmap,
945 if (ocfs2_test_bit(start + tmp, bitmap)) {
972 void *bitmap; in ocfs2_sync_local_to_main() local
990 bitmap = la->la_bitmap; in ocfs2_sync_local_to_main()
994 while ((bit_off = ocfs2_find_next_zero_bit(bitmap, left, start)) in ocfs2_sync_local_to_main()