Lines Matching defs:dif
191 struct super_block *sb, struct erofs_device_info *dif)
194 map->m_dif = dif;
196 if (dif->file && S_ISBLK(file_inode(dif->file)->i_mode))
197 map->m_bdev = file_bdev(dif->file);
203 struct erofs_device_info *dif;
211 dif = idr_find(&devs->tree, map->m_deviceid - 1);
212 if (!dif) {
217 map->m_pa += erofs_pos(sb, dif->uniaddr);
221 erofs_fill_from_devinfo(map, sb, dif);
225 idr_for_each_entry(&devs->tree, dif, id) {
226 if (!dif->uniaddr)
229 startoff = erofs_pos(sb, dif->uniaddr);
231 map->m_pa < startoff + erofs_pos(sb, dif->blocks)) {
233 erofs_fill_from_devinfo(map, sb, dif);