Lines Matching full:dif
205 struct erofs_device_info *dif; in erofs_map_dev() local
215 dif = idr_find(&devs->tree, map->m_deviceid - 1); in erofs_map_dev()
216 if (!dif) { in erofs_map_dev()
221 map->m_pa += erofs_pos(sb, dif->mapped_blkaddr); in erofs_map_dev()
225 map->m_bdev = dif->bdev_handle ? dif->bdev_handle->bdev : NULL; in erofs_map_dev()
226 map->m_daxdev = dif->dax_dev; in erofs_map_dev()
227 map->m_dax_part_off = dif->dax_part_off; in erofs_map_dev()
228 map->m_fscache = dif->fscache; in erofs_map_dev()
232 idr_for_each_entry(&devs->tree, dif, id) { in erofs_map_dev()
235 if (!dif->mapped_blkaddr) in erofs_map_dev()
237 startoff = erofs_pos(sb, dif->mapped_blkaddr); in erofs_map_dev()
238 length = erofs_pos(sb, dif->blocks); in erofs_map_dev()
243 map->m_bdev = dif->bdev_handle ? in erofs_map_dev()
244 dif->bdev_handle->bdev : NULL; in erofs_map_dev()
245 map->m_daxdev = dif->dax_dev; in erofs_map_dev()
246 map->m_dax_part_off = dif->dax_part_off; in erofs_map_dev()
247 map->m_fscache = dif->fscache; in erofs_map_dev()