Searched refs:dev_idx (Results 1 – 2 of 2) sorted by relevance
/third_party/f2fs-tools/fsck/ |
D | mount.c | 50 u_int32_t segno, u_int32_t dev_idx) in get_zone_idx_from_dev() argument 54 return (seg_start_blkaddr - c.devices[dev_idx].start_blkaddr) >> in get_zone_idx_from_dev() 63 unsigned int dev_idx = get_device_idx(sbi, segno); in is_usable_seg() local 64 unsigned int zone_idx = get_zone_idx_from_dev(sbi, segno, dev_idx); in is_usable_seg() 68 if (zone_idx < c.devices[dev_idx].nr_rnd_zones) in is_usable_seg() 71 if (c.devices[dev_idx].zoned_model != F2FS_ZONED_HM) in is_usable_seg() 75 c.devices[dev_idx].zone_cap_blocks[zone_idx]; in is_usable_seg()
|
/third_party/mindspore/mindspore/ccsrc/common/ |
D | trans.cc | 2018 … size_t dev_idx = (g / e_mult) * d_dim * c1_dim * h_dim * w_dim * cout_opt * kCubeSize + in NchwFracZTransWithGroups() local 2026 SetData(size, false, hst_idx, dev_idx, args, result); in NchwFracZTransWithGroups() 2028 SetData(size, false, dev_idx, hst_idx, args, result); in NchwFracZTransWithGroups()
|