Lines Matching defs:xfs_btree_ops
118 struct xfs_btree_ops { struct
119 const char *name;
122 enum xfs_btree_type type;
125 unsigned int geom_flags;
128 size_t key_len;
129 size_t ptr_len;
130 size_t rec_len;
133 unsigned int lru_refs;
136 unsigned int statoff;
139 unsigned int sick_mask;
142 struct xfs_btree_cur *(*dup_cursor)(struct xfs_btree_cur *);
143 void (*update_cursor)(struct xfs_btree_cur *src,
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);
165 void (*init_key_from_rec)(union xfs_btree_key *key,
167 void (*init_rec_from_cur)(struct xfs_btree_cur *cur,
169 void (*init_ptr_from_cur)(struct xfs_btree_cur *cur,
171 void (*init_high_key_from_rec)(union xfs_btree_key *key,
175 int64_t (*key_diff)(struct xfs_btree_cur *cur,
184 int64_t (*diff_two_keys)(struct xfs_btree_cur *cur,
189 const struct xfs_buf_ops *buf_ops;
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,