Lines Matching defs:xfs_btree_ops
95 struct xfs_btree_ops { struct
97 size_t key_len;
98 size_t rec_len;
101 struct xfs_btree_cur *(*dup_cursor)(struct xfs_btree_cur *);
102 void (*update_cursor)(struct xfs_btree_cur *src,
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);
130 void (*init_key_from_rec)(union xfs_btree_key *key,
132 void (*init_rec_from_cur)(struct xfs_btree_cur *cur,
134 void (*init_ptr_from_cur)(struct xfs_btree_cur *cur,
136 void (*init_high_key_from_rec)(union xfs_btree_key *key,
140 int64_t (*key_diff)(struct xfs_btree_cur *cur,
147 int64_t (*diff_two_keys)(struct xfs_btree_cur *cur,
151 const struct xfs_buf_ops *buf_ops;
154 int (*keys_inorder)(struct xfs_btree_cur *cur,
159 int (*recs_inorder)(struct xfs_btree_cur *cur,