Searched refs:stripe_offset (Results 1 – 7 of 7) 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()
600 unsigned int stripe_offset, sectors_dirty; in bcache_dev_sectors_dirty_add() local613 stripe_offset = offset & (d->stripe_size - 1); in bcache_dev_sectors_dirty_add()617 d->stripe_size - stripe_offset); in bcache_dev_sectors_dirty_add()636 stripe_offset = 0; in bcache_dev_sectors_dirty_add()
3690 u64 stripe_offset; in chunk_drange_filter() local3707 stripe_offset = btrfs_stripe_offset(leaf, stripe); in chunk_drange_filter()3711 if (stripe_offset < bargs->pend && in chunk_drange_filter()3712 stripe_offset + stripe_length > bargs->pstart) in chunk_drange_filter()5963 u64 stripe_offset; in btrfs_map_discard() local5997 stripe_offset = offset - stripe_nr * stripe_len; in btrfs_map_discard()6044 stripe_offset + stripe_nr * map->stripe_len; in btrfs_map_discard()6063 stripes[i].length -= stripe_offset; in btrfs_map_discard()6071 stripe_offset = 0; in btrfs_map_discard()6308 u64 stripe_offset; in btrfs_get_io_geometry() local[all …]
62 u32 stripe_offset; member
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()
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()
1917 BTRFS_SETGET_FUNCS(stripe_offset, struct btrfs_stripe, offset, 64);