Lines Matching refs:stripe_nr

5934 	u32 stripe_nr;
5965 * stripe_nr counts the total number of stripes we have to stride
5968 stripe_nr = offset >> BTRFS_STRIPE_LEN_SHIFT;
5971 stripe_offset = offset - btrfs_stripe_nr_to_offset(stripe_nr);
5975 stripe_cnt = stripe_nr_end - stripe_nr;
5979 * after this, stripe_nr is the number of stripes on this
5995 stripe_index = stripe_nr % factor;
5996 stripe_nr /= factor;
6006 stripe_index = stripe_nr % map->num_stripes;
6007 stripe_nr /= map->num_stripes;
6019 stripe_offset + btrfs_stripe_nr_to_offset(stripe_nr);
6054 stripe_nr++;
6160 u64 offset, u32 *stripe_nr, u64 *stripe_offset,
6168 *stripe_nr = offset >> BTRFS_STRIPE_LEN_SHIFT;
6177 * @stripe_nr. Align it to nr_data_stripes, then multiply with
6186 rounddown(*stripe_nr, nr_data_stripes(map)));
6208 u32 stripe_index, u64 stripe_offset, u32 stripe_nr)
6212 stripe_offset + btrfs_stripe_nr_to_offset(stripe_nr);
6264 u32 stripe_nr;
6294 max_len = btrfs_max_io_len(map, op, map_offset, &stripe_nr,
6310 stripe_index = stripe_nr % map->num_stripes;
6311 stripe_nr /= map->num_stripes;
6337 stripe_index = (stripe_nr % factor) * map->sub_stripes;
6338 stripe_nr /= factor;
6355 * Push stripe_nr back to the start of the full stripe
6356 * For those cases needing a full stripe, @stripe_nr
6361 * @stripe_nr with @data_stripes.
6363 stripe_nr /= data_stripes;
6382 stripe_index = stripe_nr % data_stripes;
6383 stripe_nr /= data_stripes;
6388 stripe_index = (stripe_nr + stripe_index) % map->num_stripes;
6394 * After this, stripe_nr is the number of stripes on this
6398 stripe_index = stripe_nr % map->num_stripes;
6399 stripe_nr /= map->num_stripes;
6429 set_io_stripe(smap, map, stripe_index, stripe_offset, stripe_nr);
6454 * For RAID56 @stripe_nr is already the number of full stripes
6458 * In this case, we just add @stripe_nr with @i, then do the
6462 btrfs_stripe_nr_to_offset(stripe_nr * data_stripes);
6465 (i + stripe_nr) % num_stripes,
6466 stripe_offset, stripe_nr);
6474 stripe_offset, stripe_nr);