Home
last modified time | relevance | path

Searched refs:fbio (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/fs/btrfs/
Dbio.c166 static int next_repair_mirror(struct btrfs_failed_bio *fbio, int cur_mirror) in next_repair_mirror() argument
168 if (cur_mirror == fbio->num_copies) in next_repair_mirror()
169 return cur_mirror + 1 - fbio->num_copies; in next_repair_mirror()
173 static int prev_repair_mirror(struct btrfs_failed_bio *fbio, int cur_mirror) in prev_repair_mirror() argument
176 return fbio->num_copies; in prev_repair_mirror()
180 static void btrfs_repair_done(struct btrfs_failed_bio *fbio) in btrfs_repair_done() argument
182 if (atomic_dec_and_test(&fbio->repair_count)) { in btrfs_repair_done()
183 btrfs_orig_bbio_end_io(fbio->bbio); in btrfs_repair_done()
184 mempool_free(fbio, &btrfs_failed_bio_pool); in btrfs_repair_done()
191 struct btrfs_failed_bio *fbio = repair_bbio->private; in btrfs_end_repair_bio() local
[all …]
/Linux-v6.6/usr/include/
DMakefile74 no-header-test += asm/fbio.h
/Linux-v6.6/drivers/md/
Draid10.c2407 struct bio *tbio, *fbio; in sync_request_write() local
2422 fbio = r10_bio->devs[i].bio; in sync_request_write()
2423 fbio->bi_iter.bi_size = r10_bio->sectors << 9; in sync_request_write()
2424 fbio->bi_iter.bi_idx = 0; in sync_request_write()
2425 fpages = get_resync_pages(fbio)->pages; in sync_request_write()
2479 md_bio_reset_resync_pages(tbio, rp, fbio->bi_iter.bi_size); in sync_request_write()
2486 bio_copy_data(tbio, fbio); in sync_request_write()
2508 && r10_bio->devs[i].bio != fbio) in sync_request_write()
2509 bio_copy_data(tbio, fbio); in sync_request_write()