ext2fs_htree_entry
size = count_offset + (count * sizeof(struct ext2fs_htree_entry));
if (count_offset + (limit * sizeof(struct ext2fs_htree_entry)) >
tp = (struct ext2fs_htree_tail *)(((struct ext2fs_htree_entry *)cp) + limit);
if (count_offset + (limit * sizeof(struct ext2fs_htree_entry)) >
tp = (struct ext2fs_htree_tail *)(((struct ext2fs_htree_entry *)cp) + limit);
ext2_htree_get_block(struct ext2fs_htree_entry *ep)
ext2_htree_set_block(struct ext2fs_htree_entry *ep, uint32_t blk)
ext2_htree_get_count(struct ext2fs_htree_entry *ep)
ext2_htree_set_count(struct ext2fs_htree_entry *ep, uint16_t cnt)
ext2_htree_get_hash(struct ext2fs_htree_entry *ep)
ext2_htree_get_limit(struct ext2fs_htree_entry *ep)
ext2_htree_set_hash(struct ext2fs_htree_entry *ep, uint32_t hash)
ext2_htree_set_limit(struct ext2fs_htree_entry *ep, uint16_t limit)
return (space / sizeof(struct ext2fs_htree_entry));
return (space / sizeof(struct ext2fs_htree_entry));
struct ext2fs_htree_entry *entp, *start, *end, *middle, *found;
entp = (struct ext2fs_htree_entry *)(((char *)&rootp->h_info) +
struct ext2fs_htree_entry *leaf_node;
struct ext2fs_htree_entry *target;
static uint32_t ext2_htree_get_block(struct ext2fs_htree_entry *ep);
static uint16_t ext2_htree_get_count(struct ext2fs_htree_entry *ep);
static uint32_t ext2_htree_get_hash(struct ext2fs_htree_entry *ep);
static uint16_t ext2_htree_get_limit(struct ext2fs_htree_entry *ep);
struct ext2fs_htree_entry *entries, *leaf_node;
struct ext2fs_htree_entry *dst_entries;
struct ext2fs_htree_entry *root_entires;
static void ext2_htree_set_block(struct ext2fs_htree_entry *ep,
dst_ent_num * sizeof(struct ext2fs_htree_entry));
static void ext2_htree_set_count(struct ext2fs_htree_entry *ep,
static void ext2_htree_set_hash(struct ext2fs_htree_entry *ep,
ent_num * sizeof(struct ext2fs_htree_entry));
static void ext2_htree_set_limit(struct ext2fs_htree_entry *ep,
struct ext2fs_htree_entry h_entries[0];
struct ext2fs_htree_entry h_entries[0];
struct ext2fs_htree_entry *h_entries;
struct ext2fs_htree_entry *h_entry;