Lines Matching refs:i
105 unsigned int i; in ocfs2_read_blocks_sync() local
113 for (i = 0 ; i < nr ; i++) { in ocfs2_read_blocks_sync()
114 if (bhs[i] == NULL) { in ocfs2_read_blocks_sync()
115 bhs[i] = sb_getblk(osb->sb, block++); in ocfs2_read_blocks_sync()
116 if (bhs[i] == NULL) { in ocfs2_read_blocks_sync()
122 bh = bhs[i]; in ocfs2_read_blocks_sync()
160 for (i = nr; i > 0; i--) { in ocfs2_read_blocks_sync()
161 bh = bhs[i - 1]; in ocfs2_read_blocks_sync()
173 bhs[i - 1] = NULL; in ocfs2_read_blocks_sync()
187 int i, ignore_cache = 0; in ocfs2_read_blocks() local
216 for (i = 0 ; i < nr ; i++) { in ocfs2_read_blocks()
217 if (bhs[i] == NULL) { in ocfs2_read_blocks()
218 bhs[i] = sb_getblk(sb, block++); in ocfs2_read_blocks()
219 if (bhs[i] == NULL) { in ocfs2_read_blocks()
226 bh = bhs[i]; in ocfs2_read_blocks()
320 for (i = (nr - 1); i >= 0; i--) { in ocfs2_read_blocks()
321 bh = bhs[i]; in ocfs2_read_blocks()
327 bhs[i] = NULL; in ocfs2_read_blocks()
345 bhs[i] = NULL; in ocfs2_read_blocks()
358 bhs[i] = NULL; in ocfs2_read_blocks()
383 int i; in ocfs2_check_super_or_backup() local
389 for (i = 0; i < OCFS2_MAX_BACKUP_SUPERBLOCKS; i++) { in ocfs2_check_super_or_backup()
390 backup_blkno = ocfs2_backup_super_blkno(sb, i); in ocfs2_check_super_or_backup()