Home
last modified time | relevance | path

Searched refs:stripe_offset (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/bcache/
H A Dwriteback.c555 unsigned int stripe_offset, sectors_dirty; in bcache_dev_sectors_dirty_add() local
568 stripe_offset = offset & (d->stripe_size - 1); in bcache_dev_sectors_dirty_add()
572 d->stripe_size - stripe_offset); in bcache_dev_sectors_dirty_add()
588 stripe_offset = 0; in bcache_dev_sectors_dirty_add()
/kernel/linux/linux-6.6/drivers/md/bcache/
H A Dwriteback.c600 unsigned int stripe_offset, sectors_dirty; in bcache_dev_sectors_dirty_add() local
613 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()
/kernel/linux/linux-5.10/fs/nfs/filelayout/
H A Dfilelayout.c804 u32 stripe_offset; in filelayout_pg_test() local
829 &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()
/kernel/linux/linux-6.6/fs/nfs/filelayout/
H A Dfilelayout.c804 u32 stripe_offset; in filelayout_pg_test() local
829 &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()
/kernel/linux/linux-5.10/fs/btrfs/
H A Dvolumes.c3533 u64 stripe_offset; in chunk_drange_filter() local
3550 stripe_offset = btrfs_stripe_offset(leaf, stripe); in chunk_drange_filter()
3554 if (stripe_offset < bargs->pend && in chunk_drange_filter()
3555 stripe_offset + stripe_length > bargs->pstart) in chunk_drange_filter()
5687 u64 stripe_offset; in __btrfs_map_block_for_discard() local
5723 /* stripe_offset is the offset of this block in its stripe */ in __btrfs_map_block_for_discard()
5724 stripe_offset = offset - stripe_nr * stripe_len; in __btrfs_map_block_for_discard()
5771 stripe_offset + stripe_nr * map->stripe_len; in __btrfs_map_block_for_discard()
5793 stripe_offset; in __btrfs_map_block_for_discard()
5802 stripe_offset in __btrfs_map_block_for_discard()
6018 u64 stripe_offset; btrfs_get_io_geometry() local
6106 u64 stripe_offset; __btrfs_map_block() local
[all...]
H A Draid56.c1166 unsigned long stripe_offset; in index_rbio_pages() local
1176 stripe_offset = start - rbio->bbio->raid_map[0]; in index_rbio_pages()
1177 page_index = stripe_offset >> PAGE_SHIFT; in index_rbio_pages()
2323 int stripe_offset; in raid56_add_scrub_pages() local
2329 stripe_offset = (int)(logical - rbio->bbio->raid_map[0]); in raid56_add_scrub_pages()
2330 index = stripe_offset >> PAGE_SHIFT; in raid56_add_scrub_pages()
H A Dscrub.c1240 u64 *stripe_offset) in scrub_stripe_index_and_offset()
1257 *stripe_offset = logical - raid_map[i]; in scrub_stripe_index_and_offset()
1261 *stripe_offset = 0; in scrub_stripe_index_and_offset()
1279 u64 stripe_offset; in scrub_setup_recheck_block() local
1362 &stripe_offset); in scrub_setup_recheck_block()
1364 stripe_offset; in scrub_setup_recheck_block()
1235 scrub_stripe_index_and_offset(u64 logical, u64 map_type, u64 *raid_map, u64 mapped_length, int nstripes, int mirror, int *stripe_index, u64 *stripe_offset) scrub_stripe_index_and_offset() argument
H A Dvolumes.h30 u64 stripe_offset; member
H A Dctree.h1592 BTRFS_SETGET_FUNCS(stripe_offset, struct btrfs_stripe, offset, 64);
/kernel/linux/linux-6.6/fs/btrfs/
H A Dvolumes.c3702 u64 stripe_offset; in chunk_drange_filter() local
3719 stripe_offset = btrfs_stripe_offset(leaf, stripe); in chunk_drange_filter()
3723 if (stripe_offset < bargs->pend && in chunk_drange_filter()
3724 stripe_offset + stripe_length > bargs->pstart) in chunk_drange_filter()
5938 u64 stripe_offset; in btrfs_map_discard() local
5970 /* stripe_offset is the offset of this block in its stripe */ in btrfs_map_discard()
5971 stripe_offset = offset - btrfs_stripe_nr_to_offset(stripe_nr); in btrfs_map_discard()
6019 stripe_offset + btrfs_stripe_nr_to_offset(stripe_nr); in btrfs_map_discard()
6038 stripes[i].length -= stripe_offset; in btrfs_map_discard()
6046 stripe_offset in btrfs_map_discard()
6159 btrfs_max_io_len(struct map_lookup *map, enum btrfs_map_op op, u64 offset, u32 *stripe_nr, u64 *stripe_offset, u64 *full_stripe_start) btrfs_max_io_len() argument
6207 set_io_stripe(struct btrfs_io_stripe *dst, const struct map_lookup *map, u32 stripe_index, u64 stripe_offset, u32 stripe_nr) set_io_stripe() argument
6263 u64 stripe_offset; btrfs_map_block() local
[all...]
H A Daccessors.h180 BTRFS_SETGET_FUNCS(stripe_offset, struct btrfs_stripe, offset, 64);

Completed in 45 milliseconds