Searched refs:dev_idx (Results 1 – 3 of 3) sorted by relevance
51 uint32_t segno, uint32_t dev_idx) in get_zone_idx_from_dev() argument55 return (seg_start_blkaddr - c.devices[dev_idx].start_blkaddr) >> in get_zone_idx_from_dev()64 unsigned int dev_idx = get_device_idx(sbi, segno); in is_usable_seg() local65 unsigned int zone_idx = get_zone_idx_from_dev(sbi, segno, dev_idx); in is_usable_seg()69 if (zone_idx < c.devices[dev_idx].nr_rnd_zones) in is_usable_seg()72 if (c.devices[dev_idx].zoned_model != F2FS_ZONED_HM) in is_usable_seg()76 c.devices[dev_idx].zone_cap_blocks[zone_idx]; in is_usable_seg()
6134 uint32_t dev_idx; in setup_loader_tramp_phys_dev_groups() local6152 for (dev_idx = 0; dev_idx < groups[cur_idx].physicalDeviceCount; ++dev_idx) { in setup_loader_tramp_phys_dev_groups()6153 devices[cur_device++] = groups[cur_idx].physicalDevices[dev_idx]; in setup_loader_tramp_phys_dev_groups()6166 for (dev_idx = 0; dev_idx < groups[cur_idx].physicalDeviceCount; ++dev_idx) { in setup_loader_tramp_phys_dev_groups()6167 groups[cur_idx].physicalDevices[dev_idx] = devices[cur_device++]; in setup_loader_tramp_phys_dev_groups()
77043 int dev_idx; member86535 int dev_idx; member