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 …]
2144 ms_card->segment[i].unused_blk_cnt = 0;2202 segment->unused_blk_cnt++;2213 if (segment->unused_blk_cnt <= 0)2221 segment->unused_blk_cnt--;2325 segment->unused_blk_cnt = 0;2414 segment->unused_blk_cnt);2418 if (segment->unused_blk_cnt < 2)2421 if (segment->unused_blk_cnt < 1)2443 if (segment->unused_blk_cnt < 2) {2448 if (segment->unused_blk_cnt < 1) {
363 int unused_blk_cnt; member