Lines Matching refs:i
1667 int i, nr = 0; in btrfs_rmap_block() local
1688 for (i = 0; i < map->num_stripes; i++) { in btrfs_rmap_block()
1693 if (!in_range(physical, map->stripes[i].physical, in btrfs_rmap_block()
1697 stripe_nr = physical - map->stripes[i].physical; in btrfs_rmap_block()
1701 stripe_nr = stripe_nr * map->num_stripes + i; in btrfs_rmap_block()
1704 stripe_nr = stripe_nr * map->num_stripes + i; in btrfs_rmap_block()
1740 int i, nr, ret; in exclude_super_stripes() local
1751 for (i = 0; i < BTRFS_SUPER_MIRROR_MAX; i++) { in exclude_super_stripes()
1752 bytenr = btrfs_sb_offset(i); in exclude_super_stripes()
2041 int i; in btrfs_read_block_groups() local
2043 for (i = 0; i < BTRFS_NR_RAID_TYPES; i++) { in btrfs_read_block_groups()
2044 if (list_empty(&space_info->block_groups[i])) in btrfs_read_block_groups()
2046 cache = list_first_entry(&space_info->block_groups[i], in btrfs_read_block_groups()