Searched refs:s_ndevs (Results 1 – 7 of 7) sorted by relevance
2074 int last_dev = sbi->s_ndevs - 1; in update_sb_metadata()2100 int last_dev = sbi->s_ndevs - 1; in update_fs_metadata()2127 int last_dev = sbi->s_ndevs - 1; in f2fs_resize_fs()
1729 int s_ndevs; /* number of devices */ member1846 return sbi->s_ndevs > 1; in f2fs_is_multi_device()4445 for (i = 0; i < sbi->s_ndevs; i++) in f2fs_bdev_index()4470 for (i = 0; i < sbi->s_ndevs; i++) in f2fs_hw_support_discard()4489 for (i = 0; i < sbi->s_ndevs; i++) in f2fs_hw_is_readonly()
540 for (i = 0; i < sbi->s_ndevs; i++) { in submit_flush_wait()717 for (i = 1; i < sbi->s_ndevs; i++) { in f2fs_flush_device_cache()1967 devi, sbi->s_ndevs ? FDEV(devi).path : "", in __f2fs_issue_discard_zone()4973 for (i = 0; i < sbi->s_ndevs; i++) { in get_target_zoned_dev()4976 if (sbi->s_ndevs == 1 || (FDEV(i).start_blk <= zone_blkaddr && in get_target_zoned_dev()5116 for (i = 0; i < sbi->s_ndevs; i++) { in f2fs_check_write_pointer()
1596 for (i = 0; i < sbi->s_ndevs; i++) { in destroy_device_list()3256 devs = kmalloc_array(sbi->s_ndevs, sizeof(*devs), GFP_KERNEL); in f2fs_get_devices()3260 for (i = 0; i < sbi->s_ndevs; i++) in f2fs_get_devices()3262 *num_devs = sbi->s_ndevs; in f2fs_get_devices()4262 sbi->s_ndevs = i + 1; in f2fs_scan_devices()
1441 for (i = 0; i < sbi->s_ndevs; i++) in f2fs_get_sectors_written()
404 for (i = 0; i < sbi->s_ndevs; i++) { in f2fs_target_device()426 for (i = 0; i < sbi->s_ndevs; i++) in f2fs_target_device_index()
2983 if (!f2fs_is_multi_device(sbi) || sbi->s_ndevs - 1 <= range.dev_num || in f2fs_ioc_flush_device()2986 range.dev_num, sbi->s_ndevs, sbi->segs_per_sec); in f2fs_ioc_flush_device()