Home
last modified time | relevance | path

Searched refs:used_blocks (Results 1 – 7 of 7) sorted by relevance

/u-boot/drivers/mtd/ubi/
A Dfastmap.c889 int i, used_blocks, pnum, ret = 0; in ubi_scan_fastmap() local
930 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 …]
A Dubi-media.h419 __be32 used_blocks; member
A Dfastmap-wl.c372 for (i = 0; i < ubi->fm->used_blocks; i++) in ubi_fastmap_close()
A Dubi.h237 int used_blocks; member
A Dwl.c1623 found_pebs + ubi->fm->used_blocks);
1625 for (i = 0; i < ubi->fm->used_blocks; i++) {
/u-boot/drivers/mtd/ubispl/
A Dubi-wrapper.h81 int used_blocks; member
A Dubispl.c673 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()
692 int i, used_blocks, pnum, ret = 0; in ubi_scan_fastmap() local
720 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