blob: a253a6276d8eca52fb5bfe71c10806a8a1033b9d [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
3 * btree.h
Luis de Bethencourte60f7492016-11-10 11:25:36 +00004 *
Linus Torvalds1da177e2005-04-16 15:20:36 -07005 */
6
Al Viro22341d82016-05-10 14:24:06 -04007int befs_btree_find(struct super_block *sb, const befs_data_stream *ds,
Luis de Bethencourt12ecb382016-08-14 18:31:38 +01008 const char *key, befs_off_t *value);
Linus Torvalds1da177e2005-04-16 15:20:36 -07009
Al Viro22341d82016-05-10 14:24:06 -040010int befs_btree_read(struct super_block *sb, const befs_data_stream *ds,
Linus Torvalds1da177e2005-04-16 15:20:36 -070011 loff_t key_no, size_t bufsize, char *keybuf,
Luis de Bethencourt12ecb382016-08-14 18:31:38 +010012 size_t *keysize, befs_off_t *value);