Searched refs:used_blocks (Results 1 – 13 of 13) sorted by relevance
840 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()844 ai->bad_peb_count - fm->used_blocks) { in ubi_attach_fastmap()884 int i, used_blocks, pnum, ret = 0; in ubi_scan_fastmap() local925 used_blocks = be32_to_cpu(fmsb->used_blocks); in ubi_scan_fastmap()926 if (used_blocks > UBI_FM_MAX_BLOCKS || used_blocks < 1) { in ubi_scan_fastmap()928 used_blocks); in ubi_scan_fastmap()933 fm_size = ubi->leb_size * used_blocks; in ubi_scan_fastmap()953 for (i = 0; i < used_blocks; i++) { in ubi_scan_fastmap()1042 fm->used_blocks = used_blocks; in ubi_scan_fastmap()1051 for (i = 0; i < used_blocks; i++) { in ubi_scan_fastmap()[all …]
413 __be32 used_blocks; member
372 for (i = 0; i < ubi->fm->used_blocks; i++) in ubi_fastmap_close()
237 int used_blocks; member
1621 found_pebs + ubi->fm->used_blocks);1623 for (i = 0; i < ubi->fm->used_blocks; i++) {
12 field:int used_blocks; offset:24; size:4; signed:1;19 …used_blocks %d reserved_data_blocks %d reserved_meta_blocks %d allocated_meta_blocks %d quota_clai…
12 field:int used_blocks; offset:32; size:4; signed:1;19 …used_blocks %d reserved_data_blocks %d reserved_meta_blocks %d allocated_meta_blocks %d quota_clai…
14 field:int used_blocks; offset:32; size:4; signed:1;20 …used_blocks %d reserved_data_blocks %d reserved_meta_blocks %d allocated_meta_blocks %d quota_clai…
479 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()498 int i, used_blocks, pnum, ret = 0; in ubi_scan_fastmap() local526 used_blocks = be32_to_cpu(fmsb->used_blocks); in ubi_scan_fastmap()527 if (used_blocks > UBI_FM_MAX_BLOCKS || used_blocks < 1) { in ubi_scan_fastmap()528 ubi_err("number of fastmap blocks is invalid: %i", used_blocks); in ubi_scan_fastmap()533 fm_size = ubi->leb_size * used_blocks; in ubi_scan_fastmap()543 for (i = 0; i < used_blocks; i++) { in ubi_scan_fastmap()636 fm->used_blocks = used_blocks; in ubi_scan_fastmap()
81 int used_blocks; member
93 optional int32 used_blocks = 4; field
731 optional int32 used_blocks = 4; field