Searched refs:s_ndevs (Results 1 – 7 of 7) sorted by relevance
2031 int last_dev = sbi->s_ndevs - 1; in update_sb_metadata()2057 int last_dev = sbi->s_ndevs - 1; in update_fs_metadata()2083 int last_dev = sbi->s_ndevs - 1; in f2fs_resize_fs()
1525 for (i = 0; i < sbi->s_ndevs; i++) { in destroy_device_list()3055 devs = kmalloc_array(sbi->s_ndevs, sizeof(*devs), GFP_KERNEL); in f2fs_get_devices()3059 for (i = 0; i < sbi->s_ndevs; i++) in f2fs_get_devices()3061 *num_devs = sbi->s_ndevs; in f2fs_get_devices()3973 sbi->s_ndevs = i + 1; in f2fs_scan_devices()
504 for (i = 0; i < sbi->s_ndevs; i++) { in submit_flush_wait()682 for (i = 1; i < sbi->s_ndevs; i++) { in f2fs_flush_device_cache()1753 devi, sbi->s_ndevs ? FDEV(devi).path : "", in __f2fs_issue_discard_zone()4751 for (i = 0; i < sbi->s_ndevs; i++) { in get_target_zoned_dev()4754 if (sbi->s_ndevs == 1 || (FDEV(i).start_blk <= zone_blkaddr && in get_target_zoned_dev()4895 for (i = 0; i < sbi->s_ndevs; i++) { in f2fs_check_write_pointer()
1800 int s_ndevs; /* number of devices */ member1910 return sbi->s_ndevs > 1; in f2fs_is_multi_device()4441 for (i = 0; i < sbi->s_ndevs; i++) in f2fs_hw_support_discard()4460 for (i = 0; i < sbi->s_ndevs; i++) in f2fs_hw_is_readonly()
1441 for (i = 0; i < sbi->s_ndevs; i++) in f2fs_get_sectors_written()
382 for (i = 0; i < sbi->s_ndevs; i++) { in f2fs_target_device()404 for (i = 0; i < sbi->s_ndevs; i++) in f2fs_target_device_index()
2926 if (!f2fs_is_multi_device(sbi) || sbi->s_ndevs - 1 <= range.dev_num || in f2fs_ioc_flush_device()2929 range.dev_num, sbi->s_ndevs, sbi->segs_per_sec); in f2fs_ioc_flush_device()