Files
scoutfs/utils/src/leaf_item_hash.h
Zach Brown b86a1bebbb scoutfs-utils: support btree avl and hash
Update the internal structure of btree blocks to use the avl item index
and hash table direct item lookup.

Signed-off-by: Zach Brown <zab@versity.com>
2020-08-26 14:39:28 -07:00

10 lines
279 B
C

#ifndef _LEAF_ITEM_HASH_H_
#define _LEAF_ITEM_HASH_H_
int leaf_item_hash_ind(struct scoutfs_key *key);
__le16 *leaf_item_hash_buckets(struct scoutfs_btree_block *bt);
void leaf_item_hash_insert(struct scoutfs_btree_block *bt,
struct scoutfs_key *key, __le16 off);
#endif