Lines Matching refs:rm_offset

53 	cur->bc_rec.r.rm_offset = offset;  in xfs_rmap_lookup_le()
88 cur->bc_rec.r.rm_offset = offset; in xfs_rmap_lookup_eq()
107 irec->rm_owner, irec->rm_offset, irec->rm_flags); in xfs_rmap_update()
112 rec.rmap.rm_offset = cpu_to_be64( in xfs_rmap_update()
146 rcur->bc_rec.r.rm_offset = offset; in xfs_rmap_insert()
208 return xfs_rmap_irec_offset_unpack(be64_to_cpu(rec->rmap.rm_offset), in xfs_rmap_btrec_to_irec()
249 if (is_bmbt && irec->rm_offset != 0) in xfs_rmap_check_irec()
252 if (!is_inode && irec->rm_offset != 0) in xfs_rmap_check_irec()
263 !xfs_verify_fileext(mp, irec->rm_offset, irec->rm_blockcount)) in xfs_rmap_check_irec()
276 if (irec->rm_offset != 0) in xfs_rtrmap_check_meta_irec()
313 if (!xfs_verify_fileext(mp, irec->rm_offset, irec->rm_blockcount)) in xfs_rtrmap_check_inode_irec()
411 rec->rm_blockcount, rec->rm_owner, rec->rm_offset, in xfs_rmap_find_left_neighbor_helper()
418 rec->rm_offset + rec->rm_blockcount - 1 != info->high.rm_offset) in xfs_rmap_find_left_neighbor_helper()
453 info.high.rm_offset = offset - 1; in xfs_rmap_find_left_neighbor()
455 info.high.rm_offset = 0; in xfs_rmap_find_left_neighbor()
493 irec->rm_blockcount, irec->rm_owner, irec->rm_offset, in xfs_rmap_find_left_neighbor()
508 rec->rm_blockcount, rec->rm_owner, rec->rm_offset, in xfs_rmap_lookup_le_range_helper()
515 (rec->rm_offset > info->high.rm_offset || in xfs_rmap_lookup_le_range_helper()
516 rec->rm_offset + rec->rm_blockcount <= info->high.rm_offset)) in xfs_rmap_lookup_le_range_helper()
546 info.high.rm_offset = offset; in xfs_rmap_lookup_le_range()
548 info.high.rm_offset = 0; in xfs_rmap_lookup_le_range()
586 irec->rm_blockcount, irec->rm_owner, irec->rm_offset, in xfs_rmap_lookup_le_range()
639 if (XFS_IS_CORRUPT(mp, rec->rm_offset > offset)) { in xfs_rmap_free_check_owner()
714 ltrec.rm_blockcount, ltrec.rm_owner, ltrec.rm_offset, in xfs_rmap_unmap()
716 ltoff = ltrec.rm_offset; in xfs_rmap_unmap()
784 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap()
807 ltrec.rm_offset += len; in xfs_rmap_unmap()
856 cur->bc_rec.r.rm_offset = 0; in xfs_rmap_unmap()
858 cur->bc_rec.r.rm_offset = offset + len; in xfs_rmap_unmap()
863 cur->bc_rec.r.rm_offset, in xfs_rmap_unmap()
1060 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_map()
1098 gtrec.rm_owner, gtrec.rm_offset, in xfs_rmap_map()
1110 (ignore_off || ltrec.rm_offset + ltrec.rm_blockcount == offset)) { in xfs_rmap_map()
1123 (ignore_off || offset + len == gtrec.rm_offset) && in xfs_rmap_map()
1138 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map()
1158 (ignore_off || offset + len == gtrec.rm_offset)) { in xfs_rmap_map()
1171 gtrec.rm_offset = offset; in xfs_rmap_map()
1183 cur->bc_rec.r.rm_offset = offset; in xfs_rmap_map()
1291 PREV.rm_blockcount, PREV.rm_owner, PREV.rm_offset, in xfs_rmap_convert()
1294 ASSERT(PREV.rm_offset <= offset); in xfs_rmap_convert()
1295 ASSERT(PREV.rm_offset + PREV.rm_blockcount >= new_endoff); in xfs_rmap_convert()
1303 if (PREV.rm_offset == offset) in xfs_rmap_convert()
1305 if (PREV.rm_offset + PREV.rm_blockcount == new_endoff) in xfs_rmap_convert()
1335 LEFT.rm_owner, LEFT.rm_offset, LEFT.rm_flags); in xfs_rmap_convert()
1337 LEFT.rm_offset + LEFT.rm_blockcount == offset && in xfs_rmap_convert()
1375 RIGHT.rm_owner, RIGHT.rm_offset, in xfs_rmap_convert()
1378 offset + len == RIGHT.rm_offset && in xfs_rmap_convert()
1425 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert()
1444 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert()
1475 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert()
1514 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert()
1558 NEW.rm_offset += len; in xfs_rmap_convert()
1581 NEW.rm_offset += len; in xfs_rmap_convert()
1588 NEW.rm_offset = offset; in xfs_rmap_convert()
1617 NEW.rm_offset = offset; in xfs_rmap_convert()
1646 NEW.rm_offset = offset; in xfs_rmap_convert()
1670 NEW.rm_offset = new_endoff; in xfs_rmap_convert()
1671 NEW.rm_blockcount = PREV.rm_offset + PREV.rm_blockcount - in xfs_rmap_convert()
1679 NEW.rm_blockcount = offset - PREV.rm_offset; in xfs_rmap_convert()
1682 NEW.rm_blockcount, NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert()
1789 ASSERT(PREV.rm_offset <= offset); in xfs_rmap_convert_shared()
1790 ASSERT(PREV.rm_offset + PREV.rm_blockcount >= new_endoff); in xfs_rmap_convert_shared()
1798 if (PREV.rm_offset == offset) in xfs_rmap_convert_shared()
1800 if (PREV.rm_offset + PREV.rm_blockcount == new_endoff) in xfs_rmap_convert_shared()
1843 RIGHT.rm_owner, RIGHT.rm_offset, in xfs_rmap_convert_shared()
1872 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert_shared()
1877 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert_shared()
1883 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1904 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert_shared()
1910 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1931 RIGHT.rm_offset, RIGHT.rm_flags); in xfs_rmap_convert_shared()
1937 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1961 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1983 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1986 NEW.rm_offset += len; in xfs_rmap_convert_shared()
1991 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1997 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
2019 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
2022 NEW.rm_offset += len; in xfs_rmap_convert_shared()
2027 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
2043 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
2051 NEW.rm_blockcount = offset - NEW.rm_offset; in xfs_rmap_convert_shared()
2058 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
2061 NEW.rm_offset = offset; in xfs_rmap_convert_shared()
2066 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
2079 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
2105 NEW.rm_offset = new_endoff; in xfs_rmap_convert_shared()
2106 NEW.rm_blockcount = PREV.rm_offset + PREV.rm_blockcount - in xfs_rmap_convert_shared()
2110 NEW.rm_blockcount, NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert_shared()
2118 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
2126 NEW.rm_blockcount = offset - NEW.rm_offset; in xfs_rmap_convert_shared()
2134 NEW.rm_offset = offset; in xfs_rmap_convert_shared()
2137 NEW.rm_blockcount, NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert_shared()
2213 ltoff = ltrec.rm_offset; in xfs_rmap_unmap_shared()
2242 if (XFS_IS_CORRUPT(mp, ltrec.rm_offset > offset)) { in xfs_rmap_unmap_shared()
2257 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap_shared()
2275 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap_shared()
2282 ltrec.rm_offset += len; in xfs_rmap_unmap_shared()
2285 ltrec.rm_offset, ltrec.rm_flags); in xfs_rmap_unmap_shared()
2301 ltrec.rm_offset, ltrec.rm_flags, &i); in xfs_rmap_unmap_shared()
2331 ltrec.rm_offset, ltrec.rm_flags, &i); in xfs_rmap_unmap_shared()
2418 gtrec.rm_owner, gtrec.rm_offset, in xfs_rmap_map_shared()
2427 ltrec.rm_offset + ltrec.rm_blockcount == offset) { in xfs_rmap_map_shared()
2440 offset + len == gtrec.rm_offset) { in xfs_rmap_map_shared()
2453 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2461 ltrec.rm_offset, ltrec.rm_flags, &i); in xfs_rmap_map_shared()
2475 offset + len == gtrec.rm_offset) { in xfs_rmap_map_shared()
2488 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2495 gtrec.rm_offset = offset; in xfs_rmap_map_shared()
2498 gtrec.rm_offset, gtrec.rm_flags); in xfs_rmap_map_shared()
2526 xfs_owner_info_pack(&oinfo, rmap->rm_owner, rmap->rm_offset, in xfs_rmap_map_raw()
2979 roc->good.rm_offset = oinfo->oi_offset; in xfs_rmap_ownercount_init()
3008 check.rm_offset += delta; in xfs_rmap_count_owners_helper()
3023 check.rm_offset == roc->good.rm_offset && in xfs_rmap_count_owners_helper()