Searched refs:unused_blk_cnt (Results 1 – 3 of 3) sorted by relevance
810 xd_card->zone[i].unused_blk_cnt = 0; in xd_init_l2p_tbl()824 zone->unused_blk_cnt = 0; in free_zone()863 zone->unused_blk_cnt++; in xd_set_unused_block()879 if (zone->unused_blk_cnt == 0 || in xd_get_unused_block()898 zone->unused_blk_cnt--; in xd_get_unused_block()934 if (zone->unused_blk_cnt <= 0) { in xd_get_l2p_tbl()939 for (i = 0; i < zone->unused_blk_cnt; i++) { in xd_get_l2p_tbl()951 if (i >= zone->unused_blk_cnt) { in xd_get_l2p_tbl()1356 zone->unused_blk_cnt = 0; in xd_build_l2p_tbl()1461 zone->unused_blk_cnt); in xd_build_l2p_tbl()[all …]
2143 ms_card->segment[i].unused_blk_cnt = 0;2201 segment->unused_blk_cnt++;2212 if (segment->unused_blk_cnt <= 0)2220 segment->unused_blk_cnt--;2324 segment->unused_blk_cnt = 0;2413 segment->unused_blk_cnt);2417 if (segment->unused_blk_cnt < 2)2420 if (segment->unused_blk_cnt < 1)2442 if (segment->unused_blk_cnt < 2) {2447 if (segment->unused_blk_cnt < 1) {
363 int unused_blk_cnt; member