Lines Matching refs:hinfo

258 				 struct dx_hash_info *hinfo,
262 unsigned blocksize, struct dx_hash_info *hinfo,
599 struct dx_hash_info *hinfo, in dx_show_leaf() argument
605 struct dx_hash_info h = *hinfo; in dx_show_leaf()
689 struct stats dx_show_entries(struct dx_hash_info *hinfo, struct inode *dir, in dx_show_entries() argument
708 dx_show_entries(hinfo, dir, ((struct dx_node *) bh->b_data)->entries, levels - 1): in dx_show_entries()
709 dx_show_leaf(dir, hinfo, (struct ext4_dir_entry_2 *) in dx_show_entries()
735 struct dx_hash_info *hinfo, struct dx_frame *frame_in) in dx_probe() argument
758 hinfo = &fname->hinfo; in dx_probe()
759 hinfo->hash_version = root->info.hash_version; in dx_probe()
760 if (hinfo->hash_version <= DX_HASH_TEA) in dx_probe()
761 hinfo->hash_version += EXT4_SB(dir->i_sb)->s_hash_unsigned; in dx_probe()
762 hinfo->seed = EXT4_SB(dir->i_sb)->s_hash_seed; in dx_probe()
764 ext4fs_dirhash(fname_name(fname), fname_len(fname), hinfo); in dx_probe()
765 hash = hinfo->hash; in dx_probe()
968 struct dx_hash_info *hinfo, in htree_dirblock_to_tree() argument
1010 ext4fs_dirhash(de->name, de->name_len, hinfo); in htree_dirblock_to_tree()
1011 if ((hinfo->hash < start_hash) || in htree_dirblock_to_tree()
1012 ((hinfo->hash == start_hash) && in htree_dirblock_to_tree()
1013 (hinfo->minor_hash < start_minor_hash))) in htree_dirblock_to_tree()
1021 hinfo->hash, hinfo->minor_hash, de, in htree_dirblock_to_tree()
1029 err = fscrypt_fname_disk_to_usr(dir, hinfo->hash, in htree_dirblock_to_tree()
1030 hinfo->minor_hash, &de_name, in htree_dirblock_to_tree()
1037 hinfo->hash, hinfo->minor_hash, de, in htree_dirblock_to_tree()
1067 struct dx_hash_info hinfo; in ext4_htree_fill_tree() local
1081 hinfo.hash_version = EXT4_SB(dir->i_sb)->s_def_hash_version; in ext4_htree_fill_tree()
1082 if (hinfo.hash_version <= DX_HASH_TEA) in ext4_htree_fill_tree()
1083 hinfo.hash_version += in ext4_htree_fill_tree()
1085 hinfo.seed = EXT4_SB(dir->i_sb)->s_hash_seed; in ext4_htree_fill_tree()
1089 &hinfo, start_hash, in ext4_htree_fill_tree()
1097 count = htree_dirblock_to_tree(dir_file, dir, 0, &hinfo, in ext4_htree_fill_tree()
1102 hinfo.hash = start_hash; in ext4_htree_fill_tree()
1103 hinfo.minor_hash = 0; in ext4_htree_fill_tree()
1104 frame = dx_probe(NULL, dir, &hinfo, frames); in ext4_htree_fill_tree()
1138 ret = htree_dirblock_to_tree(dir_file, dir, block, &hinfo, in ext4_htree_fill_tree()
1190 unsigned blocksize, struct dx_hash_info *hinfo, in dx_make_map() argument
1195 struct dx_hash_info h = *hinfo; in dx_make_map()
1524 retval = ext4_htree_next_block(dir, fname->hinfo.hash, frame, in ext4_dx_find_entry()
1674 struct dx_hash_info *hinfo) in do_split() argument
1714 blocksize, hinfo, map); in do_split()
1753 dxtrace(dx_show_leaf(dir, hinfo, (struct ext4_dir_entry_2 *) data1, in do_split()
1755 dxtrace(dx_show_leaf(dir, hinfo, (struct ext4_dir_entry_2 *) data2, in do_split()
1759 if (hinfo->hash >= hash2) { in do_split()
1981 fname->hinfo.hash_version = root->info.hash_version; in make_indexed_dir()
1982 if (fname->hinfo.hash_version <= DX_HASH_TEA) in make_indexed_dir()
1983 fname->hinfo.hash_version += EXT4_SB(dir->i_sb)->s_hash_unsigned; in make_indexed_dir()
1984 fname->hinfo.seed = EXT4_SB(dir->i_sb)->s_hash_seed; in make_indexed_dir()
1985 ext4fs_dirhash(fname_name(fname), fname_len(fname), &fname->hinfo); in make_indexed_dir()
2000 de = do_split(handle,dir, &bh2, frame, &fname->hinfo); in make_indexed_dir()
2274 de = do_split(handle, dir, &bh, frame, &fname->hinfo); in ext4_dx_add_entry()