Searched refs:used_blocks (Results 1 – 7 of 7) sorted by relevance
889 int i, used_blocks, pnum, ret = 0; in ubi_scan_fastmap() local930 used_blocks = be32_to_cpu(fmsb->used_blocks); in ubi_scan_fastmap()931 if (used_blocks > UBI_FM_MAX_BLOCKS || used_blocks < 1) { in ubi_scan_fastmap()933 used_blocks); in ubi_scan_fastmap()958 for (i = 0; i < used_blocks; i++) { in ubi_scan_fastmap()1047 fm->used_blocks = used_blocks; in ubi_scan_fastmap()1056 for (i = 0; i < used_blocks; i++) { in ubi_scan_fastmap()1160 fmsb->used_blocks = cpu_to_be32(new_fm->used_blocks); in ubi_write_fastmap()1454 fm->used_blocks = 1; in invalidate_fastmap()1578 if (old_fm && new_fm->used_blocks < old_fm->used_blocks) { in ubi_update_fastmap()[all …]
419 __be32 used_blocks; member
372 for (i = 0; i < ubi->fm->used_blocks; i++) in ubi_fastmap_close()
237 int used_blocks; member
1623 found_pebs + ubi->fm->used_blocks);1625 for (i = 0; i < ubi->fm->used_blocks; i++) {
81 int used_blocks; member
673 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()692 int i, used_blocks, pnum, ret = 0; in ubi_scan_fastmap() local720 used_blocks = be32_to_cpu(fmsb->used_blocks); in ubi_scan_fastmap()721 if (used_blocks > UBI_FM_MAX_BLOCKS || used_blocks < 1) { in ubi_scan_fastmap()722 ubi_err("number of fastmap blocks is invalid: %i", used_blocks); in ubi_scan_fastmap()727 fm_size = ubi->leb_size * used_blocks; in ubi_scan_fastmap()737 for (i = 0; i < used_blocks; i++) { in ubi_scan_fastmap()830 fm->used_blocks = used_blocks; in ubi_scan_fastmap()
Completed in 15 milliseconds