Lines Matching refs:hinfo

256 				 struct dx_hash_info *hinfo,
260 unsigned blocksize, struct dx_hash_info *hinfo,
597 struct dx_hash_info *hinfo, in dx_show_leaf() argument
603 struct dx_hash_info h = *hinfo; in dx_show_leaf()
685 struct stats dx_show_entries(struct dx_hash_info *hinfo, struct inode *dir, in dx_show_entries() argument
704 dx_show_entries(hinfo, dir, ((struct dx_node *) bh->b_data)->entries, levels - 1): in dx_show_entries()
705 dx_show_leaf(dir, hinfo, (struct ext4_dir_entry_2 *) in dx_show_entries()
731 struct dx_hash_info *hinfo, struct dx_frame *frame_in) in dx_probe() argument
753 hinfo = &fname->hinfo; in dx_probe()
754 hinfo->hash_version = root->info.hash_version; in dx_probe()
755 if (hinfo->hash_version <= DX_HASH_TEA) in dx_probe()
756 hinfo->hash_version += EXT4_SB(dir->i_sb)->s_hash_unsigned; in dx_probe()
757 hinfo->seed = EXT4_SB(dir->i_sb)->s_hash_seed; in dx_probe()
759 ext4fs_dirhash(fname_name(fname), fname_len(fname), hinfo); in dx_probe()
760 hash = hinfo->hash; in dx_probe()
949 struct dx_hash_info *hinfo, in htree_dirblock_to_tree() argument
991 ext4fs_dirhash(de->name, de->name_len, hinfo); in htree_dirblock_to_tree()
992 if ((hinfo->hash < start_hash) || in htree_dirblock_to_tree()
993 ((hinfo->hash == start_hash) && in htree_dirblock_to_tree()
994 (hinfo->minor_hash < start_minor_hash))) in htree_dirblock_to_tree()
1002 hinfo->hash, hinfo->minor_hash, de, in htree_dirblock_to_tree()
1008 err = ext4_fname_disk_to_usr(dir, hinfo, de, in htree_dirblock_to_tree()
1015 hinfo->hash, hinfo->minor_hash, de, in htree_dirblock_to_tree()
1045 struct dx_hash_info hinfo; in ext4_htree_fill_tree() local
1059 hinfo.hash_version = EXT4_SB(dir->i_sb)->s_def_hash_version; in ext4_htree_fill_tree()
1060 if (hinfo.hash_version <= DX_HASH_TEA) in ext4_htree_fill_tree()
1061 hinfo.hash_version += in ext4_htree_fill_tree()
1063 hinfo.seed = EXT4_SB(dir->i_sb)->s_hash_seed; in ext4_htree_fill_tree()
1067 &hinfo, start_hash, in ext4_htree_fill_tree()
1075 count = htree_dirblock_to_tree(dir_file, dir, 0, &hinfo, in ext4_htree_fill_tree()
1080 hinfo.hash = start_hash; in ext4_htree_fill_tree()
1081 hinfo.minor_hash = 0; in ext4_htree_fill_tree()
1082 frame = dx_probe(NULL, dir, &hinfo, frames); in ext4_htree_fill_tree()
1111 ret = htree_dirblock_to_tree(dir_file, dir, block, &hinfo, in ext4_htree_fill_tree()
1164 unsigned blocksize, struct dx_hash_info *hinfo, in dx_make_map() argument
1169 struct dx_hash_info h = *hinfo; in dx_make_map()
1536 retval = ext4_htree_next_block(dir, fname->hinfo.hash, frame, in ext4_dx_find_entry()
1684 struct dx_hash_info *hinfo) in do_split() argument
1724 blocksize, hinfo, map); in do_split()
1763 dxtrace(dx_show_leaf(dir, hinfo, (struct ext4_dir_entry_2 *) data1, in do_split()
1765 dxtrace(dx_show_leaf(dir, hinfo, (struct ext4_dir_entry_2 *) data2, in do_split()
1769 if (hinfo->hash >= hash2) { in do_split()
2010 fname->hinfo.hash_version = root->info.hash_version; in make_indexed_dir()
2011 if (fname->hinfo.hash_version <= DX_HASH_TEA) in make_indexed_dir()
2012 fname->hinfo.hash_version += EXT4_SB(dir->i_sb)->s_hash_unsigned; in make_indexed_dir()
2013 fname->hinfo.seed = EXT4_SB(dir->i_sb)->s_hash_seed; in make_indexed_dir()
2014 ext4fs_dirhash(fname_name(fname), fname_len(fname), &fname->hinfo); in make_indexed_dir()
2030 de = do_split(handle,dir, &bh, frame, &fname->hinfo); in make_indexed_dir()
2280 de = do_split(handle, dir, &bh, frame, &fname->hinfo); in ext4_dx_add_entry()