Lines Matching refs:fm_size
291 size_t fm_pos = 0, fm_size = ubi->fm_size; in ubi_attach_fastmap() local
297 if (fm_pos >= fm_size) in ubi_attach_fastmap()
302 if (fm_pos >= fm_size) in ubi_attach_fastmap()
313 if (fm_pos >= fm_size) in ubi_attach_fastmap()
323 if (fm_pos >= fm_size) in ubi_attach_fastmap()
362 if (fm_pos >= fm_size) in ubi_attach_fastmap()
370 if (fm_pos >= fm_size) in ubi_attach_fastmap()
380 if (fm_pos >= fm_size) in ubi_attach_fastmap()
388 if (fm_pos >= fm_size) in ubi_attach_fastmap()
398 if (fm_pos >= fm_size) in ubi_attach_fastmap()
415 if (fm_pos >= fm_size) in ubi_attach_fastmap()
499 size_t fm_size; in ubi_scan_fastmap() local
533 fm_size = ubi->leb_size * used_blocks; in ubi_scan_fastmap()
534 if (fm_size != ubi->fm_size) { in ubi_scan_fastmap()
535 ubi_err("bad fastmap size: %zi, expected: %zi", fm_size, in ubi_scan_fastmap()
536 ubi->fm_size); in ubi_scan_fastmap()
626 crc = crc32(UBI_CRC32_INIT, ubi->fm_buf, fm_size); in ubi_scan_fastmap()
899 ubi->fm_size = ubi_calc_fm_size(ubi); in ubispl_load_volumes()