Home
last modified time | relevance | path

Searched refs:stripe_nr (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/fs/btrfs/
Dvolumes.c5291 u64 stripe_nr; in __btrfs_map_block_for_discard() local
5329 stripe_nr = div64_u64(offset, stripe_len); in __btrfs_map_block_for_discard()
5332 stripe_offset = offset - stripe_nr * stripe_len; in __btrfs_map_block_for_discard()
5336 stripe_cnt = stripe_nr_end - stripe_nr; in __btrfs_map_block_for_discard()
5356 stripe_nr = div_u64_rem(stripe_nr, factor, &stripe_index); in __btrfs_map_block_for_discard()
5366 stripe_nr = div_u64_rem(stripe_nr, map->num_stripes, in __btrfs_map_block_for_discard()
5379 stripe_offset + stripe_nr * map->stripe_len; in __btrfs_map_block_for_discard()
5418 stripe_nr++; in __btrfs_map_block_for_discard()
5616 u64 stripe_nr; in __btrfs_map_block() local
5644 stripe_nr = offset; in __btrfs_map_block()
[all …]
Dscrub.c2648 u64 stripe_nr; in get_raid56_logic_offset() local
2662 stripe_nr = div64_u64(*offset, map->stripe_len); in get_raid56_logic_offset()
2663 stripe_nr = div_u64(stripe_nr, nr_data_stripes(map)); in get_raid56_logic_offset()
2666 stripe_nr = div_u64_rem(stripe_nr, map->num_stripes, &rot); in get_raid56_logic_offset()
Draid56.c1069 int stripe_nr, in rbio_add_io_page() argument
1080 stripe = &rbio->bbio->stripes[stripe_nr]; in rbio_add_io_page()
1085 return fail_rbio_index(rbio, stripe_nr); in rbio_add_io_page()