Lines Matching refs:hinfo
147 struct dx_hash_info *hinfo,
152 struct dx_hash_info *hinfo, struct dx_map_entry map[]);
258 static struct stats dx_show_leaf(struct dx_hash_info *hinfo, struct ext3_dir_entry_2 *de, in dx_show_leaf() argument
263 struct dx_hash_info h = *hinfo; in dx_show_leaf()
288 struct stats dx_show_entries(struct dx_hash_info *hinfo, struct inode *dir, in dx_show_entries() argument
305 dx_show_entries(hinfo, dir, ((struct dx_node *) bh->b_data)->entries, levels - 1): in dx_show_entries()
306 dx_show_leaf(hinfo, (struct ext3_dir_entry_2 *) bh->b_data, blocksize, 0); in dx_show_entries()
330 struct dx_hash_info *hinfo, struct dx_frame *frame_in, int *err) in dx_probe() argument
355 hinfo->hash_version = root->info.hash_version; in dx_probe()
356 if (hinfo->hash_version <= DX_HASH_TEA) in dx_probe()
357 hinfo->hash_version += EXT3_SB(dir->i_sb)->s_hash_unsigned; in dx_probe()
358 hinfo->seed = EXT3_SB(dir->i_sb)->s_hash_seed; in dx_probe()
360 ext3fs_dirhash(entry->name, entry->len, hinfo); in dx_probe()
361 hash = hinfo->hash; in dx_probe()
559 struct dx_hash_info *hinfo, in htree_dirblock_to_tree() argument
582 ext3fs_dirhash(de->name, de->name_len, hinfo); in htree_dirblock_to_tree()
583 if ((hinfo->hash < start_hash) || in htree_dirblock_to_tree()
584 ((hinfo->hash == start_hash) && in htree_dirblock_to_tree()
585 (hinfo->minor_hash < start_minor_hash))) in htree_dirblock_to_tree()
590 hinfo->hash, hinfo->minor_hash, de)) != 0) { in htree_dirblock_to_tree()
612 struct dx_hash_info hinfo; in ext3_htree_fill_tree() local
625 hinfo.hash_version = EXT3_SB(dir->i_sb)->s_def_hash_version; in ext3_htree_fill_tree()
626 if (hinfo.hash_version <= DX_HASH_TEA) in ext3_htree_fill_tree()
627 hinfo.hash_version += in ext3_htree_fill_tree()
629 hinfo.seed = EXT3_SB(dir->i_sb)->s_hash_seed; in ext3_htree_fill_tree()
630 count = htree_dirblock_to_tree(dir_file, dir, 0, &hinfo, in ext3_htree_fill_tree()
635 hinfo.hash = start_hash; in ext3_htree_fill_tree()
636 hinfo.minor_hash = 0; in ext3_htree_fill_tree()
637 frame = dx_probe(NULL, file_inode(dir_file), &hinfo, frames, &err); in ext3_htree_fill_tree()
658 ret = htree_dirblock_to_tree(dir_file, dir, block, &hinfo, in ext3_htree_fill_tree()
701 struct dx_hash_info *hinfo, struct dx_map_entry *map_tail) in dx_make_map() argument
705 struct dx_hash_info h = *hinfo; in dx_make_map()
969 struct dx_hash_info hinfo; in ext3_dx_find_entry() local
975 if (!(frame = dx_probe(entry, dir, &hinfo, frames, err))) in ext3_dx_find_entry()
996 retval = ext3_htree_next_block(dir, hinfo.hash, frame, in ext3_dx_find_entry()
1140 struct dx_hash_info *hinfo, int *error) in do_split() argument
1175 blocksize, hinfo, map); in do_split()
1200 dxtrace(dx_show_leaf (hinfo, (struct ext3_dir_entry_2 *) data1, blocksize, 1)); in do_split()
1201 dxtrace(dx_show_leaf (hinfo, (struct ext3_dir_entry_2 *) data2, blocksize, 1)); in do_split()
1204 if (hinfo->hash >= hash2) in do_split()
1345 struct dx_hash_info hinfo; in make_indexed_dir() local
1398 hinfo.hash_version = root->info.hash_version; in make_indexed_dir()
1399 if (hinfo.hash_version <= DX_HASH_TEA) in make_indexed_dir()
1400 hinfo.hash_version += EXT3_SB(dir->i_sb)->s_hash_unsigned; in make_indexed_dir()
1401 hinfo.seed = EXT3_SB(dir->i_sb)->s_hash_seed; in make_indexed_dir()
1402 ext3fs_dirhash(name, namelen, &hinfo); in make_indexed_dir()
1414 de = do_split(handle,dir, &bh, frame, &hinfo, &retval); in make_indexed_dir()
1490 struct dx_hash_info hinfo; in ext3_dx_add_entry() local
1497 frame = dx_probe(&dentry->d_name, dir, &hinfo, frames, &err); in ext3_dx_add_entry()
1603 de = do_split(handle, dir, &bh, frame, &hinfo, &err); in ext3_dx_add_entry()