Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/staging/spectra/
Dflash.c36 BAD_BLOCK) && SPARE_BLOCK == (pbt[blk] & SPARE_BLOCK))
175 #define MARK_BLK_AS_DISCARD(blk) (blk = (blk & ~SPARE_BLOCK) | DISCARD_BLOCK)
370 ((block & SPARE_BLOCK) == SPARE_BLOCK)) { in FTL_Execute_SPL_Recovery()
1638 pbt[lblk] |= (u32)(SPARE_BLOCK); in erase_l2_cache_blocks()
1731 pbt[pnd->logical_blk_num] &= (~SPARE_BLOCK); in flush_l2_cache()
2874 pbt[old_idx] = (u32)((~SPARE_BLOCK) & in move_blks_for_wear_leveling()
3033 pbt[i] |= (u32)(SPARE_BLOCK); in do_garbage_collection()
3116 pbt[i] |= (u32)(SPARE_BLOCK); in do_garbage_collection()
3226 pbt[lba] |= (u32)(SPARE_BLOCK); in do_bt_garbage_collection()
3302 pbt[lba] |= (u32)(SPARE_BLOCK); in do_bt_garbage_collection()
[all …]
Dflash.h32 #define SPARE_BLOCK 0x400000 macro