Home
last modified time | relevance | path

Searched refs:stripe_offset (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/kernel/fs/nfs/filelayout/
H A Dfilelayout.c798 u32 stripe_offset; in filelayout_pg_test() local
821 &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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dvolumes.c3496 u64 stripe_offset; in chunk_drange_filter() local
3513 stripe_offset = btrfs_stripe_offset(leaf, stripe); in chunk_drange_filter()
3517 if (stripe_offset < bargs->pend && in chunk_drange_filter()
3518 stripe_offset + stripe_length > bargs->pstart) in chunk_drange_filter()
5651 u64 stripe_offset; in __btrfs_map_block_for_discard() local
5688 stripe_offset = offset - stripe_nr * stripe_len; in __btrfs_map_block_for_discard()
5735 stripe_offset + stripe_nr * map->stripe_len; in __btrfs_map_block_for_discard()
5757 stripe_offset; in __btrfs_map_block_for_discard()
5766 stripe_offset = 0; in __btrfs_map_block_for_discard()
5982 u64 stripe_offset; in btrfs_get_io_geometry() 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()
2322 int stripe_offset; in raid56_add_scrub_pages() local
2328 stripe_offset = (int)(logical - rbio->bbio->raid_map[0]); in raid56_add_scrub_pages()
2329 index = stripe_offset >> PAGE_SHIFT; in raid56_add_scrub_pages()
H A Dvolumes.h30 u64 stripe_offset; member
H A Dscrub.c1240 u64 *stripe_offset) in scrub_stripe_index_and_offset() argument
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()
H A Dctree.h1594 BTRFS_SETGET_FUNCS(stripe_offset, struct btrfs_stripe, offset, 64);