blob: 60c6c728e64e78168ad9c37d759948d6e82f596a [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * btree.h
Luis de Bethencourte60f7492016-11-10 11:25:36 +00003 *
Linus Torvalds1da177e2005-04-16 15:20:36 -07004 */
5
Al Viro22341d82016-05-10 14:24:06 -04006int befs_btree_find(struct super_block *sb, const befs_data_stream *ds,
Luis de Bethencourt12ecb382016-08-14 18:31:38 +01007 const char *key, befs_off_t *value);
Linus Torvalds1da177e2005-04-16 15:20:36 -07008
Al Viro22341d82016-05-10 14:24:06 -04009int befs_btree_read(struct super_block *sb, const befs_data_stream *ds,
Linus Torvalds1da177e2005-04-16 15:20:36 -070010 loff_t key_no, size_t bufsize, char *keybuf,
Luis de Bethencourt12ecb382016-08-14 18:31:38 +010011 size_t *keysize, befs_off_t *value);