Lines Matching refs:xfs_btree_cur
142 struct xfs_btree_cur *(*dup_cursor)(struct xfs_btree_cur *);
143 void (*update_cursor)(struct xfs_btree_cur *src,
144 struct xfs_btree_cur *dst);
147 void (*set_root)(struct xfs_btree_cur *cur,
151 int (*alloc_block)(struct xfs_btree_cur *cur,
155 int (*free_block)(struct xfs_btree_cur *cur, struct xfs_buf *bp);
158 int (*get_minrecs)(struct xfs_btree_cur *cur, int level);
159 int (*get_maxrecs)(struct xfs_btree_cur *cur, int level);
162 int (*get_dmaxrecs)(struct xfs_btree_cur *cur, int level);
167 void (*init_rec_from_cur)(struct xfs_btree_cur *cur,
169 void (*init_ptr_from_cur)(struct xfs_btree_cur *cur,
175 int64_t (*key_diff)(struct xfs_btree_cur *cur,
184 int64_t (*diff_two_keys)(struct xfs_btree_cur *cur,
192 int (*keys_inorder)(struct xfs_btree_cur *cur,
197 int (*recs_inorder)(struct xfs_btree_cur *cur,
212 enum xbtree_key_contig (*keys_contiguous)(struct xfs_btree_cur *cur,
247 struct xfs_btree_cur struct
299 return struct_size_t(struct xfs_btree_cur, bc_levels, nlevels); in xfs_btree_cur_sizeof() argument
327 xfs_failaddr_t __xfs_btree_check_block(struct xfs_btree_cur *cur,
329 int __xfs_btree_check_ptr(struct xfs_btree_cur *cur,
337 struct xfs_btree_cur *cur, /* btree cursor */
347 struct xfs_btree_cur *cur, /* btree cursor */
356 struct xfs_btree_cur *cur, /* input cursor */
357 struct xfs_btree_cur **ncur);/* output cursor */
384 int xfs_btree_increment(struct xfs_btree_cur *, int, int *);
385 int xfs_btree_decrement(struct xfs_btree_cur *, int, int *);
386 int xfs_btree_lookup(struct xfs_btree_cur *, xfs_lookup_t, int *);
387 int xfs_btree_update(struct xfs_btree_cur *, union xfs_btree_rec *);
388 int xfs_btree_new_iroot(struct xfs_btree_cur *, int *, int *);
389 int xfs_btree_insert(struct xfs_btree_cur *, int *);
390 int xfs_btree_delete(struct xfs_btree_cur *, int *);
391 int xfs_btree_get_rec(struct xfs_btree_cur *, union xfs_btree_rec **, int *);
392 int xfs_btree_change_owner(struct xfs_btree_cur *cur, uint64_t new_owner,
406 void xfs_btree_log_block(struct xfs_btree_cur *, struct xfs_buf *, uint32_t);
407 void xfs_btree_log_recs(struct xfs_btree_cur *, struct xfs_buf *, int, int);
465 typedef int (*xfs_btree_query_range_fn)(struct xfs_btree_cur *cur,
468 int xfs_btree_query_range(struct xfs_btree_cur *cur,
472 int xfs_btree_query_all(struct xfs_btree_cur *cur, xfs_btree_query_range_fn fn,
475 typedef int (*xfs_btree_visit_blocks_fn)(struct xfs_btree_cur *cur, int level,
484 int xfs_btree_visit_blocks(struct xfs_btree_cur *cur,
487 int xfs_btree_count_blocks(struct xfs_btree_cur *cur, xfs_filblks_t *blocks);
489 union xfs_btree_rec *xfs_btree_rec_addr(struct xfs_btree_cur *cur, int n,
491 union xfs_btree_key *xfs_btree_key_addr(struct xfs_btree_cur *cur, int n,
493 union xfs_btree_key *xfs_btree_high_key_addr(struct xfs_btree_cur *cur, int n,
495 union xfs_btree_ptr *xfs_btree_ptr_addr(struct xfs_btree_cur *cur, int n,
497 int xfs_btree_lookup_get_block(struct xfs_btree_cur *cur, int level,
499 struct xfs_btree_block *xfs_btree_get_block(struct xfs_btree_cur *cur,
501 bool xfs_btree_ptr_is_null(struct xfs_btree_cur *cur,
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 typedef bool (*xfs_btree_key_gap_fn)(struct xfs_btree_cur *cur,
517 int xfs_btree_has_records(struct xfs_btree_cur *cur,
523 bool xfs_btree_has_more_records(struct xfs_btree_cur *cur);
524 struct xfs_ifork *xfs_btree_ifork_ptr(struct xfs_btree_cur *cur);
529 struct xfs_btree_cur *cur, in xfs_btree_keycmp_lt()
538 struct xfs_btree_cur *cur, in xfs_btree_keycmp_gt()
547 struct xfs_btree_cur *cur, in xfs_btree_keycmp_eq()
556 struct xfs_btree_cur *cur, in xfs_btree_keycmp_le()
565 struct xfs_btree_cur *cur, in xfs_btree_keycmp_ge()
574 struct xfs_btree_cur *cur, in xfs_btree_keycmp_ne()
584 struct xfs_btree_cur *cur, in xfs_btree_masked_keycmp_lt()
594 struct xfs_btree_cur *cur, in xfs_btree_masked_keycmp_gt()
604 struct xfs_btree_cur *cur, in xfs_btree_masked_keycmp_ge()
615 struct xfs_btree_cur *cur, in xfs_btree_islastblock()
628 void xfs_btree_set_ptr_null(struct xfs_btree_cur *cur,
630 int xfs_btree_get_buf_block(struct xfs_btree_cur *cur,
633 int xfs_btree_read_buf_block(struct xfs_btree_cur *cur,
636 void xfs_btree_set_sibling(struct xfs_btree_cur *cur,
639 void xfs_btree_init_block_cur(struct xfs_btree_cur *cur,
641 void xfs_btree_copy_ptrs(struct xfs_btree_cur *cur,
644 void xfs_btree_copy_keys(struct xfs_btree_cur *cur,
647 void xfs_btree_init_ptr_from_cur(struct xfs_btree_cur *cur,
650 static inline struct xfs_btree_cur *
658 struct xfs_btree_cur *cur; in xfs_btree_alloc_cursor()
678 int xfs_btree_goto_left_edge(struct xfs_btree_cur *cur);
683 const struct xfs_btree_cur *cur, in xfs_btree_at_iroot()