Lines Matching refs:rm_offset
42 cur->bc_rec.r.rm_offset = offset; in xfs_rmap_lookup_le()
64 cur->bc_rec.r.rm_offset = offset; in xfs_rmap_lookup_eq()
84 irec->rm_owner, irec->rm_offset, irec->rm_flags); in xfs_rmap_update()
89 rec.rmap.rm_offset = cpu_to_be64( in xfs_rmap_update()
124 rcur->bc_rec.r.rm_offset = offset; in xfs_rmap_insert()
186 return xfs_rmap_irec_offset_unpack(be64_to_cpu(rec->rmap.rm_offset), in xfs_rmap_btrec_to_irec()
264 rec->rm_blockcount, rec->rm_owner, rec->rm_offset, in xfs_rmap_find_left_neighbor_helper()
271 rec->rm_offset + rec->rm_blockcount - 1 != info->high.rm_offset) in xfs_rmap_find_left_neighbor_helper()
306 info.high.rm_offset = offset - 1; in xfs_rmap_find_left_neighbor()
308 info.high.rm_offset = 0; in xfs_rmap_find_left_neighbor()
325 irec->rm_offset, irec->rm_flags); in xfs_rmap_find_left_neighbor()
340 rec->rm_blockcount, rec->rm_owner, rec->rm_offset, in xfs_rmap_lookup_le_range_helper()
347 (rec->rm_offset > info->high.rm_offset || in xfs_rmap_lookup_le_range_helper()
348 rec->rm_offset + rec->rm_blockcount <= info->high.rm_offset)) in xfs_rmap_lookup_le_range_helper()
378 info.high.rm_offset = offset; in xfs_rmap_lookup_le_range()
380 info.high.rm_offset = 0; in xfs_rmap_lookup_le_range()
397 irec->rm_offset, irec->rm_flags); in xfs_rmap_lookup_le_range()
445 if (XFS_IS_CORRUPT(mp, rec->rm_offset > offset)) { in xfs_rmap_free_check_owner()
527 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap()
528 ltoff = ltrec.rm_offset; in xfs_rmap_unmap()
593 ltrec.rm_owner, ltrec.rm_offset, in xfs_rmap_unmap()
616 ltrec.rm_offset += len; in xfs_rmap_unmap()
665 cur->bc_rec.r.rm_offset = 0; in xfs_rmap_unmap()
667 cur->bc_rec.r.rm_offset = offset + len; in xfs_rmap_unmap()
673 cur->bc_rec.r.rm_offset, in xfs_rmap_unmap()
800 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_map()
836 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map()
847 (ignore_off || ltrec.rm_offset + ltrec.rm_blockcount == offset)) { in xfs_rmap_map()
860 (ignore_off || offset + len == gtrec.rm_offset) && in xfs_rmap_map()
877 gtrec.rm_offset, in xfs_rmap_map()
897 (ignore_off || offset + len == gtrec.rm_offset)) { in xfs_rmap_map()
910 gtrec.rm_offset = offset; in xfs_rmap_map()
922 cur->bc_rec.r.rm_offset = offset; in xfs_rmap_map()
1039 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert()
1041 ASSERT(PREV.rm_offset <= offset); in xfs_rmap_convert()
1042 ASSERT(PREV.rm_offset + PREV.rm_blockcount >= new_endoff); in xfs_rmap_convert()
1050 if (PREV.rm_offset == offset) in xfs_rmap_convert()
1052 if (PREV.rm_offset + PREV.rm_blockcount == new_endoff) in xfs_rmap_convert()
1081 LEFT.rm_offset, LEFT.rm_flags); in xfs_rmap_convert()
1083 LEFT.rm_offset + LEFT.rm_blockcount == offset && in xfs_rmap_convert()
1119 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert()
1121 offset + len == RIGHT.rm_offset && in xfs_rmap_convert()
1167 RIGHT.rm_owner, RIGHT.rm_offset, in xfs_rmap_convert()
1185 PREV.rm_owner, PREV.rm_offset, in xfs_rmap_convert()
1215 PREV.rm_owner, PREV.rm_offset, in xfs_rmap_convert()
1252 RIGHT.rm_owner, RIGHT.rm_offset, in xfs_rmap_convert()
1295 NEW.rm_offset += len; in xfs_rmap_convert()
1318 NEW.rm_offset += len; in xfs_rmap_convert()
1325 NEW.rm_offset = offset; in xfs_rmap_convert()
1354 NEW.rm_offset = offset; in xfs_rmap_convert()
1382 NEW.rm_offset = offset; in xfs_rmap_convert()
1406 NEW.rm_offset = new_endoff; in xfs_rmap_convert()
1407 NEW.rm_blockcount = PREV.rm_offset + PREV.rm_blockcount - in xfs_rmap_convert()
1415 NEW.rm_blockcount = offset - PREV.rm_offset; in xfs_rmap_convert()
1419 NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert()
1526 ASSERT(PREV.rm_offset <= offset); in xfs_rmap_convert_shared()
1527 ASSERT(PREV.rm_offset + PREV.rm_blockcount >= new_endoff); in xfs_rmap_convert_shared()
1535 if (PREV.rm_offset == offset) in xfs_rmap_convert_shared()
1537 if (PREV.rm_offset + PREV.rm_blockcount == new_endoff) in xfs_rmap_convert_shared()
1578 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert_shared()
1607 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert_shared()
1612 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert_shared()
1618 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1638 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert_shared()
1644 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1664 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert_shared()
1670 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1693 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1714 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1717 NEW.rm_offset += len; in xfs_rmap_convert_shared()
1722 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1728 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1749 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1752 NEW.rm_offset += len; in xfs_rmap_convert_shared()
1757 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1773 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1780 NEW.rm_blockcount = offset - NEW.rm_offset; in xfs_rmap_convert_shared()
1787 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1790 NEW.rm_offset = offset; in xfs_rmap_convert_shared()
1795 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1808 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1833 NEW.rm_offset = new_endoff; in xfs_rmap_convert_shared()
1834 NEW.rm_blockcount = PREV.rm_offset + PREV.rm_blockcount - in xfs_rmap_convert_shared()
1838 NEW.rm_blockcount, NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert_shared()
1846 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1853 NEW.rm_blockcount = offset - NEW.rm_offset; in xfs_rmap_convert_shared()
1861 NEW.rm_offset = offset; in xfs_rmap_convert_shared()
1864 NEW.rm_blockcount, NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert_shared()
1942 ltoff = ltrec.rm_offset; in xfs_rmap_unmap_shared()
1968 if (XFS_IS_CORRUPT(mp, ltrec.rm_offset > offset)) { in xfs_rmap_unmap_shared()
1981 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap_shared()
1999 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap_shared()
2006 ltrec.rm_offset += len; in xfs_rmap_unmap_shared()
2009 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap_shared()
2025 ltrec.rm_offset, ltrec.rm_flags, &i); in xfs_rmap_unmap_shared()
2054 ltrec.rm_offset, ltrec.rm_flags, &i); in xfs_rmap_unmap_shared()
2143 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2151 ltrec.rm_offset + ltrec.rm_blockcount == offset) { in xfs_rmap_map_shared()
2164 offset + len == gtrec.rm_offset) { in xfs_rmap_map_shared()
2177 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2185 ltrec.rm_offset, ltrec.rm_flags, &i); in xfs_rmap_map_shared()
2198 offset + len == gtrec.rm_offset) { in xfs_rmap_map_shared()
2211 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2218 gtrec.rm_offset = offset; in xfs_rmap_map_shared()
2221 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2252 oinfo.oi_offset = rmap->rm_offset; in xfs_rmap_map_raw()
2717 if (rks->owner == rec->rm_owner && rks->offset == rec->rm_offset && in xfs_rmap_has_other_keys_helper()