btree.h 343 Bytes
Newer Older
1
/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds's avatar
Linus Torvalds committed
2 3
/*
 * btree.h
4
 *
Linus Torvalds's avatar
Linus Torvalds committed
5 6
 */

Al Viro's avatar
Al Viro committed
7
int befs_btree_find(struct super_block *sb, const befs_data_stream *ds,
8
		    const char *key, befs_off_t *value);
Linus Torvalds's avatar
Linus Torvalds committed
9

Al Viro's avatar
Al Viro committed
10
int befs_btree_read(struct super_block *sb, const befs_data_stream *ds,
Linus Torvalds's avatar
Linus Torvalds committed
11
		    loff_t key_no, size_t bufsize, char *keybuf,
12
		    size_t *keysize, befs_off_t *value);