Lines Matching refs:dif
156 struct erofs_device_info *dif; in erofs_map_dev() local
165 dif = idr_find(&devs->tree, map->m_deviceid - 1); in erofs_map_dev()
166 if (!dif) { in erofs_map_dev()
170 map->m_bdev = dif->bdev; in erofs_map_dev()
171 map->m_daxdev = dif->dax_dev; in erofs_map_dev()
175 idr_for_each_entry(&devs->tree, dif, id) { in erofs_map_dev()
178 if (!dif->mapped_blkaddr) in erofs_map_dev()
180 startoff = blknr_to_addr(dif->mapped_blkaddr); in erofs_map_dev()
181 length = blknr_to_addr(dif->blocks); in erofs_map_dev()
186 map->m_bdev = dif->bdev; in erofs_map_dev()
187 map->m_daxdev = dif->dax_dev; in erofs_map_dev()