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()
121 rcur->bc_rec.r.rm_offset = offset; in xfs_rmap_insert()
174 return xfs_rmap_irec_offset_unpack(be64_to_cpu(rec->rmap.rm_offset), in xfs_rmap_btrec_to_irec()
252 rec->rm_blockcount, rec->rm_owner, rec->rm_offset, in xfs_rmap_find_left_neighbor_helper()
259 rec->rm_offset + rec->rm_blockcount - 1 != info->high.rm_offset) in xfs_rmap_find_left_neighbor_helper()
294 info.high.rm_offset = offset - 1; in xfs_rmap_find_left_neighbor()
296 info.high.rm_offset = 0; in xfs_rmap_find_left_neighbor()
313 irec->rm_offset, irec->rm_flags); in xfs_rmap_find_left_neighbor()
328 rec->rm_blockcount, rec->rm_owner, rec->rm_offset, in xfs_rmap_lookup_le_range_helper()
335 (rec->rm_offset > info->high.rm_offset || in xfs_rmap_lookup_le_range_helper()
336 rec->rm_offset + rec->rm_blockcount <= info->high.rm_offset)) in xfs_rmap_lookup_le_range_helper()
366 info.high.rm_offset = offset; in xfs_rmap_lookup_le_range()
368 info.high.rm_offset = 0; in xfs_rmap_lookup_le_range()
385 irec->rm_offset, irec->rm_flags); in xfs_rmap_lookup_le_range()
423 XFS_WANT_CORRUPTED_GOTO(mp, rec->rm_offset <= offset, out); in xfs_rmap_free_check_owner()
494 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap()
495 ltoff = ltrec.rm_offset; in xfs_rmap_unmap()
549 ltrec.rm_owner, ltrec.rm_offset, in xfs_rmap_unmap()
569 ltrec.rm_offset += len; in xfs_rmap_unmap()
618 cur->bc_rec.r.rm_offset = 0; in xfs_rmap_unmap()
620 cur->bc_rec.r.rm_offset = offset + len; in xfs_rmap_unmap()
626 cur->bc_rec.r.rm_offset, in xfs_rmap_unmap()
750 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_map()
778 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map()
789 (ignore_off || ltrec.rm_offset + ltrec.rm_blockcount == offset)) { in xfs_rmap_map()
802 (ignore_off || offset + len == gtrec.rm_offset) && in xfs_rmap_map()
819 gtrec.rm_offset, in xfs_rmap_map()
836 (ignore_off || offset + len == gtrec.rm_offset)) { in xfs_rmap_map()
849 gtrec.rm_offset = offset; in xfs_rmap_map()
861 cur->bc_rec.r.rm_offset = offset; in xfs_rmap_map()
969 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert()
971 ASSERT(PREV.rm_offset <= offset); in xfs_rmap_convert()
972 ASSERT(PREV.rm_offset + PREV.rm_blockcount >= new_endoff); in xfs_rmap_convert()
980 if (PREV.rm_offset == offset) in xfs_rmap_convert()
982 if (PREV.rm_offset + PREV.rm_blockcount == new_endoff) in xfs_rmap_convert()
1005 LEFT.rm_offset, LEFT.rm_flags); in xfs_rmap_convert()
1007 LEFT.rm_offset + LEFT.rm_blockcount == offset && in xfs_rmap_convert()
1035 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert()
1037 offset + len == RIGHT.rm_offset && in xfs_rmap_convert()
1077 RIGHT.rm_owner, RIGHT.rm_offset, in xfs_rmap_convert()
1089 PREV.rm_owner, PREV.rm_offset, in xfs_rmap_convert()
1113 PREV.rm_owner, PREV.rm_offset, in xfs_rmap_convert()
1141 RIGHT.rm_owner, RIGHT.rm_offset, in xfs_rmap_convert()
1178 NEW.rm_offset += len; in xfs_rmap_convert()
1201 NEW.rm_offset += len; in xfs_rmap_convert()
1208 NEW.rm_offset = offset; in xfs_rmap_convert()
1234 NEW.rm_offset = offset; in xfs_rmap_convert()
1259 NEW.rm_offset = offset; in xfs_rmap_convert()
1280 NEW.rm_offset = new_endoff; in xfs_rmap_convert()
1281 NEW.rm_blockcount = PREV.rm_offset + PREV.rm_blockcount - in xfs_rmap_convert()
1289 NEW.rm_blockcount = offset - PREV.rm_offset; in xfs_rmap_convert()
1293 NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert()
1388 ASSERT(PREV.rm_offset <= offset); in xfs_rmap_convert_shared()
1389 ASSERT(PREV.rm_offset + PREV.rm_blockcount >= new_endoff); in xfs_rmap_convert_shared()
1397 if (PREV.rm_offset == offset) in xfs_rmap_convert_shared()
1399 if (PREV.rm_offset + PREV.rm_blockcount == new_endoff) in xfs_rmap_convert_shared()
1432 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert_shared()
1461 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert_shared()
1466 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert_shared()
1472 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1489 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert_shared()
1495 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1512 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert_shared()
1518 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1538 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1556 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1559 NEW.rm_offset += len; in xfs_rmap_convert_shared()
1564 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1570 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1588 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1591 NEW.rm_offset += len; in xfs_rmap_convert_shared()
1596 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1612 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1616 NEW.rm_blockcount = offset - NEW.rm_offset; in xfs_rmap_convert_shared()
1623 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1626 NEW.rm_offset = offset; in xfs_rmap_convert_shared()
1631 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1644 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1666 NEW.rm_offset = new_endoff; in xfs_rmap_convert_shared()
1667 NEW.rm_blockcount = PREV.rm_offset + PREV.rm_blockcount - in xfs_rmap_convert_shared()
1671 NEW.rm_blockcount, NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert_shared()
1679 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1683 NEW.rm_blockcount = offset - NEW.rm_offset; in xfs_rmap_convert_shared()
1691 NEW.rm_offset = offset; in xfs_rmap_convert_shared()
1694 NEW.rm_blockcount, NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert_shared()
1769 ltoff = ltrec.rm_offset; in xfs_rmap_unmap_shared()
1784 XFS_WANT_CORRUPTED_GOTO(mp, ltrec.rm_offset <= offset, out_error); in xfs_rmap_unmap_shared()
1792 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap_shared()
1810 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap_shared()
1817 ltrec.rm_offset += len; in xfs_rmap_unmap_shared()
1820 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap_shared()
1836 ltrec.rm_offset, ltrec.rm_flags, &i); in xfs_rmap_unmap_shared()
1862 ltrec.rm_offset, ltrec.rm_flags, &i); in xfs_rmap_unmap_shared()
1945 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
1953 ltrec.rm_offset + ltrec.rm_blockcount == offset) { in xfs_rmap_map_shared()
1966 offset + len == gtrec.rm_offset) { in xfs_rmap_map_shared()
1979 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
1987 ltrec.rm_offset, ltrec.rm_flags, &i); in xfs_rmap_map_shared()
1997 offset + len == gtrec.rm_offset) { in xfs_rmap_map_shared()
2010 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2017 gtrec.rm_offset = offset; in xfs_rmap_map_shared()
2020 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2051 oinfo.oi_offset = rmap->rm_offset; in xfs_rmap_map_raw()
2508 if (rks->owner == rec->rm_owner && rks->offset == rec->rm_offset && in xfs_rmap_has_other_keys_helper()