Searched refs:stripe_offset (Results 1 – 4 of 4) 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()
3752 u64 stripe_offset; in chunk_drange_filter() local3769 stripe_offset = btrfs_stripe_offset(leaf, stripe); in chunk_drange_filter()3773 if (stripe_offset < bargs->pend && in chunk_drange_filter()3774 stripe_offset + stripe_length > bargs->pstart) in chunk_drange_filter()5988 u64 stripe_offset; in btrfs_map_discard() local6021 stripe_offset = offset - btrfs_stripe_nr_to_offset(stripe_nr); in btrfs_map_discard()6069 stripe_offset + btrfs_stripe_nr_to_offset(stripe_nr); in btrfs_map_discard()6088 stripes[i].length -= stripe_offset; in btrfs_map_discard()6096 stripe_offset = 0; in btrfs_map_discard()6210 u64 offset, u32 *stripe_nr, u64 *stripe_offset, in btrfs_max_io_len() argument[all …]
180 BTRFS_SETGET_FUNCS(stripe_offset, struct btrfs_stripe, offset, 64);