Lines Matching refs:bdev
97 static struct bio *compressed_bio_alloc(struct block_device *bdev, in compressed_bio_alloc() argument
102 nr_vecs = bio_get_nr_vecs(bdev); in compressed_bio_alloc()
103 return btrfs_bio_alloc(bdev, first_byte >> 9, nr_vecs, gfp_flags); in compressed_bio_alloc()
343 struct block_device *bdev; in btrfs_submit_compressed_write() local
362 bdev = BTRFS_I(inode)->root->fs_info->fs_devices->latest_bdev; in btrfs_submit_compressed_write()
364 bio = compressed_bio_alloc(bdev, first_byte, GFP_NOFS); in btrfs_submit_compressed_write()
412 bio = compressed_bio_alloc(bdev, first_byte, GFP_NOFS); in btrfs_submit_compressed_write()
579 struct block_device *bdev; in btrfs_submit_compressed_read() local
630 bdev = BTRFS_I(inode)->root->fs_info->fs_devices->latest_bdev; in btrfs_submit_compressed_read()
654 comp_bio = compressed_bio_alloc(bdev, cur_disk_byte, GFP_NOFS); in btrfs_submit_compressed_read()
705 comp_bio = compressed_bio_alloc(bdev, cur_disk_byte, in btrfs_submit_compressed_read()