Searched refs:stripe_nr (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/fs/btrfs/ |
D | raid56.c | 555 unsigned int stripe_nr, in rbio_stripe_sector_index() argument 558 ASSERT(stripe_nr < rbio->real_stripes); in rbio_stripe_sector_index() 561 return stripe_nr * rbio->stripe_nsectors + sector_nr; in rbio_stripe_sector_index() 566 unsigned int stripe_nr, in rbio_stripe_sector() argument 569 return &rbio->stripe_sectors[rbio_stripe_sector_index(rbio, stripe_nr, in rbio_stripe_sector() 882 int stripe_nr, int sector_nr, in sector_in_rbio() argument 888 ASSERT(stripe_nr >= 0 && stripe_nr < rbio->real_stripes); in sector_in_rbio() 891 index = stripe_nr * rbio->stripe_nsectors + sector_nr; in sector_in_rbio() 1017 unsigned int stripe_nr, in rbio_add_io_sector() argument 1033 ASSERT(stripe_nr >= 0 && stripe_nr < rbio->bioc->num_stripes); in rbio_add_io_sector() [all …]
|
D | raid56.h | 150 u8 stripe_nr; member
|
D | volumes.c | 5958 u64 stripe_nr; in btrfs_map_discard() local 5994 stripe_nr = div64_u64(offset, stripe_len); in btrfs_map_discard() 5997 stripe_offset = offset - stripe_nr * stripe_len; in btrfs_map_discard() 6001 stripe_cnt = stripe_nr_end - stripe_nr; in btrfs_map_discard() 6021 stripe_nr = div_u64_rem(stripe_nr, factor, &stripe_index); in btrfs_map_discard() 6031 stripe_nr = div_u64_rem(stripe_nr, map->num_stripes, in btrfs_map_discard() 6044 stripe_offset + stripe_nr * map->stripe_len; in btrfs_map_discard() 6079 stripe_nr++; in btrfs_map_discard() 6309 u64 stripe_nr; in btrfs_get_io_geometry() local 6325 stripe_nr = div64_u64_rem(offset, stripe_len, &stripe_offset); in btrfs_get_io_geometry() [all …]
|
D | block-group.c | 1792 u64 stripe_nr; in btrfs_rmap_block() local 1803 stripe_nr = physical - map->stripes[i].physical; in btrfs_rmap_block() 1804 stripe_nr = div64_u64_rem(stripe_nr, map->stripe_len, &offset); in btrfs_rmap_block() 1808 stripe_nr = stripe_nr * map->num_stripes + i; in btrfs_rmap_block() 1809 stripe_nr = div_u64(stripe_nr, map->sub_stripes); in btrfs_rmap_block() 1817 bytenr = chunk_start + stripe_nr * io_stripe_size + offset; in btrfs_rmap_block()
|
D | volumes.h | 64 u64 stripe_nr; member
|
D | scrub.c | 2863 u64 stripe_nr; in get_raid56_logic_offset() local 2877 stripe_nr = div64_u64(*offset, map->stripe_len); in get_raid56_logic_offset() 2878 stripe_nr = div_u64(stripe_nr, data_stripes); in get_raid56_logic_offset() 2881 stripe_nr = div_u64_rem(stripe_nr, map->num_stripes, &rot); in get_raid56_logic_offset()
|
/linux-6.1.9/include/trace/events/ |
D | btrfs.h | 2343 __field( u8, stripe_nr ) 2353 __entry->stripe_nr = trace_info->stripe_nr; 2366 (__entry->stripe_nr < __entry->nr_data) ? "DATA" : 2367 ((__entry->stripe_nr < __entry->real_stripes) ? "PQ" : 2369 (__entry->stripe_nr < __entry->nr_data) ? 2370 (__entry->stripe_nr + 1) : 2371 ((__entry->stripe_nr < __entry->real_stripes) ? 2372 (__entry->stripe_nr - __entry->nr_data + 1) : 0),
|