Searched refs:stripe_size (Results 1 – 3 of 3) sorted by relevance
563 unsigned stripe_size; in aligned_on_raid_stripe() local568 stripe_size = layout->stripe_unit * in aligned_on_raid_stripe()571 div_u64_rem(offset, stripe_size, &stripe_off); in aligned_on_raid_stripe()575 *stripe_end = stripe_size - stripe_off; in aligned_on_raid_stripe()
4521 u64 stripe_size; in __btrfs_alloc_chunk() local4659 stripe_size = div_u64(devices_info[ndevs - 1].max_avail, dev_stripes); in __btrfs_alloc_chunk()4684 if (stripe_size * data_stripes > max_chunk_size) { in __btrfs_alloc_chunk()4687 stripe_size = div_u64(max_chunk_size, data_stripes); in __btrfs_alloc_chunk()4690 stripe_size = (stripe_size + mask) & ~mask; in __btrfs_alloc_chunk()4695 if (stripe_size > devices_info[ndevs-1].max_avail) in __btrfs_alloc_chunk()4696 stripe_size = devices_info[ndevs-1].max_avail; in __btrfs_alloc_chunk()4700 stripe_size = div_u64(stripe_size, raid_stripe_len); in __btrfs_alloc_chunk()4701 stripe_size *= raid_stripe_len; in __btrfs_alloc_chunk()4715 j * stripe_size; in __btrfs_alloc_chunk()[all …]
253 unsigned stripe_size = layout->stripe_unit * data_devs; in ore_get_rw_state() local259 num_stripes = div_u64_rem(length, stripe_size, &remainder); in ore_get_rw_state()