Searched refs:unused_blk_cnt (Results 1 – 3 of 3) sorted by relevance
803 xd_card->zone[i].unused_blk_cnt = 0; in xd_init_l2p_tbl()817 zone->unused_blk_cnt = 0; in free_zone()856 zone->unused_blk_cnt++; in xd_set_unused_block()872 if (zone->unused_blk_cnt == 0 || in xd_get_unused_block()891 zone->unused_blk_cnt--; in xd_get_unused_block()927 if (zone->unused_blk_cnt <= 0) { in xd_get_l2p_tbl()932 for (i = 0; i < zone->unused_blk_cnt; i++) { in xd_get_l2p_tbl()944 if (i >= zone->unused_blk_cnt) { in xd_get_l2p_tbl()1349 zone->unused_blk_cnt = 0; in xd_build_l2p_tbl()1454 zone->unused_blk_cnt); in xd_build_l2p_tbl()[all …]
2145 ms_card->segment[i].unused_blk_cnt = 0;2203 segment->unused_blk_cnt++;2214 if (segment->unused_blk_cnt <= 0)2222 segment->unused_blk_cnt--;2326 segment->unused_blk_cnt = 0;2415 segment->unused_blk_cnt);2419 if (segment->unused_blk_cnt < 2)2422 if (segment->unused_blk_cnt < 1)2444 if (segment->unused_blk_cnt < 2) {2449 if (segment->unused_blk_cnt < 1) {
363 int unused_blk_cnt; member