Lines Matching refs:i
252 int i; in scan_pool() local
256 for (i = 0; i < pool_size; i++) { in scan_pool()
257 pnum = be32_to_cpu(pebs[i]); in scan_pool()
279 int i; member
291 int ret, i, j, pool_size, wl_pool_size; in ubi_attach_fastmap() local
360 for (i = 0; i < be32_to_cpu(fmhdr->free_peb_count); i++) { in ubi_attach_fastmap()
368 for (i = 0; i < be32_to_cpu(fmhdr->used_peb_count); i++) { in ubi_attach_fastmap()
378 for (i = 0; i < be32_to_cpu(fmhdr->scrub_peb_count); i++) { in ubi_attach_fastmap()
386 for (i = 0; i < be32_to_cpu(fmhdr->erase_peb_count); i++) { in ubi_attach_fastmap()
394 for (i = 0; i < be32_to_cpu(fmhdr->vol_count); i++) { in ubi_attach_fastmap()
499 int i, used_blocks, pnum, ret = 0; in ubi_scan_fastmap() local
544 for (i = 0; i < used_blocks; i++) { in ubi_scan_fastmap()
545 pnum = be32_to_cpu(fmsb->block_loc[i]); in ubi_scan_fastmap()
557 i, pnum); in ubi_scan_fastmap()
562 fm->to_be_tortured[i] = 1; in ubi_scan_fastmap()
581 i, pnum); in ubi_scan_fastmap()
592 if (i == 0) { in ubi_scan_fastmap()
615 ret = ubi_io_read(ubi, ubi->fm_buf + (ubi->leb_size * i), pnum, in ubi_scan_fastmap()
619 "err: %i)", i, pnum, ret); in ubi_scan_fastmap()
877 int res, i, fastmap = info->fastmap; in ubispl_load_volumes() local
903 for (i = 0; i < nrvols; i++) { in ubispl_load_volumes()
904 struct ubispl_load *lv = lvols + i; in ubispl_load_volumes()
911 for (i = 0; i < nrvols; i++) { in ubispl_load_volumes()
912 struct ubispl_load *lv = lvols + i; in ubispl_load_volumes()