Home
last modified time | relevance | path

Searched refs:used_blocks_bitmap (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/memstick/core/
Dms_block.c158 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()
1099 pba = find_next_zero_bit(msb->used_blocks_bitmap, in msb_get_free_block()
1102 pba = find_next_zero_bit(msb->used_blocks_bitmap, in msb_get_free_block()
1320 if (test_bit(bad_block, msb->used_blocks_bitmap)) { in msb_read_bad_block_table()
1344 msb->used_blocks_bitmap = bitmap_zalloc(msb->block_count, GFP_KERNEL); in msb_ftl_initialize()
1350 if (!msb->used_blocks_bitmap || !msb->lba_to_pba_table || in msb_ftl_initialize()
[all …]
Dms_block.h177 unsigned long *used_blocks_bitmap; member