1 2 3 4 5 6 7 8 9 10 11
/* * btree.h * */ int befs_btree_find(struct super_block *sb, const befs_data_stream *ds, const char *key, befs_off_t *value); int befs_btree_read(struct super_block *sb, const befs_data_stream *ds, loff_t key_no, size_t bufsize, char *keybuf, size_t *keysize, befs_off_t *value);