Lines Matching refs:sector_ptr
63 struct sector_ptr { struct
604 static struct sector_ptr *rbio_stripe_sector(const struct btrfs_raid_bio *rbio, in rbio_stripe_sector()
613 static struct sector_ptr *rbio_pstripe_sector(const struct btrfs_raid_bio *rbio, in rbio_pstripe_sector()
620 static struct sector_ptr *rbio_qstripe_sector(const struct btrfs_raid_bio *rbio, in rbio_qstripe_sector()
871 static struct sector_ptr *sector_in_rbio(struct btrfs_raid_bio *rbio, in sector_in_rbio()
875 struct sector_ptr *sector; in sector_in_rbio()
926 rbio->bio_sectors = kcalloc(num_sectors, sizeof(struct sector_ptr), in alloc_rbio()
928 rbio->stripe_sectors = kcalloc(num_sectors, sizeof(struct sector_ptr), in alloc_rbio()
1037 struct sector_ptr *sector, in rbio_add_io_sector()
1120 struct sector_ptr *sector = &rbio->bio_sectors[index]; in index_one_bio()
1189 struct sector_ptr *sector; in generate_pq_vertical()
1252 struct sector_ptr *sector; in rmw_assemble_write_bios()
1287 struct sector_ptr *sector; in rmw_assemble_write_bios()
1370 static struct sector_ptr *find_stripe_sector(struct btrfs_raid_bio *rbio, in find_stripe_sector()
1377 struct sector_ptr *sector = &rbio->stripe_sectors[i]; in find_stripe_sector()
1398 struct sector_ptr *sector; in set_bio_pages_uptodate()
1417 struct sector_ptr *sector; in get_bio_sector_nr()
1682 struct sector_ptr *sector; in verify_one_sector()
1722 struct sector_ptr *sector; in recover_vertical()
1945 struct sector_ptr *sector; in recover_rbio()
2152 struct sector_ptr *sector; in rmw_read_wait_recover()
2213 struct sector_ptr *sector = &rbio->stripe_sectors[i]; in need_read_stripe_sectors()
2410 struct sector_ptr p_sector = { 0 }; in finish_parity_scrub()
2411 struct sector_ptr q_sector = { 0 }; in finish_parity_scrub()
2466 struct sector_ptr *sector; in finish_parity_scrub()
2515 struct sector_ptr *sector; in finish_parity_scrub()
2533 struct sector_ptr *sector; in finish_parity_scrub()
2654 struct sector_ptr *sector; in scrub_assemble_read_bios()