Searched refs:stripe_size (Results 1 – 2 of 2) sorted by relevance
3186 u64 stripe_size; in __btrfs_alloc_chunk() local3331 stripe_size = devices_info[ndevs-1].max_avail; in __btrfs_alloc_chunk()3334 if (stripe_size * ndevs > max_chunk_size * ncopies) { in __btrfs_alloc_chunk()3335 stripe_size = max_chunk_size * ncopies; in __btrfs_alloc_chunk()3336 do_div(stripe_size, ndevs); in __btrfs_alloc_chunk()3339 do_div(stripe_size, dev_stripes); in __btrfs_alloc_chunk()3342 do_div(stripe_size, BTRFS_STRIPE_LEN); in __btrfs_alloc_chunk()3343 stripe_size *= BTRFS_STRIPE_LEN; in __btrfs_alloc_chunk()3357 j * stripe_size; in __btrfs_alloc_chunk()3368 num_bytes = stripe_size * (num_stripes / ncopies); in __btrfs_alloc_chunk()[all …]
248 unsigned stripe_size = layout->stripe_unit * data_devs; in ore_get_rw_state() local254 num_stripes = div_u64_rem(length, stripe_size, &remainder); in ore_get_rw_state()