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()
245 if (is_bmbt && irec->rm_offset != 0) in xfs_rmap_check_irec()
248 if (!is_inode && irec->rm_offset != 0) in xfs_rmap_check_irec()
259 !xfs_verify_fileext(mp, irec->rm_offset, irec->rm_blockcount)) in xfs_rmap_check_irec()
325 rec->rm_blockcount, rec->rm_owner, rec->rm_offset, in xfs_rmap_find_left_neighbor_helper()
332 rec->rm_offset + rec->rm_blockcount - 1 != info->high.rm_offset) in xfs_rmap_find_left_neighbor_helper()
367 info.high.rm_offset = offset - 1; in xfs_rmap_find_left_neighbor()
369 info.high.rm_offset = 0; in xfs_rmap_find_left_neighbor()
408 irec->rm_blockcount, irec->rm_owner, irec->rm_offset, in xfs_rmap_find_left_neighbor()
424 rec->rm_blockcount, rec->rm_owner, rec->rm_offset, in xfs_rmap_lookup_le_range_helper()
431 (rec->rm_offset > info->high.rm_offset || in xfs_rmap_lookup_le_range_helper()
432 rec->rm_offset + rec->rm_blockcount <= info->high.rm_offset)) in xfs_rmap_lookup_le_range_helper()
462 info.high.rm_offset = offset; in xfs_rmap_lookup_le_range()
464 info.high.rm_offset = 0; in xfs_rmap_lookup_le_range()
504 irec->rm_blockcount, irec->rm_owner, irec->rm_offset, in xfs_rmap_lookup_le_range()
553 if (XFS_IS_CORRUPT(mp, rec->rm_offset > offset)) { in xfs_rmap_free_check_owner()
628 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap()
629 ltoff = ltrec.rm_offset; in xfs_rmap_unmap()
694 ltrec.rm_owner, ltrec.rm_offset, in xfs_rmap_unmap()
717 ltrec.rm_offset += len; in xfs_rmap_unmap()
766 cur->bc_rec.r.rm_offset = 0; in xfs_rmap_unmap()
768 cur->bc_rec.r.rm_offset = offset + len; in xfs_rmap_unmap()
774 cur->bc_rec.r.rm_offset, in xfs_rmap_unmap()
894 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_map()
930 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map()
941 (ignore_off || ltrec.rm_offset + ltrec.rm_blockcount == offset)) { in xfs_rmap_map()
954 (ignore_off || offset + len == gtrec.rm_offset) && in xfs_rmap_map()
971 gtrec.rm_offset, in xfs_rmap_map()
991 (ignore_off || offset + len == gtrec.rm_offset)) { in xfs_rmap_map()
1004 gtrec.rm_offset = offset; in xfs_rmap_map()
1016 cur->bc_rec.r.rm_offset = offset; in xfs_rmap_map()
1126 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert()
1128 ASSERT(PREV.rm_offset <= offset); in xfs_rmap_convert()
1129 ASSERT(PREV.rm_offset + PREV.rm_blockcount >= new_endoff); in xfs_rmap_convert()
1137 if (PREV.rm_offset == offset) in xfs_rmap_convert()
1139 if (PREV.rm_offset + PREV.rm_blockcount == new_endoff) in xfs_rmap_convert()
1168 LEFT.rm_offset, LEFT.rm_flags); in xfs_rmap_convert()
1170 LEFT.rm_offset + LEFT.rm_blockcount == offset && in xfs_rmap_convert()
1206 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert()
1208 offset + len == RIGHT.rm_offset && in xfs_rmap_convert()
1254 RIGHT.rm_owner, RIGHT.rm_offset, in xfs_rmap_convert()
1272 PREV.rm_owner, PREV.rm_offset, in xfs_rmap_convert()
1302 PREV.rm_owner, PREV.rm_offset, in xfs_rmap_convert()
1339 RIGHT.rm_owner, RIGHT.rm_offset, in xfs_rmap_convert()
1382 NEW.rm_offset += len; in xfs_rmap_convert()
1405 NEW.rm_offset += len; in xfs_rmap_convert()
1412 NEW.rm_offset = offset; in xfs_rmap_convert()
1441 NEW.rm_offset = offset; in xfs_rmap_convert()
1469 NEW.rm_offset = offset; in xfs_rmap_convert()
1493 NEW.rm_offset = new_endoff; in xfs_rmap_convert()
1494 NEW.rm_blockcount = PREV.rm_offset + PREV.rm_blockcount - in xfs_rmap_convert()
1502 NEW.rm_blockcount = offset - PREV.rm_offset; in xfs_rmap_convert()
1506 NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert()
1613 ASSERT(PREV.rm_offset <= offset); in xfs_rmap_convert_shared()
1614 ASSERT(PREV.rm_offset + PREV.rm_blockcount >= new_endoff); in xfs_rmap_convert_shared()
1622 if (PREV.rm_offset == offset) in xfs_rmap_convert_shared()
1624 if (PREV.rm_offset + PREV.rm_blockcount == new_endoff) in xfs_rmap_convert_shared()
1665 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert_shared()
1694 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert_shared()
1699 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert_shared()
1705 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1725 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert_shared()
1731 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1751 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert_shared()
1757 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1780 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1801 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1804 NEW.rm_offset += len; in xfs_rmap_convert_shared()
1809 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1815 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1836 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1839 NEW.rm_offset += len; in xfs_rmap_convert_shared()
1844 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1860 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1867 NEW.rm_blockcount = offset - NEW.rm_offset; in xfs_rmap_convert_shared()
1874 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1877 NEW.rm_offset = offset; in xfs_rmap_convert_shared()
1882 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1895 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1920 NEW.rm_offset = new_endoff; in xfs_rmap_convert_shared()
1921 NEW.rm_blockcount = PREV.rm_offset + PREV.rm_blockcount - in xfs_rmap_convert_shared()
1925 NEW.rm_blockcount, NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert_shared()
1933 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1940 NEW.rm_blockcount = offset - NEW.rm_offset; in xfs_rmap_convert_shared()
1948 NEW.rm_offset = offset; in xfs_rmap_convert_shared()
1951 NEW.rm_blockcount, NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert_shared()
2029 ltoff = ltrec.rm_offset; in xfs_rmap_unmap_shared()
2055 if (XFS_IS_CORRUPT(mp, ltrec.rm_offset > offset)) { in xfs_rmap_unmap_shared()
2068 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap_shared()
2086 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap_shared()
2093 ltrec.rm_offset += len; in xfs_rmap_unmap_shared()
2096 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap_shared()
2112 ltrec.rm_offset, ltrec.rm_flags, &i); in xfs_rmap_unmap_shared()
2141 ltrec.rm_offset, ltrec.rm_flags, &i); in xfs_rmap_unmap_shared()
2230 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2238 ltrec.rm_offset + ltrec.rm_blockcount == offset) { in xfs_rmap_map_shared()
2251 offset + len == gtrec.rm_offset) { in xfs_rmap_map_shared()
2264 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2272 ltrec.rm_offset, ltrec.rm_flags, &i); in xfs_rmap_map_shared()
2285 offset + len == gtrec.rm_offset) { in xfs_rmap_map_shared()
2298 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2305 gtrec.rm_offset = offset; in xfs_rmap_map_shared()
2308 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2339 oinfo.oi_offset = rmap->rm_offset; in xfs_rmap_map_raw()
2783 roc->good.rm_offset = oinfo->oi_offset; in xfs_rmap_ownercount_init()
2812 check.rm_offset += delta; in xfs_rmap_count_owners_helper()
2827 check.rm_offset == roc->good.rm_offset && in xfs_rmap_count_owners_helper()