Lines Matching refs:FDEV
507 ret = __submit_flush_wait(sbi, FDEV(i).bdev); in submit_flush_wait()
689 ret = __submit_flush_wait(sbi, FDEV(i).bdev); in f2fs_flush_device_cache()
1358 blkstart -= FDEV(devi).start_blk; in __queue_discard_cmd()
1737 if (blkstart < FDEV(devi).start_blk || in __f2fs_issue_discard_zone()
1738 blkstart > FDEV(devi).end_blk) { in __f2fs_issue_discard_zone()
1742 blkstart -= FDEV(devi).start_blk; in __f2fs_issue_discard_zone()
1753 devi, sbi->s_ndevs ? FDEV(devi).path : "", in __f2fs_issue_discard_zone()
3320 unsigned int blks = FDEV(devidx).end_blk - blkaddr + 1; in f2fs_update_device_state()
4752 if (!bdev_is_zoned(FDEV(i).bdev)) in get_target_zoned_dev()
4754 if (sbi->s_ndevs == 1 || (FDEV(i).start_blk <= zone_blkaddr && in get_target_zoned_dev()
4755 zone_blkaddr <= FDEV(i).end_blk)) in get_target_zoned_dev()
4756 return &FDEV(i); in get_target_zoned_dev()
4896 if (!bdev_is_zoned(FDEV(i).bdev)) in f2fs_check_write_pointer()
4900 args.fdev = &FDEV(i); in f2fs_check_write_pointer()
4901 ret = blkdev_report_zones(FDEV(i).bdev, 0, BLK_ALL_ZONES, in f2fs_check_write_pointer()
4913 if (!bdev_is_zoned(FDEV(dev_idx).bdev)) in is_conv_zone()
4915 return !test_bit(zone_idx, FDEV(dev_idx).blkz_seq); in is_conv_zone()
4924 return (sec_start_blkaddr - FDEV(dev_idx).start_blk) >> in get_zone_idx()