Lines Matching refs:rm_offset

44 	cur->bc_rec.r.rm_offset = offset;  in xfs_rmap_lookup_le()
66 cur->bc_rec.r.rm_offset = offset; in xfs_rmap_lookup_eq()
86 irec->rm_owner, irec->rm_offset, irec->rm_flags); in xfs_rmap_update()
91 rec.rmap.rm_offset = cpu_to_be64( in xfs_rmap_update()
126 rcur->bc_rec.r.rm_offset = offset; in xfs_rmap_insert()
188 return xfs_rmap_irec_offset_unpack(be64_to_cpu(rec->rmap.rm_offset), in xfs_rmap_btrec_to_irec()
266 rec->rm_blockcount, rec->rm_owner, rec->rm_offset, in xfs_rmap_find_left_neighbor_helper()
273 rec->rm_offset + rec->rm_blockcount - 1 != info->high.rm_offset) in xfs_rmap_find_left_neighbor_helper()
308 info.high.rm_offset = offset - 1; in xfs_rmap_find_left_neighbor()
310 info.high.rm_offset = 0; in xfs_rmap_find_left_neighbor()
327 irec->rm_offset, irec->rm_flags); in xfs_rmap_find_left_neighbor()
342 rec->rm_blockcount, rec->rm_owner, rec->rm_offset, in xfs_rmap_lookup_le_range_helper()
349 (rec->rm_offset > info->high.rm_offset || in xfs_rmap_lookup_le_range_helper()
350 rec->rm_offset + rec->rm_blockcount <= info->high.rm_offset)) in xfs_rmap_lookup_le_range_helper()
380 info.high.rm_offset = offset; in xfs_rmap_lookup_le_range()
382 info.high.rm_offset = 0; in xfs_rmap_lookup_le_range()
399 irec->rm_offset, irec->rm_flags); in xfs_rmap_lookup_le_range()
447 if (XFS_IS_CORRUPT(mp, rec->rm_offset > offset)) { in xfs_rmap_free_check_owner()
529 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap()
530 ltoff = ltrec.rm_offset; in xfs_rmap_unmap()
595 ltrec.rm_owner, ltrec.rm_offset, in xfs_rmap_unmap()
618 ltrec.rm_offset += len; in xfs_rmap_unmap()
667 cur->bc_rec.r.rm_offset = 0; in xfs_rmap_unmap()
669 cur->bc_rec.r.rm_offset = offset + len; in xfs_rmap_unmap()
675 cur->bc_rec.r.rm_offset, in xfs_rmap_unmap()
802 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_map()
838 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map()
849 (ignore_off || ltrec.rm_offset + ltrec.rm_blockcount == offset)) { in xfs_rmap_map()
862 (ignore_off || offset + len == gtrec.rm_offset) && in xfs_rmap_map()
879 gtrec.rm_offset, in xfs_rmap_map()
899 (ignore_off || offset + len == gtrec.rm_offset)) { in xfs_rmap_map()
912 gtrec.rm_offset = offset; in xfs_rmap_map()
924 cur->bc_rec.r.rm_offset = offset; in xfs_rmap_map()
1041 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert()
1043 ASSERT(PREV.rm_offset <= offset); in xfs_rmap_convert()
1044 ASSERT(PREV.rm_offset + PREV.rm_blockcount >= new_endoff); in xfs_rmap_convert()
1052 if (PREV.rm_offset == offset) in xfs_rmap_convert()
1054 if (PREV.rm_offset + PREV.rm_blockcount == new_endoff) in xfs_rmap_convert()
1083 LEFT.rm_offset, LEFT.rm_flags); in xfs_rmap_convert()
1085 LEFT.rm_offset + LEFT.rm_blockcount == offset && in xfs_rmap_convert()
1121 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert()
1123 offset + len == RIGHT.rm_offset && in xfs_rmap_convert()
1169 RIGHT.rm_owner, RIGHT.rm_offset, in xfs_rmap_convert()
1187 PREV.rm_owner, PREV.rm_offset, in xfs_rmap_convert()
1217 PREV.rm_owner, PREV.rm_offset, in xfs_rmap_convert()
1254 RIGHT.rm_owner, RIGHT.rm_offset, in xfs_rmap_convert()
1297 NEW.rm_offset += len; in xfs_rmap_convert()
1320 NEW.rm_offset += len; in xfs_rmap_convert()
1327 NEW.rm_offset = offset; in xfs_rmap_convert()
1356 NEW.rm_offset = offset; in xfs_rmap_convert()
1384 NEW.rm_offset = offset; in xfs_rmap_convert()
1408 NEW.rm_offset = new_endoff; in xfs_rmap_convert()
1409 NEW.rm_blockcount = PREV.rm_offset + PREV.rm_blockcount - in xfs_rmap_convert()
1417 NEW.rm_blockcount = offset - PREV.rm_offset; in xfs_rmap_convert()
1421 NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert()
1528 ASSERT(PREV.rm_offset <= offset); in xfs_rmap_convert_shared()
1529 ASSERT(PREV.rm_offset + PREV.rm_blockcount >= new_endoff); in xfs_rmap_convert_shared()
1537 if (PREV.rm_offset == offset) in xfs_rmap_convert_shared()
1539 if (PREV.rm_offset + PREV.rm_blockcount == new_endoff) in xfs_rmap_convert_shared()
1580 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert_shared()
1609 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert_shared()
1614 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert_shared()
1620 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1640 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert_shared()
1646 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1666 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert_shared()
1672 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1695 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1716 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1719 NEW.rm_offset += len; in xfs_rmap_convert_shared()
1724 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1730 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1751 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1754 NEW.rm_offset += len; in xfs_rmap_convert_shared()
1759 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1775 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1782 NEW.rm_blockcount = offset - NEW.rm_offset; in xfs_rmap_convert_shared()
1789 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1792 NEW.rm_offset = offset; in xfs_rmap_convert_shared()
1797 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1810 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1835 NEW.rm_offset = new_endoff; in xfs_rmap_convert_shared()
1836 NEW.rm_blockcount = PREV.rm_offset + PREV.rm_blockcount - in xfs_rmap_convert_shared()
1840 NEW.rm_blockcount, NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert_shared()
1848 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1855 NEW.rm_blockcount = offset - NEW.rm_offset; in xfs_rmap_convert_shared()
1863 NEW.rm_offset = offset; in xfs_rmap_convert_shared()
1866 NEW.rm_blockcount, NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert_shared()
1944 ltoff = ltrec.rm_offset; in xfs_rmap_unmap_shared()
1970 if (XFS_IS_CORRUPT(mp, ltrec.rm_offset > offset)) { in xfs_rmap_unmap_shared()
1983 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap_shared()
2001 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap_shared()
2008 ltrec.rm_offset += len; in xfs_rmap_unmap_shared()
2011 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap_shared()
2027 ltrec.rm_offset, ltrec.rm_flags, &i); in xfs_rmap_unmap_shared()
2056 ltrec.rm_offset, ltrec.rm_flags, &i); in xfs_rmap_unmap_shared()
2145 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2153 ltrec.rm_offset + ltrec.rm_blockcount == offset) { in xfs_rmap_map_shared()
2166 offset + len == gtrec.rm_offset) { in xfs_rmap_map_shared()
2179 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2187 ltrec.rm_offset, ltrec.rm_flags, &i); in xfs_rmap_map_shared()
2200 offset + len == gtrec.rm_offset) { in xfs_rmap_map_shared()
2213 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2220 gtrec.rm_offset = offset; in xfs_rmap_map_shared()
2223 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2254 oinfo.oi_offset = rmap->rm_offset; in xfs_rmap_map_raw()
2715 if (rks->owner == rec->rm_owner && rks->offset == rec->rm_offset && in xfs_rmap_has_other_keys_helper()