Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * btree.h |
Luis de Bethencourt | e60f749 | 2016-11-10 11:25:36 +0000 | [diff] [blame] | 3 | * |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | */ |
| 5 | |
Al Viro | 22341d8 | 2016-05-10 14:24:06 -0400 | [diff] [blame] | 6 | int befs_btree_find(struct super_block *sb, const befs_data_stream *ds, |
Luis de Bethencourt | 12ecb38 | 2016-08-14 18:31:38 +0100 | [diff] [blame] | 7 | const char *key, befs_off_t *value); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | |
Al Viro | 22341d8 | 2016-05-10 14:24:06 -0400 | [diff] [blame] | 9 | int befs_btree_read(struct super_block *sb, const befs_data_stream *ds, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | loff_t key_no, size_t bufsize, char *keybuf, |
Luis de Bethencourt | 12ecb38 | 2016-08-14 18:31:38 +0100 | [diff] [blame] | 11 | size_t *keysize, befs_off_t *value); |