Home
last modified time | relevance | path

Searched refs:mirror_num (Results 1 – 9 of 9) sorted by relevance

/linux-2.6.39/fs/btrfs/
Dcompression.c73 int mirror_num; member
132 csum, *cb_sum, cb->mirror_num); in check_compressed_csum()
350 cb->mirror_num = 0; in btrfs_submit_compressed_write()
554 int mirror_num, unsigned long bio_flags) in btrfs_submit_compressed_read() argument
592 cb->mirror_num = mirror_num; in btrfs_submit_compressed_read()
674 mirror_num, 0); in btrfs_submit_compressed_read()
698 ret = btrfs_map_bio(root, READ, comp_bio, mirror_num, 0); in btrfs_submit_compressed_read()
Dvolumes.h187 struct btrfs_multi_bio **multi_ret, int mirror_num);
198 int mirror_num, int async_submit);
Dcompression.h49 int mirror_num, unsigned long bio_flags);
Ddisk-io.c91 int mirror_num; member
325 int mirror_num = 0; in btree_read_extent_buffer_pages() local
331 btree_get_extent, mirror_num); in btree_read_extent_buffer_pages()
349 mirror_num++; in btree_read_extent_buffer_pages()
350 if (mirror_num > num_copies) in btree_read_extent_buffer_pages()
665 async->mirror_num, async->bio_flags, in run_one_async_start()
688 async->mirror_num, async->bio_flags, in run_one_async_done()
701 int rw, struct bio *bio, int mirror_num, in btrfs_wq_submit_bio() argument
716 async->mirror_num = mirror_num; in btrfs_wq_submit_bio()
761 struct bio *bio, int mirror_num, in __btree_submit_bio_start() argument
[all …]
Ddisk-io.h90 int rw, struct bio *bio, int mirror_num,
Dextent_io.h56 struct bio *bio, int mirror_num,
271 get_extent_t *get_extent, int mirror_num);
Dvolumes.c2918 int mirror_num) in __btrfs_map_block() argument
2964 if (mirror_num > map->num_stripes) in __btrfs_map_block()
2965 mirror_num = 0; in __btrfs_map_block()
3038 else if (mirror_num) in __btrfs_map_block()
3039 stripe_index = mirror_num - 1; in __btrfs_map_block()
3049 else if (mirror_num) in __btrfs_map_block()
3050 stripe_index = mirror_num - 1; in __btrfs_map_block()
3064 else if (mirror_num) in __btrfs_map_block()
3065 stripe_index += mirror_num - 1; in __btrfs_map_block()
3189 struct btrfs_multi_bio **multi_ret, int mirror_num) in btrfs_map_block() argument
[all …]
Dextent_io.c1883 static int submit_one_bio(int rw, struct bio *bio, int mirror_num, in submit_one_bio() argument
1900 mirror_num, bio_flags, start); in submit_one_bio()
1916 int mirror_num, in submit_extent_page() argument
1941 ret = submit_one_bio(rw, bio, mirror_num, in submit_extent_page()
1964 ret = submit_one_bio(rw, bio, mirror_num, bio_flags); in submit_extent_page()
1992 struct bio **bio, int mirror_num, in __extent_read_full_page() argument
2140 end_bio_extent_readpage, mirror_num, in __extent_read_full_page()
3566 get_extent_t *get_extent, int mirror_num) in read_extent_buffer_pages() argument
3632 mirror_num, &bio_flags); in read_extent_buffer_pages()
3641 submit_one_bio(READ, bio, mirror_num, bio_flags); in read_extent_buffer_pages()
Dinode.c1419 struct bio *bio, int mirror_num, in __btrfs_submit_bio_start() argument
1440 int mirror_num, unsigned long bio_flags, in __btrfs_submit_bio_done() argument
1444 return btrfs_map_bio(root, rw, bio, mirror_num, 1); in __btrfs_submit_bio_done()
1452 int mirror_num, unsigned long bio_flags, in btrfs_submit_bio_hook() argument
1470 mirror_num, bio_flags); in btrfs_submit_bio_hook()
1483 inode, rw, bio, mirror_num, in btrfs_submit_bio_hook()
1490 return btrfs_map_bio(root, rw, bio, mirror_num, 0); in btrfs_submit_bio_hook()
5927 struct bio *bio, int mirror_num, in __btrfs_submit_bio_start_direct_io() argument