Lines Matching refs:hinfo
253 struct dx_hash_info *hinfo,
257 unsigned blocksize, struct dx_hash_info *hinfo,
590 struct dx_hash_info *hinfo, in dx_show_leaf() argument
596 struct dx_hash_info h = *hinfo; in dx_show_leaf()
682 struct stats dx_show_entries(struct dx_hash_info *hinfo, struct inode *dir, in dx_show_entries() argument
701 dx_show_entries(hinfo, dir, ((struct dx_node *) bh->b_data)->entries, levels - 1): in dx_show_entries()
702 dx_show_leaf(dir, hinfo, (struct ext4_dir_entry_2 *) in dx_show_entries()
728 struct dx_hash_info *hinfo, struct dx_frame *frame_in) in dx_probe() argument
749 hinfo->hash_version = root->info.hash_version; in dx_probe()
750 if (hinfo->hash_version <= DX_HASH_TEA) in dx_probe()
751 hinfo->hash_version += EXT4_SB(dir->i_sb)->s_hash_unsigned; in dx_probe()
752 hinfo->seed = EXT4_SB(dir->i_sb)->s_hash_seed; in dx_probe()
764 res = ext4_fname_usr_to_hash(ctx, d_name, hinfo); in dx_probe()
773 ext4fs_dirhash(d_name->name, d_name->len, hinfo); in dx_probe()
775 hash = hinfo->hash; in dx_probe()
959 struct dx_hash_info *hinfo, in htree_dirblock_to_tree() argument
1004 ext4fs_dirhash(de->name, de->name_len, hinfo); in htree_dirblock_to_tree()
1005 if ((hinfo->hash < start_hash) || in htree_dirblock_to_tree()
1006 ((hinfo->hash == start_hash) && in htree_dirblock_to_tree()
1007 (hinfo->minor_hash < start_minor_hash))) in htree_dirblock_to_tree()
1016 hinfo->hash, hinfo->minor_hash, de, in htree_dirblock_to_tree()
1020 err = ext4_fname_disk_to_usr(ctx, hinfo, de, in htree_dirblock_to_tree()
1027 hinfo->hash, hinfo->minor_hash, de, in htree_dirblock_to_tree()
1057 struct dx_hash_info hinfo; in ext4_htree_fill_tree() local
1071 hinfo.hash_version = EXT4_SB(dir->i_sb)->s_def_hash_version; in ext4_htree_fill_tree()
1072 if (hinfo.hash_version <= DX_HASH_TEA) in ext4_htree_fill_tree()
1073 hinfo.hash_version += in ext4_htree_fill_tree()
1075 hinfo.seed = EXT4_SB(dir->i_sb)->s_hash_seed; in ext4_htree_fill_tree()
1079 &hinfo, start_hash, in ext4_htree_fill_tree()
1087 count = htree_dirblock_to_tree(dir_file, dir, 0, &hinfo, in ext4_htree_fill_tree()
1092 hinfo.hash = start_hash; in ext4_htree_fill_tree()
1093 hinfo.minor_hash = 0; in ext4_htree_fill_tree()
1094 frame = dx_probe(NULL, dir, &hinfo, frames); in ext4_htree_fill_tree()
1123 ret = htree_dirblock_to_tree(dir_file, dir, block, &hinfo, in ext4_htree_fill_tree()
1175 unsigned blocksize, struct dx_hash_info *hinfo, in dx_make_map() argument
1180 struct dx_hash_info h = *hinfo; in dx_make_map()
1510 struct dx_hash_info hinfo; in ext4_dx_find_entry() local
1519 frame = dx_probe(d_name, dir, &hinfo, frames); in ext4_dx_find_entry()
1540 retval = ext4_htree_next_block(dir, hinfo.hash, frame, in ext4_dx_find_entry()
1688 struct dx_hash_info *hinfo) in do_split() argument
1728 blocksize, hinfo, map); in do_split()
1767 dxtrace(dx_show_leaf(dir, hinfo, (struct ext4_dir_entry_2 *) data1, in do_split()
1769 dxtrace(dx_show_leaf(dir, hinfo, (struct ext4_dir_entry_2 *) data2, in do_split()
1773 if (hinfo->hash >= hash2) { in do_split()
2009 struct dx_hash_info hinfo; in make_indexed_dir() local
2081 hinfo.hash_version = root->info.hash_version; in make_indexed_dir()
2082 if (hinfo.hash_version <= DX_HASH_TEA) in make_indexed_dir()
2083 hinfo.hash_version += EXT4_SB(dir->i_sb)->s_hash_unsigned; in make_indexed_dir()
2084 hinfo.seed = EXT4_SB(dir->i_sb)->s_hash_seed; in make_indexed_dir()
2086 res = ext4_fname_usr_to_hash(ctx, &dentry->d_name, &hinfo); in make_indexed_dir()
2095 ext4fs_dirhash(name, namelen, &hinfo); in make_indexed_dir()
2111 de = do_split(handle,dir, &bh, frame, &hinfo); in make_indexed_dir()
2228 struct dx_hash_info hinfo; in ext4_dx_add_entry() local
2235 frame = dx_probe(&dentry->d_name, dir, &hinfo, frames); in ext4_dx_add_entry()
2348 de = do_split(handle, dir, &bh, frame, &hinfo); in ext4_dx_add_entry()