Lines Matching refs:stripe_offset
3681 u64 stripe_offset; in chunk_drange_filter() local
3698 stripe_offset = btrfs_stripe_offset(leaf, stripe); in chunk_drange_filter()
3702 if (stripe_offset < bargs->pend && in chunk_drange_filter()
3703 stripe_offset + stripe_length > bargs->pstart) in chunk_drange_filter()
5954 u64 stripe_offset; in btrfs_map_discard() local
5988 stripe_offset = offset - stripe_nr * stripe_len; in btrfs_map_discard()
6035 stripe_offset + stripe_nr * map->stripe_len; in btrfs_map_discard()
6054 stripes[i].length -= stripe_offset; in btrfs_map_discard()
6062 stripe_offset = 0; in btrfs_map_discard()
6299 u64 stripe_offset; in btrfs_get_io_geometry() local
6316 stripe_nr = div64_u64_rem(offset, stripe_len, &stripe_offset); in btrfs_get_io_geometry()
6317 ASSERT(stripe_offset < U32_MAX); in btrfs_get_io_geometry()
6323 u64 max_len = stripe_len - stripe_offset; in btrfs_get_io_geometry()
6359 io_geom->stripe_offset = stripe_offset; in btrfs_get_io_geometry()
6366 u32 stripe_index, u64 stripe_offset, u64 stripe_nr) in set_io_stripe() argument
6370 stripe_offset + stripe_nr * map->stripe_len; in set_io_stripe()
6381 u64 stripe_offset; in __btrfs_map_block() local
6416 stripe_offset = geom.stripe_offset; in __btrfs_map_block()
6504 stripe_offset = 0; in __btrfs_map_block()
6563 set_io_stripe(smap, map, stripe_index, stripe_offset, in __btrfs_map_block()
6579 set_io_stripe(&bioc->stripes[i], map, stripe_index, stripe_offset, in __btrfs_map_block()