Lines Matching refs:FDEV

1526 		blkdev_put(FDEV(i).bdev, FMODE_EXCL);  in destroy_device_list()
1528 kvfree(FDEV(i).blkz_seq); in destroy_device_list()
3060 devs[i] = FDEV(i).bdev; in f2fs_get_devices()
3706 struct block_device *bdev = FDEV(devi).bdev; in init_blkz_info()
3729 FDEV(devi).nr_blkz = SECTOR_TO_BLOCK(nr_sectors) >> in init_blkz_info()
3732 FDEV(devi).nr_blkz++; in init_blkz_info()
3734 FDEV(devi).blkz_seq = f2fs_kvzalloc(sbi, in init_blkz_info()
3735 BITS_TO_LONGS(FDEV(devi).nr_blkz) in init_blkz_info()
3738 if (!FDEV(devi).blkz_seq) in init_blkz_info()
3742 rep_zone_arg.dev = &FDEV(devi); in init_blkz_info()
3946 FDEV(0).bdev = in f2fs_scan_devices()
3951 memcpy(FDEV(i).path, RDEV(i).path, MAX_PATH_LEN); in f2fs_scan_devices()
3952 FDEV(i).total_segments = in f2fs_scan_devices()
3955 FDEV(i).start_blk = 0; in f2fs_scan_devices()
3956 FDEV(i).end_blk = FDEV(i).start_blk + in f2fs_scan_devices()
3957 (FDEV(i).total_segments << in f2fs_scan_devices()
3961 FDEV(i).start_blk = FDEV(i - 1).end_blk + 1; in f2fs_scan_devices()
3962 FDEV(i).end_blk = FDEV(i).start_blk + in f2fs_scan_devices()
3963 (FDEV(i).total_segments << in f2fs_scan_devices()
3966 FDEV(i).bdev = blkdev_get_by_path(FDEV(i).path, in f2fs_scan_devices()
3969 if (IS_ERR(FDEV(i).bdev)) in f2fs_scan_devices()
3970 return PTR_ERR(FDEV(i).bdev); in f2fs_scan_devices()
3975 if (logical_blksize != bdev_logical_block_size(FDEV(i).bdev)) in f2fs_scan_devices()
3979 if (bdev_zoned_model(FDEV(i).bdev) == BLK_ZONED_HM && in f2fs_scan_devices()
3984 if (bdev_zoned_model(FDEV(i).bdev) != BLK_ZONED_NONE) { in f2fs_scan_devices()
3992 i, FDEV(i).path, in f2fs_scan_devices()
3993 FDEV(i).total_segments, in f2fs_scan_devices()
3994 FDEV(i).start_blk, FDEV(i).end_blk, in f2fs_scan_devices()
3995 bdev_zoned_model(FDEV(i).bdev) == BLK_ZONED_HA ? in f2fs_scan_devices()
4001 i, FDEV(i).path, in f2fs_scan_devices()
4002 FDEV(i).total_segments, in f2fs_scan_devices()
4003 FDEV(i).start_blk, FDEV(i).end_blk); in f2fs_scan_devices()