Lines Matching defs:xfs_btree_cur

99 	struct xfs_btree_cur *(*dup_cursor)(struct xfs_btree_cur *);
100 void (*update_cursor)(struct xfs_btree_cur *src,
101 struct xfs_btree_cur *dst);
104 void (*set_root)(struct xfs_btree_cur *cur,
108 int (*alloc_block)(struct xfs_btree_cur *cur,
112 int (*free_block)(struct xfs_btree_cur *cur, struct xfs_buf *bp);
115 void (*update_lastrec)(struct xfs_btree_cur *cur,
121 int (*get_minrecs)(struct xfs_btree_cur *cur, int level);
122 int (*get_maxrecs)(struct xfs_btree_cur *cur, int level);
125 int (*get_dmaxrecs)(struct xfs_btree_cur *cur, int level);
130 void (*init_rec_from_cur)(struct xfs_btree_cur *cur,
132 void (*init_ptr_from_cur)(struct xfs_btree_cur *cur,
138 int64_t (*key_diff)(struct xfs_btree_cur *cur,
145 int64_t (*diff_two_keys)(struct xfs_btree_cur *cur,
152 int (*keys_inorder)(struct xfs_btree_cur *cur,
157 int (*recs_inorder)(struct xfs_btree_cur *cur,
228 struct xfs_btree_cur
264 return struct_size((struct xfs_btree_cur *)NULL, bc_levels, nlevels);
292 xfs_failaddr_t __xfs_btree_check_lblock(struct xfs_btree_cur *cur,
294 xfs_failaddr_t __xfs_btree_check_sblock(struct xfs_btree_cur *cur,
302 struct xfs_btree_cur *cur, /* btree cursor */
312 struct xfs_btree_cur *cur, /* btree cursor */
321 struct xfs_btree_cur *cur, /* btree cursor */
330 struct xfs_btree_cur *cur, /* btree cursor */
339 struct xfs_btree_cur *cur, /* input cursor */
340 struct xfs_btree_cur **ncur);/* output cursor */
416 int xfs_btree_increment(struct xfs_btree_cur *, int, int *);
417 int xfs_btree_decrement(struct xfs_btree_cur *, int, int *);
418 int xfs_btree_lookup(struct xfs_btree_cur *, xfs_lookup_t, int *);
419 int xfs_btree_update(struct xfs_btree_cur *, union xfs_btree_rec *);
420 int xfs_btree_new_iroot(struct xfs_btree_cur *, int *, int *);
421 int xfs_btree_insert(struct xfs_btree_cur *, int *);
422 int xfs_btree_delete(struct xfs_btree_cur *, int *);
423 int xfs_btree_get_rec(struct xfs_btree_cur *, union xfs_btree_rec **, int *);
424 int xfs_btree_change_owner(struct xfs_btree_cur *cur, uint64_t new_owner,
438 void xfs_btree_log_block(struct xfs_btree_cur *, struct xfs_buf *, int);
439 void xfs_btree_log_recs(struct xfs_btree_cur *, struct xfs_buf *, int, int);
495 typedef int (*xfs_btree_query_range_fn)(struct xfs_btree_cur *cur,
498 int xfs_btree_query_range(struct xfs_btree_cur *cur,
502 int xfs_btree_query_all(struct xfs_btree_cur *cur, xfs_btree_query_range_fn fn,
505 typedef int (*xfs_btree_visit_blocks_fn)(struct xfs_btree_cur *cur, int level,
514 int xfs_btree_visit_blocks(struct xfs_btree_cur *cur,
517 int xfs_btree_count_blocks(struct xfs_btree_cur *cur, xfs_extlen_t *blocks);
519 union xfs_btree_rec *xfs_btree_rec_addr(struct xfs_btree_cur *cur, int n,
521 union xfs_btree_key *xfs_btree_key_addr(struct xfs_btree_cur *cur, int n,
523 union xfs_btree_key *xfs_btree_high_key_addr(struct xfs_btree_cur *cur, int n,
525 union xfs_btree_ptr *xfs_btree_ptr_addr(struct xfs_btree_cur *cur, int n,
527 int xfs_btree_lookup_get_block(struct xfs_btree_cur *cur, int level,
529 struct xfs_btree_block *xfs_btree_get_block(struct xfs_btree_cur *cur,
531 bool xfs_btree_ptr_is_null(struct xfs_btree_cur *cur,
533 int64_t xfs_btree_diff_two_ptrs(struct xfs_btree_cur *cur,
536 void xfs_btree_get_sibling(struct xfs_btree_cur *cur,
539 void xfs_btree_get_keys(struct xfs_btree_cur *cur,
541 union xfs_btree_key *xfs_btree_high_key_from_key(struct xfs_btree_cur *cur,
543 int xfs_btree_has_record(struct xfs_btree_cur *cur,
546 bool xfs_btree_has_more_records(struct xfs_btree_cur *cur);
547 struct xfs_ifork *xfs_btree_ifork_ptr(struct xfs_btree_cur *cur);
552 struct xfs_btree_cur *cur,
566 void xfs_btree_set_ptr_null(struct xfs_btree_cur *cur,
568 int xfs_btree_get_buf_block(struct xfs_btree_cur *cur,
571 void xfs_btree_set_sibling(struct xfs_btree_cur *cur,
574 void xfs_btree_init_block_cur(struct xfs_btree_cur *cur,
576 void xfs_btree_copy_ptrs(struct xfs_btree_cur *cur,
579 void xfs_btree_copy_keys(struct xfs_btree_cur *cur,
583 static inline struct xfs_btree_cur *
591 struct xfs_btree_cur *cur;