Searched refs:copy_num (Results 1 – 3 of 3) sorted by relevance
61 int btrfs_read_dev_one_super(struct block_device *bdev, int copy_num,
7227 int copy_num; in btrfs_scratch_superblocks() local7232 for (copy_num = 0; copy_num < BTRFS_SUPER_MIRROR_MAX; in btrfs_scratch_superblocks()7233 copy_num++) { in btrfs_scratch_superblocks()7235 if (btrfs_read_dev_one_super(bdev, copy_num, &bh)) in btrfs_scratch_superblocks()
3385 int btrfs_read_dev_one_super(struct block_device *bdev, int copy_num, in btrfs_read_dev_one_super() argument3392 bytenr = btrfs_sb_offset(copy_num); in btrfs_read_dev_one_super()