Searched refs:stripe_offset (Results 1 – 6 of 6) sorted by relevance
804 u32 stripe_offset; in filelayout_pg_test() local829 &stripe_offset); in filelayout_pg_test()830 WARN_ON_ONCE(stripe_offset > stripe_unit); in filelayout_pg_test()831 if (stripe_offset >= stripe_unit) in filelayout_pg_test()833 return min(stripe_unit - (unsigned int)stripe_offset, size); in filelayout_pg_test()
3733 u64 stripe_offset; in chunk_drange_filter() local3750 stripe_offset = btrfs_stripe_offset(leaf, stripe); in chunk_drange_filter()3754 if (stripe_offset < bargs->pend && in chunk_drange_filter()3755 stripe_offset + stripe_length > bargs->pstart) in chunk_drange_filter()5999 u64 stripe_offset; in btrfs_map_discard() local6033 stripe_offset = offset - stripe_nr * stripe_len; in btrfs_map_discard()6080 stripe_offset + stripe_nr * map->stripe_len; in btrfs_map_discard()6099 stripes[i].length -= stripe_offset; in btrfs_map_discard()6107 stripe_offset = 0; in btrfs_map_discard()6344 u64 stripe_offset; in btrfs_get_io_geometry() local[all …]
1419 u64 *stripe_offset) in scrub_stripe_index_and_offset() argument1436 *stripe_offset = logical - raid_map[i]; in scrub_stripe_index_and_offset()1440 *stripe_offset = 0; in scrub_stripe_index_and_offset()1458 u64 stripe_offset; in scrub_setup_recheck_block() local1529 &stripe_offset); in scrub_setup_recheck_block()1537 stripe_offset; in scrub_setup_recheck_block()
62 u32 stripe_offset; member
2321 int stripe_offset; in raid56_add_scrub_pages() local2327 stripe_offset = (int)(logical - rbio->bioc->raid_map[0]); in raid56_add_scrub_pages()2328 index = stripe_offset / sectorsize; in raid56_add_scrub_pages()
1916 BTRFS_SETGET_FUNCS(stripe_offset, struct btrfs_stripe, offset, 64);