Searched refs:stripe_offset (Results 1 – 4 of 4) sorted by relevance
796 u32 stripe_offset; in filelayout_pg_test() local821 &stripe_offset); in filelayout_pg_test()822 WARN_ON_ONCE(stripe_offset > stripe_unit); in filelayout_pg_test()823 if (stripe_offset >= stripe_unit) in filelayout_pg_test()825 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()
47 u64 stripe_offset; member3852 u64 stripe_offset; in chunk_drange_filter() local3869 stripe_offset = btrfs_stripe_offset(leaf, stripe); in chunk_drange_filter()3873 if (stripe_offset < bargs->pend && in chunk_drange_filter()3874 stripe_offset + stripe_length > bargs->pstart) in chunk_drange_filter()5979 u64 stripe_offset; in btrfs_map_discard() local6010 stripe_offset = offset - btrfs_stripe_nr_to_offset(stripe_nr); in btrfs_map_discard()6058 stripe_offset + btrfs_stripe_nr_to_offset(stripe_nr); in btrfs_map_discard()6077 stripes[i].length -= stripe_offset; in btrfs_map_discard()6085 stripe_offset = 0; in btrfs_map_discard()[all …]
190 BTRFS_SETGET_FUNCS(stripe_offset, struct btrfs_stripe, offset, 64);