Lines Matching refs:stripe_index
965 int stripe_index; in __btrfs_map_block() local
1055 stripe_index = 0; in __btrfs_map_block()
1062 stripe_index = mirror_num - 1; in __btrfs_map_block()
1064 stripe_index = stripe_nr % map->num_stripes; in __btrfs_map_block()
1068 stripe_index = stripe_nr % factor; in __btrfs_map_block()
1069 stripe_index *= map->sub_stripes; in __btrfs_map_block()
1074 stripe_index += mirror_num - 1; in __btrfs_map_block()
1081 stripe_index = mirror_num - 1; in __btrfs_map_block()
1117 stripe_index = 0; in __btrfs_map_block()
1121 stripe_index = stripe_nr % nr_data_stripes(map); in __btrfs_map_block()
1130 stripe_index = nr_data_stripes(map) + mirror_num - 2; in __btrfs_map_block()
1133 stripe_index = (stripe_nr + stripe_index) % map->num_stripes; in __btrfs_map_block()
1141 stripe_index = stripe_nr % map->num_stripes; in __btrfs_map_block()
1144 BUG_ON(stripe_index >= map->num_stripes); in __btrfs_map_block()
1148 map->stripes[stripe_index].physical + stripe_offset + in __btrfs_map_block()
1150 multi->stripes[i].dev = map->stripes[stripe_index].dev; in __btrfs_map_block()
1151 stripe_index++; in __btrfs_map_block()