Searched refs:used_blocks_bitmap (Results 1 – 2 of 2) sorted by relevance
158 if (msb->block_count - bitmap_weight(msb->used_blocks_bitmap, in msb_validate_used_block_bitmap()172 if (test_bit(pba, msb->used_blocks_bitmap)) { in msb_mark_block_used()183 __set_bit(pba, msb->used_blocks_bitmap); in msb_mark_block_used()192 if (!test_bit(pba, msb->used_blocks_bitmap)) { in msb_mark_block_unused()202 __clear_bit(pba, msb->used_blocks_bitmap); in msb_mark_block_unused()1093 pba = find_next_zero_bit(msb->used_blocks_bitmap, in msb_get_free_block()1096 pba = find_next_zero_bit(msb->used_blocks_bitmap, in msb_get_free_block()1314 if (test_bit(bad_block, msb->used_blocks_bitmap)) { in msb_read_bad_block_table()1338 msb->used_blocks_bitmap = kzalloc(msb->block_count / 8, GFP_KERNEL); in msb_ftl_initialize()1344 if (!msb->used_blocks_bitmap || !msb->lba_to_pba_table || in msb_ftl_initialize()[all …]
178 unsigned long *used_blocks_bitmap; member