Lines Matching refs:bb_bitmap
482 if (unlikely(e4b->bd_info->bb_bitmap == NULL)) in mb_free_blocks_double()
486 if (!mb_test_bit(first + i, e4b->bd_info->bb_bitmap)) { in mb_free_blocks_double()
500 mb_clear_bit(first + i, e4b->bd_info->bb_bitmap); in mb_free_blocks_double()
508 if (unlikely(e4b->bd_info->bb_bitmap == NULL)) in mb_mark_used_double()
512 BUG_ON(mb_test_bit(first + i, e4b->bd_info->bb_bitmap)); in mb_mark_used_double()
513 mb_set_bit(first + i, e4b->bd_info->bb_bitmap); in mb_mark_used_double()
519 if (unlikely(e4b->bd_info->bb_bitmap == NULL)) in mb_cmp_bitmaps()
521 if (memcmp(e4b->bd_info->bb_bitmap, bitmap, e4b->bd_sb->s_blocksize)) { in mb_cmp_bitmaps()
524 b1 = (unsigned char *) e4b->bd_info->bb_bitmap; in mb_cmp_bitmaps()
544 grp->bb_bitmap = kmalloc(sb->s_blocksize, GFP_NOFS); in mb_group_bb_bitmap_alloc()
545 if (!grp->bb_bitmap) in mb_group_bb_bitmap_alloc()
550 kfree(grp->bb_bitmap); in mb_group_bb_bitmap_alloc()
551 grp->bb_bitmap = NULL; in mb_group_bb_bitmap_alloc()
555 memcpy(grp->bb_bitmap, bh->b_data, sb->s_blocksize); in mb_group_bb_bitmap_alloc()
561 kfree(grp->bb_bitmap); in mb_group_bb_bitmap_free()