Searched refs:stripe_offset (Results 1 – 5 of 5) sorted by relevance
858 u32 stripe_offset; in filelayout_pg_test() local883 &stripe_offset); in filelayout_pg_test()884 WARN_ON_ONCE(stripe_offset > stripe_unit); in filelayout_pg_test()885 if (stripe_offset >= stripe_unit) in filelayout_pg_test()887 return min(stripe_unit - (unsigned int)stripe_offset, size); in filelayout_pg_test()
1155 unsigned long stripe_offset; in index_rbio_pages() local1165 stripe_offset = start - rbio->bbio->raid_map[0]; in index_rbio_pages()1166 page_index = stripe_offset >> PAGE_SHIFT; in index_rbio_pages()2334 int stripe_offset; in raid56_add_scrub_pages() local2340 stripe_offset = (int)(logical - rbio->bbio->raid_map[0]); in raid56_add_scrub_pages()2341 index = stripe_offset >> PAGE_SHIFT; in raid56_add_scrub_pages()
3294 u64 stripe_offset; in chunk_drange_filter() local3318 stripe_offset = btrfs_stripe_offset(leaf, stripe); in chunk_drange_filter()3322 if (stripe_offset < bargs->pend && in chunk_drange_filter()3323 stripe_offset + stripe_length > bargs->pstart) in chunk_drange_filter()5331 u64 stripe_offset; in __btrfs_map_block_for_discard() local5367 stripe_offset = offset - stripe_nr * stripe_len; in __btrfs_map_block_for_discard()5414 stripe_offset + stripe_nr * map->stripe_len; in __btrfs_map_block_for_discard()5436 stripe_offset; in __btrfs_map_block_for_discard()5445 stripe_offset = 0; in __btrfs_map_block_for_discard()5650 u64 stripe_offset; in __btrfs_map_block() local[all …]
1234 u64 *stripe_offset) in scrub_stripe_index_and_offset() argument1251 *stripe_offset = logical - raid_map[i]; in scrub_stripe_index_and_offset()1255 *stripe_offset = 0; in scrub_stripe_index_and_offset()1273 u64 stripe_offset; in scrub_setup_recheck_block() local1356 &stripe_offset); in scrub_setup_recheck_block()1358 stripe_offset; in scrub_setup_recheck_block()
1661 BTRFS_SETGET_FUNCS(stripe_offset, struct btrfs_stripe, offset, 64);