Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/btrfs/
Dvolumes.c5647 u64 stripe_nr; in __btrfs_map_block_for_discard() local
5686 stripe_nr = div64_u64(offset, stripe_len); in __btrfs_map_block_for_discard()
5689 stripe_offset = offset - stripe_nr * stripe_len; in __btrfs_map_block_for_discard()
5693 stripe_cnt = stripe_nr_end - stripe_nr; in __btrfs_map_block_for_discard()
5713 stripe_nr = div_u64_rem(stripe_nr, factor, &stripe_index); in __btrfs_map_block_for_discard()
5723 stripe_nr = div_u64_rem(stripe_nr, map->num_stripes, in __btrfs_map_block_for_discard()
5736 stripe_offset + stripe_nr * map->stripe_len; in __btrfs_map_block_for_discard()
5775 stripe_nr++; in __btrfs_map_block_for_discard()
5984 u64 stripe_nr; in btrfs_get_io_geometry() local
6002 stripe_nr = div64_u64(offset, stripe_len); in btrfs_get_io_geometry()
[all …]
Dblock-group.c1690 u64 stripe_nr; in btrfs_rmap_block() local
1697 stripe_nr = physical - map->stripes[i].physical; in btrfs_rmap_block()
1698 stripe_nr = div64_u64(stripe_nr, map->stripe_len); in btrfs_rmap_block()
1701 stripe_nr = stripe_nr * map->num_stripes + i; in btrfs_rmap_block()
1702 stripe_nr = div_u64(stripe_nr, map->sub_stripes); in btrfs_rmap_block()
1704 stripe_nr = stripe_nr * map->num_stripes + i; in btrfs_rmap_block()
1712 bytenr = chunk_start + stripe_nr * io_stripe_size; in btrfs_rmap_block()
Dvolumes.h28 u64 stripe_nr; member
Dscrub.c2601 u64 stripe_nr; in get_raid56_logic_offset() local
2615 stripe_nr = div64_u64(*offset, map->stripe_len); in get_raid56_logic_offset()
2616 stripe_nr = div_u64(stripe_nr, data_stripes); in get_raid56_logic_offset()
2619 stripe_nr = div_u64_rem(stripe_nr, map->num_stripes, &rot); in get_raid56_logic_offset()
Draid56.c1090 int stripe_nr, in rbio_add_io_page() argument
1100 stripe = &rbio->bbio->stripes[stripe_nr]; in rbio_add_io_page()
1105 return fail_rbio_index(rbio, stripe_nr); in rbio_add_io_page()