Lines Matching refs:map
1036 struct xfs_bmbt_irec *map, in xfs_find_get_desired_pgoff() argument
1053 endoff = XFS_FSB_TO_B(mp, map->br_startoff + map->br_blockcount); in xfs_find_get_desired_pgoff()
1212 struct xfs_bmbt_irec map[2]; in xfs_seek_data() local
1216 error = xfs_bmapi_read(ip, fsbno, end - fsbno, map, &nmap, in xfs_seek_data()
1229 XFS_FSB_TO_B(mp, map[i].br_startoff)); in xfs_seek_data()
1232 if (map[i].br_startblock == DELAYSTARTBLOCK || in xfs_seek_data()
1233 (map[i].br_state == XFS_EXT_NORM && in xfs_seek_data()
1234 !isnullstartblock(map[i].br_startblock))) in xfs_seek_data()
1241 if (map[i].br_state == XFS_EXT_UNWRITTEN) { in xfs_seek_data()
1242 if (xfs_find_get_desired_pgoff(inode, &map[i], in xfs_seek_data()
1264 fsbno = map[i - 1].br_startoff + map[i - 1].br_blockcount; in xfs_seek_data()
1314 struct xfs_bmbt_irec map[2]; in xfs_seek_hole() local
1318 error = xfs_bmapi_read(ip, fsbno, end - fsbno, map, &nmap, in xfs_seek_hole()
1331 XFS_FSB_TO_B(mp, map[i].br_startoff)); in xfs_seek_hole()
1334 if (map[i].br_startblock == HOLESTARTBLOCK) in xfs_seek_hole()
1341 if (map[i].br_state == XFS_EXT_UNWRITTEN) { in xfs_seek_hole()
1342 if (xfs_find_get_desired_pgoff(inode, &map[i], in xfs_seek_hole()
1366 fsbno = map[i - 1].br_startoff + map[i - 1].br_blockcount; in xfs_seek_hole()