Lines Matching refs:rm_offset

49 	cur->bc_rec.r.rm_offset = offset;  in xfs_rmap_lookup_le()
82 cur->bc_rec.r.rm_offset = offset; in xfs_rmap_lookup_eq()
102 irec->rm_owner, irec->rm_offset, irec->rm_flags); in xfs_rmap_update()
107 rec.rmap.rm_offset = cpu_to_be64( in xfs_rmap_update()
142 rcur->bc_rec.r.rm_offset = offset; in xfs_rmap_insert()
204 return xfs_rmap_irec_offset_unpack(be64_to_cpu(rec->rmap.rm_offset), in xfs_rmap_btrec_to_irec()
276 rec->rm_blockcount, rec->rm_owner, rec->rm_offset, in xfs_rmap_find_left_neighbor_helper()
283 rec->rm_offset + rec->rm_blockcount - 1 != info->high.rm_offset) in xfs_rmap_find_left_neighbor_helper()
318 info.high.rm_offset = offset - 1; in xfs_rmap_find_left_neighbor()
320 info.high.rm_offset = 0; in xfs_rmap_find_left_neighbor()
359 irec->rm_blockcount, irec->rm_owner, irec->rm_offset, in xfs_rmap_find_left_neighbor()
375 rec->rm_blockcount, rec->rm_owner, rec->rm_offset, in xfs_rmap_lookup_le_range_helper()
382 (rec->rm_offset > info->high.rm_offset || in xfs_rmap_lookup_le_range_helper()
383 rec->rm_offset + rec->rm_blockcount <= info->high.rm_offset)) in xfs_rmap_lookup_le_range_helper()
413 info.high.rm_offset = offset; in xfs_rmap_lookup_le_range()
415 info.high.rm_offset = 0; in xfs_rmap_lookup_le_range()
455 irec->rm_blockcount, irec->rm_owner, irec->rm_offset, in xfs_rmap_lookup_le_range()
504 if (XFS_IS_CORRUPT(mp, rec->rm_offset > offset)) { in xfs_rmap_free_check_owner()
579 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap()
580 ltoff = ltrec.rm_offset; in xfs_rmap_unmap()
645 ltrec.rm_owner, ltrec.rm_offset, in xfs_rmap_unmap()
668 ltrec.rm_offset += len; in xfs_rmap_unmap()
717 cur->bc_rec.r.rm_offset = 0; in xfs_rmap_unmap()
719 cur->bc_rec.r.rm_offset = offset + len; in xfs_rmap_unmap()
725 cur->bc_rec.r.rm_offset, in xfs_rmap_unmap()
845 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_map()
881 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map()
892 (ignore_off || ltrec.rm_offset + ltrec.rm_blockcount == offset)) { in xfs_rmap_map()
905 (ignore_off || offset + len == gtrec.rm_offset) && in xfs_rmap_map()
922 gtrec.rm_offset, in xfs_rmap_map()
942 (ignore_off || offset + len == gtrec.rm_offset)) { in xfs_rmap_map()
955 gtrec.rm_offset = offset; in xfs_rmap_map()
967 cur->bc_rec.r.rm_offset = offset; in xfs_rmap_map()
1077 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert()
1079 ASSERT(PREV.rm_offset <= offset); in xfs_rmap_convert()
1080 ASSERT(PREV.rm_offset + PREV.rm_blockcount >= new_endoff); in xfs_rmap_convert()
1088 if (PREV.rm_offset == offset) in xfs_rmap_convert()
1090 if (PREV.rm_offset + PREV.rm_blockcount == new_endoff) in xfs_rmap_convert()
1119 LEFT.rm_offset, LEFT.rm_flags); in xfs_rmap_convert()
1121 LEFT.rm_offset + LEFT.rm_blockcount == offset && in xfs_rmap_convert()
1157 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert()
1159 offset + len == RIGHT.rm_offset && in xfs_rmap_convert()
1205 RIGHT.rm_owner, RIGHT.rm_offset, in xfs_rmap_convert()
1223 PREV.rm_owner, PREV.rm_offset, in xfs_rmap_convert()
1253 PREV.rm_owner, PREV.rm_offset, in xfs_rmap_convert()
1290 RIGHT.rm_owner, RIGHT.rm_offset, in xfs_rmap_convert()
1333 NEW.rm_offset += len; in xfs_rmap_convert()
1356 NEW.rm_offset += len; in xfs_rmap_convert()
1363 NEW.rm_offset = offset; in xfs_rmap_convert()
1392 NEW.rm_offset = offset; in xfs_rmap_convert()
1420 NEW.rm_offset = offset; in xfs_rmap_convert()
1444 NEW.rm_offset = new_endoff; in xfs_rmap_convert()
1445 NEW.rm_blockcount = PREV.rm_offset + PREV.rm_blockcount - in xfs_rmap_convert()
1453 NEW.rm_blockcount = offset - PREV.rm_offset; in xfs_rmap_convert()
1457 NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert()
1564 ASSERT(PREV.rm_offset <= offset); in xfs_rmap_convert_shared()
1565 ASSERT(PREV.rm_offset + PREV.rm_blockcount >= new_endoff); in xfs_rmap_convert_shared()
1573 if (PREV.rm_offset == offset) in xfs_rmap_convert_shared()
1575 if (PREV.rm_offset + PREV.rm_blockcount == new_endoff) in xfs_rmap_convert_shared()
1616 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert_shared()
1645 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert_shared()
1650 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert_shared()
1656 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1676 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert_shared()
1682 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1702 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert_shared()
1708 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1731 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1752 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1755 NEW.rm_offset += len; in xfs_rmap_convert_shared()
1760 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1766 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1787 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1790 NEW.rm_offset += len; in xfs_rmap_convert_shared()
1795 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1811 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1818 NEW.rm_blockcount = offset - NEW.rm_offset; in xfs_rmap_convert_shared()
1825 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1828 NEW.rm_offset = offset; in xfs_rmap_convert_shared()
1833 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1846 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1871 NEW.rm_offset = new_endoff; in xfs_rmap_convert_shared()
1872 NEW.rm_blockcount = PREV.rm_offset + PREV.rm_blockcount - in xfs_rmap_convert_shared()
1876 NEW.rm_blockcount, NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert_shared()
1884 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1891 NEW.rm_blockcount = offset - NEW.rm_offset; in xfs_rmap_convert_shared()
1899 NEW.rm_offset = offset; in xfs_rmap_convert_shared()
1902 NEW.rm_blockcount, NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert_shared()
1980 ltoff = ltrec.rm_offset; in xfs_rmap_unmap_shared()
2006 if (XFS_IS_CORRUPT(mp, ltrec.rm_offset > offset)) { in xfs_rmap_unmap_shared()
2019 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap_shared()
2037 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap_shared()
2044 ltrec.rm_offset += len; in xfs_rmap_unmap_shared()
2047 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap_shared()
2063 ltrec.rm_offset, ltrec.rm_flags, &i); in xfs_rmap_unmap_shared()
2092 ltrec.rm_offset, ltrec.rm_flags, &i); in xfs_rmap_unmap_shared()
2181 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2189 ltrec.rm_offset + ltrec.rm_blockcount == offset) { in xfs_rmap_map_shared()
2202 offset + len == gtrec.rm_offset) { in xfs_rmap_map_shared()
2215 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2223 ltrec.rm_offset, ltrec.rm_flags, &i); in xfs_rmap_map_shared()
2236 offset + len == gtrec.rm_offset) { in xfs_rmap_map_shared()
2249 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2256 gtrec.rm_offset = offset; in xfs_rmap_map_shared()
2259 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2290 oinfo.oi_offset = rmap->rm_offset; in xfs_rmap_map_raw()
2741 if (rks->owner == rec->rm_owner && rks->offset == rec->rm_offset && in xfs_rmap_has_other_keys_helper()