Lines Matching refs:hinfo
288 struct dx_hash_info *hinfo,
292 struct dx_hash_info *hinfo,
631 struct dx_hash_info *hinfo, in dx_show_leaf() argument
637 struct dx_hash_info h = *hinfo; in dx_show_leaf()
721 struct stats dx_show_entries(struct dx_hash_info *hinfo, struct inode *dir, in dx_show_entries() argument
740 dx_show_entries(hinfo, dir, ((struct dx_node *) bh->b_data)->entries, levels - 1): in dx_show_entries()
741 dx_show_leaf(dir, hinfo, (struct ext4_dir_entry_2 *) in dx_show_entries()
767 struct dx_hash_info *hinfo, struct dx_frame *frame_in) in dx_probe() argument
792 hinfo = &fname->hinfo; in dx_probe()
793 hinfo->hash_version = root->info.hash_version; in dx_probe()
794 if (hinfo->hash_version <= DX_HASH_TEA) in dx_probe()
795 hinfo->hash_version += EXT4_SB(dir->i_sb)->s_hash_unsigned; in dx_probe()
796 hinfo->seed = EXT4_SB(dir->i_sb)->s_hash_seed; in dx_probe()
798 ext4fs_dirhash(fname_name(fname), fname_len(fname), hinfo); in dx_probe()
799 hash = hinfo->hash; in dx_probe()
1019 struct dx_hash_info *hinfo, in htree_dirblock_to_tree() argument
1061 ext4fs_dirhash(de->name, de->name_len, hinfo); in htree_dirblock_to_tree()
1062 if ((hinfo->hash < start_hash) || in htree_dirblock_to_tree()
1063 ((hinfo->hash == start_hash) && in htree_dirblock_to_tree()
1064 (hinfo->minor_hash < start_minor_hash))) in htree_dirblock_to_tree()
1072 hinfo->hash, hinfo->minor_hash, de, in htree_dirblock_to_tree()
1080 err = fscrypt_fname_disk_to_usr(dir, hinfo->hash, in htree_dirblock_to_tree()
1081 hinfo->minor_hash, &de_name, in htree_dirblock_to_tree()
1088 hinfo->hash, hinfo->minor_hash, de, in htree_dirblock_to_tree()
1118 struct dx_hash_info hinfo; in ext4_htree_fill_tree() local
1132 hinfo.hash_version = EXT4_SB(dir->i_sb)->s_def_hash_version; in ext4_htree_fill_tree()
1133 if (hinfo.hash_version <= DX_HASH_TEA) in ext4_htree_fill_tree()
1134 hinfo.hash_version += in ext4_htree_fill_tree()
1136 hinfo.seed = EXT4_SB(dir->i_sb)->s_hash_seed; in ext4_htree_fill_tree()
1140 &hinfo, start_hash, in ext4_htree_fill_tree()
1148 count = htree_dirblock_to_tree(dir_file, dir, 0, &hinfo, in ext4_htree_fill_tree()
1153 hinfo.hash = start_hash; in ext4_htree_fill_tree()
1154 hinfo.minor_hash = 0; in ext4_htree_fill_tree()
1155 frame = dx_probe(NULL, dir, &hinfo, frames); in ext4_htree_fill_tree()
1189 ret = htree_dirblock_to_tree(dir_file, dir, block, &hinfo, in ext4_htree_fill_tree()
1241 struct dx_hash_info *hinfo, in dx_make_map() argument
1248 struct dx_hash_info h = *hinfo; in dx_make_map()
1617 retval = ext4_htree_next_block(dir, fname->hinfo.hash, frame, in ext4_dx_find_entry()
1762 struct dx_hash_info *hinfo) in do_split() argument
1802 count = dx_make_map(dir, *bh, hinfo, map); in do_split()
1855 dxtrace(dx_show_leaf(dir, hinfo, (struct ext4_dir_entry_2 *) data1, in do_split()
1857 dxtrace(dx_show_leaf(dir, hinfo, (struct ext4_dir_entry_2 *) data2, in do_split()
1861 if (hinfo->hash >= hash2) { in do_split()
2083 fname->hinfo.hash_version = root->info.hash_version; in make_indexed_dir()
2084 if (fname->hinfo.hash_version <= DX_HASH_TEA) in make_indexed_dir()
2085 fname->hinfo.hash_version += EXT4_SB(dir->i_sb)->s_hash_unsigned; in make_indexed_dir()
2086 fname->hinfo.seed = EXT4_SB(dir->i_sb)->s_hash_seed; in make_indexed_dir()
2087 ext4fs_dirhash(fname_name(fname), fname_len(fname), &fname->hinfo); in make_indexed_dir()
2102 de = do_split(handle,dir, &bh2, frame, &fname->hinfo); in make_indexed_dir()
2391 de = do_split(handle, dir, &bh, frame, &fname->hinfo); in ext4_dx_add_entry()