8 #define BT_INDSZ (1 << BT_INDBITS)
9 #define BT_INDBSZ (sizeof(struct btnode) * BT_INDSZ)
11 typedef loff_t block_t;
22 int (*fillfn)(void *buf, size_t len, void *pdata);
26 ssize_t btget(struct store *st, struct btnode *tree, block_t bl, void *buf, size_t len);
27 int btputmany(struct store *st, struct btnode *tree, struct btop *ops, int numops);
28 int btput(struct store *st, struct btnode *tree, block_t bl, void *buf, size_t len);
29 block_t btcount(struct store *st, struct btnode *tree);
30 void btsortops(struct btop *ops, int numops);
31 void btmkop(struct btop *op, block_t bl, void *buf, size_t len);