Searched refs:real_stripes (Results 1 – 3 of 3) sorted by relevance
111 int real_stripes; member635 if (rbio->nr_data + 1 == rbio->real_stripes) in rbio_qstripe_page()969 int real_stripes = bbio->num_stripes - bbio->num_tgtdevs; in alloc_rbio() local970 int num_pages = rbio_nr_pages(stripe_len, real_stripes); in alloc_rbio()977 sizeof(*rbio->finish_pointers) * real_stripes + in alloc_rbio()994 rbio->real_stripes = real_stripes; in alloc_rbio()1013 CONSUME_ALLOC(rbio->finish_pointers, real_stripes); in alloc_rbio()1019 nr_data = real_stripes - 1; in alloc_rbio()1021 nr_data = real_stripes - 2; in alloc_rbio()1129 BUG_ON(rbio->faila == rbio->real_stripes - 1); in validate_rbio_for_rmw()[all …]
316 int real_stripes; in reada_find_extent() local359 real_stripes = bbio->num_stripes - bbio->num_tgtdevs; in reada_find_extent()360 for (nzones = 0; nzones < real_stripes; ++nzones) { in reada_find_extent()
5816 static struct btrfs_bio *alloc_btrfs_bio(int total_stripes, int real_stripes) in alloc_btrfs_bio() argument5824 sizeof(int) * (real_stripes) + in alloc_btrfs_bio()5836 bbio->raid_map = (u64 *)(bbio->tgtdev_map + real_stripes); in alloc_btrfs_bio()