Lines Matching refs:cur
31 struct xfs_btree_cur *cur, in xfs_rmap_lookup_le() argument
39 cur->bc_rec.r.rm_startblock = bno; in xfs_rmap_lookup_le()
40 cur->bc_rec.r.rm_blockcount = len; in xfs_rmap_lookup_le()
41 cur->bc_rec.r.rm_owner = owner; in xfs_rmap_lookup_le()
42 cur->bc_rec.r.rm_offset = offset; in xfs_rmap_lookup_le()
43 cur->bc_rec.r.rm_flags = flags; in xfs_rmap_lookup_le()
44 return xfs_btree_lookup(cur, XFS_LOOKUP_LE, stat); in xfs_rmap_lookup_le()
53 struct xfs_btree_cur *cur, in xfs_rmap_lookup_eq() argument
61 cur->bc_rec.r.rm_startblock = bno; in xfs_rmap_lookup_eq()
62 cur->bc_rec.r.rm_blockcount = len; in xfs_rmap_lookup_eq()
63 cur->bc_rec.r.rm_owner = owner; in xfs_rmap_lookup_eq()
64 cur->bc_rec.r.rm_offset = offset; in xfs_rmap_lookup_eq()
65 cur->bc_rec.r.rm_flags = flags; in xfs_rmap_lookup_eq()
66 return xfs_btree_lookup(cur, XFS_LOOKUP_EQ, stat); in xfs_rmap_lookup_eq()
76 struct xfs_btree_cur *cur, in xfs_rmap_update() argument
82 trace_xfs_rmap_update(cur->bc_mp, cur->bc_ag.agno, in xfs_rmap_update()
91 error = xfs_btree_update(cur, &rec); in xfs_rmap_update()
93 trace_xfs_rmap_update_error(cur->bc_mp, in xfs_rmap_update()
94 cur->bc_ag.agno, error, _RET_IP_); in xfs_rmap_update()
195 struct xfs_btree_cur *cur, in xfs_rmap_get_rec() argument
199 struct xfs_mount *mp = cur->bc_mp; in xfs_rmap_get_rec()
200 xfs_agnumber_t agno = cur->bc_ag.agno; in xfs_rmap_get_rec()
204 error = xfs_btree_get_rec(cur, &rec, stat); in xfs_rmap_get_rec()
256 struct xfs_btree_cur *cur, in xfs_rmap_find_left_neighbor_helper() argument
262 trace_xfs_rmap_find_left_neighbor_candidate(cur->bc_mp, in xfs_rmap_find_left_neighbor_helper()
263 cur->bc_ag.agno, rec->rm_startblock, in xfs_rmap_find_left_neighbor_helper()
286 struct xfs_btree_cur *cur, in xfs_rmap_find_left_neighbor() argument
314 trace_xfs_rmap_find_left_neighbor_query(cur->bc_mp, in xfs_rmap_find_left_neighbor()
315 cur->bc_ag.agno, bno, 0, owner, offset, flags); in xfs_rmap_find_left_neighbor()
317 error = xfs_rmap_query_range(cur, &info.high, &info.high, in xfs_rmap_find_left_neighbor()
322 trace_xfs_rmap_find_left_neighbor_result(cur->bc_mp, in xfs_rmap_find_left_neighbor()
323 cur->bc_ag.agno, irec->rm_startblock, in xfs_rmap_find_left_neighbor()
332 struct xfs_btree_cur *cur, in xfs_rmap_lookup_le_range_helper() argument
338 trace_xfs_rmap_lookup_le_range_candidate(cur->bc_mp, in xfs_rmap_lookup_le_range_helper()
339 cur->bc_ag.agno, rec->rm_startblock, in xfs_rmap_lookup_le_range_helper()
364 struct xfs_btree_cur *cur, in xfs_rmap_lookup_le_range() argument
387 trace_xfs_rmap_lookup_le_range(cur->bc_mp, in xfs_rmap_lookup_le_range()
388 cur->bc_ag.agno, bno, 0, owner, offset, flags); in xfs_rmap_lookup_le_range()
389 error = xfs_rmap_query_range(cur, &info.high, &info.high, in xfs_rmap_lookup_le_range()
394 trace_xfs_rmap_lookup_le_range_result(cur->bc_mp, in xfs_rmap_lookup_le_range()
395 cur->bc_ag.agno, irec->rm_startblock, in xfs_rmap_lookup_le_range()
480 struct xfs_btree_cur *cur, in xfs_rmap_unmap() argument
486 struct xfs_mount *mp = cur->bc_mp; in xfs_rmap_unmap()
501 trace_xfs_rmap_unmap(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_unmap()
509 error = xfs_rmap_lookup_le(cur, bno, len, owner, offset, flags, &i); in xfs_rmap_unmap()
517 error = xfs_rmap_get_rec(cur, <rec, &i); in xfs_rmap_unmap()
524 trace_xfs_rmap_lookup_le_range_result(cur->bc_mp, in xfs_rmap_unmap()
525 cur->bc_ag.agno, ltrec.rm_startblock, in xfs_rmap_unmap()
558 error = xfs_btree_increment(cur, 0, &i); in xfs_rmap_unmap()
563 error = xfs_rmap_get_rec(cur, &rtrec, &i); in xfs_rmap_unmap()
591 trace_xfs_rmap_delete(mp, cur->bc_ag.agno, in xfs_rmap_unmap()
595 error = xfs_btree_delete(cur, &i); in xfs_rmap_unmap()
617 error = xfs_rmap_update(cur, <rec); in xfs_rmap_unmap()
632 error = xfs_rmap_update(cur, <rec); in xfs_rmap_unmap()
652 error = xfs_rmap_update(cur, <rec); in xfs_rmap_unmap()
656 error = xfs_btree_increment(cur, 0, &i); in xfs_rmap_unmap()
660 cur->bc_rec.r.rm_startblock = bno + len; in xfs_rmap_unmap()
661 cur->bc_rec.r.rm_blockcount = orig_len - len - in xfs_rmap_unmap()
663 cur->bc_rec.r.rm_owner = ltrec.rm_owner; in xfs_rmap_unmap()
665 cur->bc_rec.r.rm_offset = 0; in xfs_rmap_unmap()
667 cur->bc_rec.r.rm_offset = offset + len; in xfs_rmap_unmap()
668 cur->bc_rec.r.rm_flags = flags; in xfs_rmap_unmap()
669 trace_xfs_rmap_insert(mp, cur->bc_ag.agno, in xfs_rmap_unmap()
670 cur->bc_rec.r.rm_startblock, in xfs_rmap_unmap()
671 cur->bc_rec.r.rm_blockcount, in xfs_rmap_unmap()
672 cur->bc_rec.r.rm_owner, in xfs_rmap_unmap()
673 cur->bc_rec.r.rm_offset, in xfs_rmap_unmap()
674 cur->bc_rec.r.rm_flags); in xfs_rmap_unmap()
675 error = xfs_btree_insert(cur, &i); in xfs_rmap_unmap()
681 trace_xfs_rmap_unmap_done(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_unmap()
685 trace_xfs_rmap_unmap_error(mp, cur->bc_ag.agno, in xfs_rmap_unmap()
703 struct xfs_btree_cur *cur; in xfs_rmap_free() local
709 cur = xfs_rmapbt_init_cursor(mp, tp, agbp, agno); in xfs_rmap_free()
711 error = xfs_rmap_unmap(cur, bno, len, false, oinfo); in xfs_rmap_free()
713 xfs_btree_del_cursor(cur, error); in xfs_rmap_free()
752 struct xfs_btree_cur *cur, in xfs_rmap_map() argument
758 struct xfs_mount *mp = cur->bc_mp; in xfs_rmap_map()
776 trace_xfs_rmap_map(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_map()
785 error = xfs_rmap_lookup_le(cur, bno, len, owner, offset, flags, in xfs_rmap_map()
790 error = xfs_rmap_get_rec(cur, <rec, &have_lt); in xfs_rmap_map()
797 trace_xfs_rmap_lookup_le_range_result(cur->bc_mp, in xfs_rmap_map()
798 cur->bc_ag.agno, ltrec.rm_startblock, in xfs_rmap_map()
818 error = xfs_btree_increment(cur, 0, &have_gt); in xfs_rmap_map()
822 error = xfs_rmap_get_rec(cur, >rec, &have_gt); in xfs_rmap_map()
833 trace_xfs_rmap_find_right_neighbor_result(cur->bc_mp, in xfs_rmap_map()
834 cur->bc_ag.agno, gtrec.rm_startblock, in xfs_rmap_map()
873 trace_xfs_rmap_delete(mp, cur->bc_ag.agno, in xfs_rmap_map()
879 error = xfs_btree_delete(cur, &i); in xfs_rmap_map()
889 error = xfs_btree_decrement(cur, 0, &have_gt); in xfs_rmap_map()
892 error = xfs_rmap_update(cur, <rec); in xfs_rmap_map()
911 error = xfs_rmap_update(cur, >rec); in xfs_rmap_map()
919 cur->bc_rec.r.rm_startblock = bno; in xfs_rmap_map()
920 cur->bc_rec.r.rm_blockcount = len; in xfs_rmap_map()
921 cur->bc_rec.r.rm_owner = owner; in xfs_rmap_map()
922 cur->bc_rec.r.rm_offset = offset; in xfs_rmap_map()
923 cur->bc_rec.r.rm_flags = flags; in xfs_rmap_map()
924 trace_xfs_rmap_insert(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_map()
926 error = xfs_btree_insert(cur, &i); in xfs_rmap_map()
935 trace_xfs_rmap_map_done(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_map()
939 trace_xfs_rmap_map_error(mp, cur->bc_ag.agno, in xfs_rmap_map()
957 struct xfs_btree_cur *cur; in xfs_rmap_alloc() local
963 cur = xfs_rmapbt_init_cursor(mp, tp, agbp, agno); in xfs_rmap_alloc()
964 error = xfs_rmap_map(cur, bno, len, false, oinfo); in xfs_rmap_alloc()
966 xfs_btree_del_cursor(cur, error); in xfs_rmap_alloc()
988 struct xfs_btree_cur *cur, in xfs_rmap_convert() argument
994 struct xfs_mount *mp = cur->bc_mp; in xfs_rmap_convert()
1013 trace_xfs_rmap_convert(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_convert()
1021 error = xfs_rmap_lookup_le(cur, bno, len, owner, offset, oldext, &i); in xfs_rmap_convert()
1029 error = xfs_rmap_get_rec(cur, &PREV, &i); in xfs_rmap_convert()
1036 trace_xfs_rmap_lookup_le_range_result(cur->bc_mp, in xfs_rmap_convert()
1037 cur->bc_ag.agno, PREV.rm_startblock, in xfs_rmap_convert()
1060 error = xfs_btree_decrement(cur, 0, &i); in xfs_rmap_convert()
1065 error = xfs_rmap_get_rec(cur, &LEFT, &i); in xfs_rmap_convert()
1078 trace_xfs_rmap_find_left_neighbor_result(cur->bc_mp, in xfs_rmap_convert()
1079 cur->bc_ag.agno, LEFT.rm_startblock, in xfs_rmap_convert()
1093 error = xfs_btree_increment(cur, 0, &i); in xfs_rmap_convert()
1100 error = xfs_btree_increment(cur, 0, &i); in xfs_rmap_convert()
1105 error = xfs_rmap_get_rec(cur, &RIGHT, &i); in xfs_rmap_convert()
1116 trace_xfs_rmap_find_right_neighbor_result(cur->bc_mp, in xfs_rmap_convert()
1117 cur->bc_ag.agno, RIGHT.rm_startblock, in xfs_rmap_convert()
1135 trace_xfs_rmap_convert_state(mp, cur->bc_ag.agno, state, in xfs_rmap_convert()
1139 error = xfs_rmap_lookup_le(cur, bno, len, owner, offset, oldext, &i); in xfs_rmap_convert()
1158 error = xfs_btree_increment(cur, 0, &i); in xfs_rmap_convert()
1165 trace_xfs_rmap_delete(mp, cur->bc_ag.agno, in xfs_rmap_convert()
1169 error = xfs_btree_delete(cur, &i); in xfs_rmap_convert()
1176 error = xfs_btree_decrement(cur, 0, &i); in xfs_rmap_convert()
1183 trace_xfs_rmap_delete(mp, cur->bc_ag.agno, in xfs_rmap_convert()
1187 error = xfs_btree_delete(cur, &i); in xfs_rmap_convert()
1194 error = xfs_btree_decrement(cur, 0, &i); in xfs_rmap_convert()
1203 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert()
1213 trace_xfs_rmap_delete(mp, cur->bc_ag.agno, in xfs_rmap_convert()
1217 error = xfs_btree_delete(cur, &i); in xfs_rmap_convert()
1224 error = xfs_btree_decrement(cur, 0, &i); in xfs_rmap_convert()
1233 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert()
1243 error = xfs_btree_increment(cur, 0, &i); in xfs_rmap_convert()
1250 trace_xfs_rmap_delete(mp, cur->bc_ag.agno, in xfs_rmap_convert()
1254 error = xfs_btree_delete(cur, &i); in xfs_rmap_convert()
1261 error = xfs_btree_decrement(cur, 0, &i); in xfs_rmap_convert()
1271 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert()
1284 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert()
1298 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert()
1301 error = xfs_btree_decrement(cur, 0, &i); in xfs_rmap_convert()
1306 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert()
1320 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert()
1328 cur->bc_rec.r = NEW; in xfs_rmap_convert()
1329 trace_xfs_rmap_insert(mp, cur->bc_ag.agno, bno, in xfs_rmap_convert()
1331 error = xfs_btree_insert(cur, &i); in xfs_rmap_convert()
1347 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert()
1350 error = xfs_btree_increment(cur, 0, &i); in xfs_rmap_convert()
1357 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert()
1369 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert()
1372 error = xfs_rmap_lookup_eq(cur, bno, len, owner, offset, in xfs_rmap_convert()
1385 cur->bc_rec.r = NEW; in xfs_rmap_convert()
1386 trace_xfs_rmap_insert(mp, cur->bc_ag.agno, bno, in xfs_rmap_convert()
1388 error = xfs_btree_insert(cur, &i); in xfs_rmap_convert()
1410 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert()
1416 cur->bc_rec.r = NEW; in xfs_rmap_convert()
1417 trace_xfs_rmap_insert(mp, cur->bc_ag.agno, in xfs_rmap_convert()
1421 error = xfs_btree_insert(cur, &i); in xfs_rmap_convert()
1433 error = xfs_rmap_lookup_eq(cur, bno, len, owner, offset, in xfs_rmap_convert()
1442 cur->bc_rec.r.rm_flags &= ~XFS_RMAP_UNWRITTEN; in xfs_rmap_convert()
1443 cur->bc_rec.r.rm_flags |= newext; in xfs_rmap_convert()
1444 trace_xfs_rmap_insert(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_convert()
1446 error = xfs_btree_insert(cur, &i); in xfs_rmap_convert()
1468 trace_xfs_rmap_convert_done(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_convert()
1472 trace_xfs_rmap_convert_error(cur->bc_mp, in xfs_rmap_convert()
1473 cur->bc_ag.agno, error, _RET_IP_); in xfs_rmap_convert()
1484 struct xfs_btree_cur *cur, in xfs_rmap_convert_shared() argument
1490 struct xfs_mount *mp = cur->bc_mp; in xfs_rmap_convert_shared()
1509 trace_xfs_rmap_convert(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_convert_shared()
1517 error = xfs_rmap_lookup_le_range(cur, bno, owner, offset, oldext, in xfs_rmap_convert_shared()
1541 error = xfs_rmap_find_left_neighbor(cur, bno, owner, offset, newext, in xfs_rmap_convert_shared()
1558 error = xfs_rmap_lookup_eq(cur, bno + len, len, owner, offset + len, in xfs_rmap_convert_shared()
1564 error = xfs_rmap_get_rec(cur, &RIGHT, &i); in xfs_rmap_convert_shared()
1575 trace_xfs_rmap_find_right_neighbor_result(cur->bc_mp, in xfs_rmap_convert_shared()
1576 cur->bc_ag.agno, RIGHT.rm_startblock, in xfs_rmap_convert_shared()
1592 trace_xfs_rmap_convert_state(mp, cur->bc_ag.agno, state, in xfs_rmap_convert_shared()
1605 error = xfs_rmap_delete(cur, RIGHT.rm_startblock, in xfs_rmap_convert_shared()
1610 error = xfs_rmap_delete(cur, PREV.rm_startblock, in xfs_rmap_convert_shared()
1616 error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1626 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert_shared()
1636 error = xfs_rmap_delete(cur, PREV.rm_startblock, in xfs_rmap_convert_shared()
1642 error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1652 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert_shared()
1662 error = xfs_rmap_delete(cur, RIGHT.rm_startblock, in xfs_rmap_convert_shared()
1668 error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1679 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert_shared()
1691 error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1701 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert_shared()
1712 error = xfs_rmap_delete(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1720 error = xfs_rmap_insert(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1726 error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1736 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert_shared()
1747 error = xfs_rmap_delete(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1755 error = xfs_rmap_insert(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1760 error = xfs_rmap_insert(cur, bno, len, owner, offset, newext); in xfs_rmap_convert_shared()
1771 error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1781 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert_shared()
1785 error = xfs_rmap_delete(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1793 error = xfs_rmap_insert(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1806 error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1816 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert_shared()
1819 error = xfs_rmap_insert(cur, bno, len, owner, offset, newext); in xfs_rmap_convert_shared()
1837 error = xfs_rmap_insert(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1844 error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1854 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert_shared()
1863 error = xfs_rmap_insert(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1883 trace_xfs_rmap_convert_done(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_convert_shared()
1887 trace_xfs_rmap_convert_error(cur->bc_mp, in xfs_rmap_convert_shared()
1888 cur->bc_ag.agno, error, _RET_IP_); in xfs_rmap_convert_shared()
1908 struct xfs_btree_cur *cur, in xfs_rmap_unmap_shared() argument
1914 struct xfs_mount *mp = cur->bc_mp; in xfs_rmap_unmap_shared()
1926 trace_xfs_rmap_unmap(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_unmap_shared()
1934 error = xfs_rmap_lookup_le_range(cur, bno, owner, offset, flags, in xfs_rmap_unmap_shared()
1979 error = xfs_rmap_delete(cur, ltrec.rm_startblock, in xfs_rmap_unmap_shared()
1997 error = xfs_rmap_delete(cur, ltrec.rm_startblock, in xfs_rmap_unmap_shared()
2007 error = xfs_rmap_insert(cur, ltrec.rm_startblock, in xfs_rmap_unmap_shared()
2023 error = xfs_rmap_lookup_eq(cur, ltrec.rm_startblock, in xfs_rmap_unmap_shared()
2033 error = xfs_rmap_update(cur, <rec); in xfs_rmap_unmap_shared()
2052 error = xfs_rmap_lookup_eq(cur, ltrec.rm_startblock, in xfs_rmap_unmap_shared()
2062 error = xfs_rmap_update(cur, <rec); in xfs_rmap_unmap_shared()
2067 error = xfs_rmap_insert(cur, bno + len, in xfs_rmap_unmap_shared()
2075 trace_xfs_rmap_unmap_done(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_unmap_shared()
2079 trace_xfs_rmap_unmap_error(cur->bc_mp, in xfs_rmap_unmap_shared()
2080 cur->bc_ag.agno, error, _RET_IP_); in xfs_rmap_unmap_shared()
2095 struct xfs_btree_cur *cur, in xfs_rmap_map_shared() argument
2101 struct xfs_mount *mp = cur->bc_mp; in xfs_rmap_map_shared()
2115 trace_xfs_rmap_map(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_map_shared()
2119 error = xfs_rmap_find_left_neighbor(cur, bno, owner, offset, flags, in xfs_rmap_map_shared()
2128 error = xfs_rmap_lookup_eq(cur, bno + len, len, owner, offset + len, in xfs_rmap_map_shared()
2133 error = xfs_rmap_get_rec(cur, >rec, &have_gt); in xfs_rmap_map_shared()
2140 trace_xfs_rmap_find_right_neighbor_result(cur->bc_mp, in xfs_rmap_map_shared()
2141 cur->bc_ag.agno, gtrec.rm_startblock, in xfs_rmap_map_shared()
2175 error = xfs_rmap_delete(cur, gtrec.rm_startblock, in xfs_rmap_map_shared()
2183 error = xfs_rmap_lookup_eq(cur, ltrec.rm_startblock, in xfs_rmap_map_shared()
2193 error = xfs_rmap_update(cur, <rec); in xfs_rmap_map_shared()
2209 error = xfs_rmap_delete(cur, gtrec.rm_startblock, in xfs_rmap_map_shared()
2219 error = xfs_rmap_insert(cur, gtrec.rm_startblock, in xfs_rmap_map_shared()
2229 error = xfs_rmap_insert(cur, bno, len, owner, offset, flags); in xfs_rmap_map_shared()
2234 trace_xfs_rmap_map_done(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_map_shared()
2238 trace_xfs_rmap_map_error(cur->bc_mp, in xfs_rmap_map_shared()
2239 cur->bc_ag.agno, error, _RET_IP_); in xfs_rmap_map_shared()
2246 struct xfs_btree_cur *cur, in xfs_rmap_map_raw() argument
2260 return xfs_rmap_map(cur, rmap->rm_startblock, in xfs_rmap_map_raw()
2265 return xfs_rmap_map_shared(cur, rmap->rm_startblock, in xfs_rmap_map_raw()
2279 struct xfs_btree_cur *cur, in xfs_rmap_query_range_helper() argument
2290 return query->fn(cur, &irec, query->priv); in xfs_rmap_query_range_helper()
2296 struct xfs_btree_cur *cur, in xfs_rmap_query_range() argument
2310 return xfs_btree_query_range(cur, &low_brec, &high_brec, in xfs_rmap_query_range()
2317 struct xfs_btree_cur *cur, in xfs_rmap_query_all() argument
2325 return xfs_btree_query_all(cur, xfs_rmap_query_range_helper, &query); in xfs_rmap_query_all()
2638 struct xfs_btree_cur *cur, in xfs_rmap_has_record() argument
2651 return xfs_btree_has_record(cur, &low, &high, exists); in xfs_rmap_has_record()
2663 struct xfs_btree_cur *cur, in xfs_rmap_record_exists() argument
2680 error = xfs_rmap_lookup_le(cur, bno, len, owner, offset, flags, in xfs_rmap_record_exists()
2689 error = xfs_rmap_get_rec(cur, &irec, &has_record); in xfs_rmap_record_exists()
2711 struct xfs_btree_cur *cur, in xfs_rmap_has_other_keys_helper() argument
2729 struct xfs_btree_cur *cur, in xfs_rmap_has_other_keys() argument
2747 error = xfs_rmap_query_range(cur, &low, &high, in xfs_rmap_has_other_keys()