Lines Matching refs:cur

88 #define XFS_BTREE_STATS_INC(cur, stat)	\  argument
89 XFS_STATS_INC_OFF((cur)->bc_mp, (cur)->bc_statoff + __XBTS_ ## stat)
90 #define XFS_BTREE_STATS_ADD(cur, stat, val) \ argument
91 XFS_STATS_ADD_OFF((cur)->bc_mp, (cur)->bc_statoff + __XBTS_ ## stat, val)
106 void (*set_root)(struct xfs_btree_cur *cur,
110 int (*alloc_block)(struct xfs_btree_cur *cur,
114 int (*free_block)(struct xfs_btree_cur *cur, struct xfs_buf *bp);
117 void (*update_lastrec)(struct xfs_btree_cur *cur,
123 int (*get_minrecs)(struct xfs_btree_cur *cur, int level);
124 int (*get_maxrecs)(struct xfs_btree_cur *cur, int level);
127 int (*get_dmaxrecs)(struct xfs_btree_cur *cur, int level);
132 void (*init_rec_from_cur)(struct xfs_btree_cur *cur,
134 void (*init_ptr_from_cur)(struct xfs_btree_cur *cur,
140 int64_t (*key_diff)(struct xfs_btree_cur *cur,
147 int64_t (*diff_two_keys)(struct xfs_btree_cur *cur,
154 int (*keys_inorder)(struct xfs_btree_cur *cur,
159 int (*recs_inorder)(struct xfs_btree_cur *cur,
246 xfs_failaddr_t __xfs_btree_check_lblock(struct xfs_btree_cur *cur,
248 xfs_failaddr_t __xfs_btree_check_sblock(struct xfs_btree_cur *cur,
256 struct xfs_btree_cur *cur, /* btree cursor */
266 struct xfs_btree_cur *cur, /* btree cursor */
275 struct xfs_btree_cur *cur, /* btree cursor */
284 xfs_btree_cur_t *cur, /* btree cursor */
293 xfs_btree_cur_t *cur, /* input cursor */
324 xfs_btree_cur_t *cur, /* btree cursor */
411 int xfs_btree_change_owner(struct xfs_btree_cur *cur, uint64_t new_owner,
474 typedef int (*xfs_btree_query_range_fn)(struct xfs_btree_cur *cur,
477 int xfs_btree_query_range(struct xfs_btree_cur *cur,
480 int xfs_btree_query_all(struct xfs_btree_cur *cur, xfs_btree_query_range_fn fn,
483 typedef int (*xfs_btree_visit_blocks_fn)(struct xfs_btree_cur *cur, int level,
485 int xfs_btree_visit_blocks(struct xfs_btree_cur *cur,
488 int xfs_btree_count_blocks(struct xfs_btree_cur *cur, xfs_extlen_t *blocks);
490 union xfs_btree_rec *xfs_btree_rec_addr(struct xfs_btree_cur *cur, int n,
492 union xfs_btree_key *xfs_btree_key_addr(struct xfs_btree_cur *cur, int n,
494 union xfs_btree_key *xfs_btree_high_key_addr(struct xfs_btree_cur *cur, int n,
496 union xfs_btree_ptr *xfs_btree_ptr_addr(struct xfs_btree_cur *cur, int n,
498 int xfs_btree_lookup_get_block(struct xfs_btree_cur *cur, int level,
500 struct xfs_btree_block *xfs_btree_get_block(struct xfs_btree_cur *cur,
502 bool xfs_btree_ptr_is_null(struct xfs_btree_cur *cur, union xfs_btree_ptr *ptr);
503 int64_t xfs_btree_diff_two_ptrs(struct xfs_btree_cur *cur,
506 void xfs_btree_get_sibling(struct xfs_btree_cur *cur,
509 void xfs_btree_get_keys(struct xfs_btree_cur *cur,
511 union xfs_btree_key *xfs_btree_high_key_from_key(struct xfs_btree_cur *cur,
513 int xfs_btree_has_record(struct xfs_btree_cur *cur, union xfs_btree_irec *low,
515 bool xfs_btree_has_more_records(struct xfs_btree_cur *cur);