Lines Matching refs:rm_offset

49 	cur->bc_rec.r.rm_offset = offset;  in xfs_rmap_lookup_le()
71 cur->bc_rec.r.rm_offset = offset; in xfs_rmap_lookup_eq()
91 irec->rm_owner, irec->rm_offset, irec->rm_flags); in xfs_rmap_update()
96 rec.rmap.rm_offset = cpu_to_be64( in xfs_rmap_update()
128 rcur->bc_rec.r.rm_offset = offset; in xfs_rmap_insert()
182 return xfs_rmap_irec_offset_unpack(be64_to_cpu(rec->rmap.rm_offset), in xfs_rmap_btrec_to_irec()
260 rec->rm_blockcount, rec->rm_owner, rec->rm_offset, in xfs_rmap_find_left_neighbor_helper()
267 rec->rm_offset + rec->rm_blockcount - 1 != info->high.rm_offset) in xfs_rmap_find_left_neighbor_helper()
302 info.high.rm_offset = offset - 1; in xfs_rmap_find_left_neighbor()
304 info.high.rm_offset = 0; in xfs_rmap_find_left_neighbor()
321 irec->rm_offset, irec->rm_flags); in xfs_rmap_find_left_neighbor()
336 rec->rm_blockcount, rec->rm_owner, rec->rm_offset, in xfs_rmap_lookup_le_range_helper()
343 (rec->rm_offset > info->high.rm_offset || in xfs_rmap_lookup_le_range_helper()
344 rec->rm_offset + rec->rm_blockcount <= info->high.rm_offset)) in xfs_rmap_lookup_le_range_helper()
374 info.high.rm_offset = offset; in xfs_rmap_lookup_le_range()
376 info.high.rm_offset = 0; in xfs_rmap_lookup_le_range()
393 irec->rm_offset, irec->rm_flags); in xfs_rmap_lookup_le_range()
431 XFS_WANT_CORRUPTED_GOTO(mp, rec->rm_offset <= offset, out); in xfs_rmap_free_check_owner()
502 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap()
503 ltoff = ltrec.rm_offset; in xfs_rmap_unmap()
557 ltrec.rm_owner, ltrec.rm_offset, in xfs_rmap_unmap()
577 ltrec.rm_offset += len; in xfs_rmap_unmap()
626 cur->bc_rec.r.rm_offset = 0; in xfs_rmap_unmap()
628 cur->bc_rec.r.rm_offset = offset + len; in xfs_rmap_unmap()
634 cur->bc_rec.r.rm_offset, in xfs_rmap_unmap()
758 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_map()
786 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map()
797 (ignore_off || ltrec.rm_offset + ltrec.rm_blockcount == offset)) { in xfs_rmap_map()
810 (ignore_off || offset + len == gtrec.rm_offset) && in xfs_rmap_map()
827 gtrec.rm_offset, in xfs_rmap_map()
844 (ignore_off || offset + len == gtrec.rm_offset)) { in xfs_rmap_map()
857 gtrec.rm_offset = offset; in xfs_rmap_map()
869 cur->bc_rec.r.rm_offset = offset; in xfs_rmap_map()
977 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert()
979 ASSERT(PREV.rm_offset <= offset); in xfs_rmap_convert()
980 ASSERT(PREV.rm_offset + PREV.rm_blockcount >= new_endoff); in xfs_rmap_convert()
988 if (PREV.rm_offset == offset) in xfs_rmap_convert()
990 if (PREV.rm_offset + PREV.rm_blockcount == new_endoff) in xfs_rmap_convert()
1013 LEFT.rm_offset, LEFT.rm_flags); in xfs_rmap_convert()
1015 LEFT.rm_offset + LEFT.rm_blockcount == offset && in xfs_rmap_convert()
1043 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert()
1045 offset + len == RIGHT.rm_offset && in xfs_rmap_convert()
1085 RIGHT.rm_owner, RIGHT.rm_offset, in xfs_rmap_convert()
1097 PREV.rm_owner, PREV.rm_offset, in xfs_rmap_convert()
1121 PREV.rm_owner, PREV.rm_offset, in xfs_rmap_convert()
1149 RIGHT.rm_owner, RIGHT.rm_offset, in xfs_rmap_convert()
1186 NEW.rm_offset += len; in xfs_rmap_convert()
1209 NEW.rm_offset += len; in xfs_rmap_convert()
1216 NEW.rm_offset = offset; in xfs_rmap_convert()
1242 NEW.rm_offset = offset; in xfs_rmap_convert()
1267 NEW.rm_offset = offset; in xfs_rmap_convert()
1288 NEW.rm_offset = new_endoff; in xfs_rmap_convert()
1289 NEW.rm_blockcount = PREV.rm_offset + PREV.rm_blockcount - in xfs_rmap_convert()
1297 NEW.rm_blockcount = offset - PREV.rm_offset; in xfs_rmap_convert()
1301 NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert()
1396 ASSERT(PREV.rm_offset <= offset); in xfs_rmap_convert_shared()
1397 ASSERT(PREV.rm_offset + PREV.rm_blockcount >= new_endoff); in xfs_rmap_convert_shared()
1405 if (PREV.rm_offset == offset) in xfs_rmap_convert_shared()
1407 if (PREV.rm_offset + PREV.rm_blockcount == new_endoff) in xfs_rmap_convert_shared()
1440 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert_shared()
1469 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert_shared()
1474 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert_shared()
1480 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1497 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert_shared()
1503 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1520 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert_shared()
1526 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1546 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1564 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1567 NEW.rm_offset += len; in xfs_rmap_convert_shared()
1572 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1578 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1596 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1599 NEW.rm_offset += len; in xfs_rmap_convert_shared()
1604 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1620 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1624 NEW.rm_blockcount = offset - NEW.rm_offset; in xfs_rmap_convert_shared()
1631 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1634 NEW.rm_offset = offset; in xfs_rmap_convert_shared()
1639 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1652 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1674 NEW.rm_offset = new_endoff; in xfs_rmap_convert_shared()
1675 NEW.rm_blockcount = PREV.rm_offset + PREV.rm_blockcount - in xfs_rmap_convert_shared()
1679 NEW.rm_blockcount, NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert_shared()
1687 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1691 NEW.rm_blockcount = offset - NEW.rm_offset; in xfs_rmap_convert_shared()
1699 NEW.rm_offset = offset; in xfs_rmap_convert_shared()
1702 NEW.rm_blockcount, NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert_shared()
1777 ltoff = ltrec.rm_offset; in xfs_rmap_unmap_shared()
1792 XFS_WANT_CORRUPTED_GOTO(mp, ltrec.rm_offset <= offset, out_error); in xfs_rmap_unmap_shared()
1800 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap_shared()
1818 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap_shared()
1825 ltrec.rm_offset += len; in xfs_rmap_unmap_shared()
1828 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap_shared()
1844 ltrec.rm_offset, ltrec.rm_flags, &i); in xfs_rmap_unmap_shared()
1870 ltrec.rm_offset, ltrec.rm_flags, &i); in xfs_rmap_unmap_shared()
1953 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
1961 ltrec.rm_offset + ltrec.rm_blockcount == offset) { in xfs_rmap_map_shared()
1974 offset + len == gtrec.rm_offset) { in xfs_rmap_map_shared()
1987 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
1995 ltrec.rm_offset, ltrec.rm_flags, &i); in xfs_rmap_map_shared()
2005 offset + len == gtrec.rm_offset) { in xfs_rmap_map_shared()
2018 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2025 gtrec.rm_offset = offset; in xfs_rmap_map_shared()
2028 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2059 oinfo.oi_offset = rmap->rm_offset; in xfs_rmap_map_raw()
2517 if (rks->owner == rec->rm_owner && rks->offset == rec->rm_offset && in xfs_rmap_has_other_keys_helper()