Searched refs:stripe_nr (Results 1 - 7 of 7) sorted by relevance
/linux-master/fs/btrfs/ |
H A D | raid56.c | 593 unsigned int stripe_nr, 596 ASSERT(stripe_nr < rbio->real_stripes); 599 return stripe_nr * rbio->stripe_nsectors + sector_nr; 604 unsigned int stripe_nr, 607 return &rbio->stripe_sectors[rbio_stripe_sector_index(rbio, stripe_nr, 859 * Get a sector pointer specified by its @stripe_nr and @sector_nr. 862 * @stripe_nr: Stripe number, valid range [0, real_stripe) 871 int stripe_nr, int sector_nr, 877 ASSERT(stripe_nr >= 0 && stripe_nr < rbi 592 rbio_stripe_sector_index(const struct btrfs_raid_bio *rbio, unsigned int stripe_nr, unsigned int sector_nr) argument 603 rbio_stripe_sector(const struct btrfs_raid_bio *rbio, unsigned int stripe_nr, unsigned int sector_nr) argument 870 sector_in_rbio(struct btrfs_raid_bio *rbio, int stripe_nr, int sector_nr, bool bio_list_only) argument 1006 int stripe_nr; local 1042 rbio_add_io_sector(struct btrfs_raid_bio *rbio, struct bio_list *bio_list, struct sector_ptr *sector, unsigned int stripe_nr, unsigned int sector_nr, enum req_op op) argument 1380 int stripe_nr; local 1705 verify_one_sector(struct btrfs_raid_bio *rbio, int stripe_nr, int sector_nr) argument 1754 int stripe_nr; local [all...] |
H A D | raid56.h | 173 u8 stripe_nr; member in struct:raid56_bio_trace_info
|
H A D | volumes.c | 44 u32 stripe_nr; member in struct:btrfs_io_geometry 6156 u32 stripe_nr; local 6185 * stripe_nr counts the total number of stripes we have to stride 6188 stripe_nr = offset >> BTRFS_STRIPE_LEN_SHIFT; 6191 stripe_offset = offset - btrfs_stripe_nr_to_offset(stripe_nr); 6195 stripe_cnt = stripe_nr_end - stripe_nr; 6199 * after this, stripe_nr is the number of stripes on this 6215 stripe_index = stripe_nr % factor; 6216 stripe_nr /= factor; 6226 stripe_index = stripe_nr [all...] |
H A D | volumes.h | 653 * Do the type safe conversion from stripe_nr to offset inside the chunk. 655 * @stripe_nr is u32, with left shift it can overflow u32 for chunks larger 658 static inline u64 btrfs_stripe_nr_to_offset(u32 stripe_nr) argument 660 return (u64)stripe_nr << BTRFS_STRIPE_LEN_SHIFT;
|
H A D | block-group.c | 2094 u32 stripe_nr; local 2102 stripe_nr = (physical - map->stripes[i].physical) >> 2109 stripe_nr = div_u64(stripe_nr * map->num_stripes + i, 2116 bytenr = chunk_start + stripe_nr * io_stripe_size + offset;
|
H A D | scrub.c | 1306 u32 stripe_nr; local 1312 stripe_nr = (u32)(*offset >> BTRFS_STRIPE_LEN_SHIFT) / data_stripes; 1315 rot = stripe_nr % map->num_stripes;
|
/linux-master/include/trace/events/ |
H A D | btrfs.h | 2430 __field( u8, stripe_nr ) 2440 __entry->stripe_nr = trace_info->stripe_nr; 2453 (__entry->stripe_nr < __entry->nr_data) ? "DATA" : 2454 ((__entry->stripe_nr < __entry->real_stripes) ? "PQ" : 2456 (__entry->stripe_nr < __entry->nr_data) ? 2457 (__entry->stripe_nr + 1) : 2458 ((__entry->stripe_nr < __entry->real_stripes) ? 2459 (__entry->stripe_nr - __entry->nr_data + 1) : 0),
|
Completed in 252 milliseconds