Lines Matching refs:bdev
385 struct block_device *bdev = sbi->sb->s_bdev; in f2fs_target_device() local
393 bdev = FDEV(i).bdev; in f2fs_target_device()
401 return bdev; in f2fs_target_device()
456 struct block_device *bdev; in __bio_alloc() local
460 bdev = f2fs_target_device(sbi, fio->new_blkaddr, §or); in __bio_alloc()
461 bio = bio_alloc_bioset(bdev, npages, in __bio_alloc()
925 struct block_device *bdev = sbi->sb->s_bdev; in is_end_zone_blkaddr() local
936 bdev = FDEV(devi).bdev; in is_end_zone_blkaddr()
938 return bdev_is_zoned(bdev) && in is_end_zone_blkaddr()
1048 struct block_device *bdev = f2fs_target_device(sbi, blkaddr, §or); in f2fs_grab_read_bio() local
1050 bio = bio_alloc_bioset(bdev, bio_max_segs(nr_pages), in f2fs_grab_read_bio()
1506 map->m_bdev = dev->bdev; in f2fs_map_blocks_cached()
1520 if (map->m_multidev_dio && map->m_bdev != FDEV(bidx).bdev) in map_is_mergeable()
1693 map->m_bdev = FDEV(bidx).bdev; in f2fs_map_blocks()
1765 map->m_bdev = FDEV(bidx).bdev; in f2fs_map_blocks()
4220 iomap->bdev = map.m_bdev; in f2fs_iomap_begin()