Home
last modified time | relevance | path

Searched refs:hinfo (Results 1 – 6 of 6) sorted by relevance

/fs/ext4/
Dhash.c201 struct dx_hash_info *hinfo) in __ext4fs_dirhash() argument
218 if (hinfo->seed) { in __ext4fs_dirhash()
220 if (hinfo->seed[i]) { in __ext4fs_dirhash()
221 memcpy(buf, hinfo->seed, sizeof(buf)); in __ext4fs_dirhash()
227 switch (hinfo->hash_version) { in __ext4fs_dirhash()
279 hinfo->hash = 0; in __ext4fs_dirhash()
280 hinfo->minor_hash = 0; in __ext4fs_dirhash()
283 hinfo->hash_version); in __ext4fs_dirhash()
289 hinfo->hash = hash; in __ext4fs_dirhash()
290 hinfo->minor_hash = minor_hash; in __ext4fs_dirhash()
[all …]
Dnamei.c305 struct dx_hash_info *hinfo,
309 struct dx_hash_info *hinfo,
653 struct dx_hash_info *hinfo, in dx_show_leaf() argument
659 struct dx_hash_info h = *hinfo; in dx_show_leaf()
741 struct stats dx_show_entries(struct dx_hash_info *hinfo, struct inode *dir, in dx_show_entries() argument
760 dx_show_entries(hinfo, dir, ((struct dx_node *) bh->b_data)->entries, levels - 1): in dx_show_entries()
761 dx_show_leaf(dir, hinfo, (struct ext4_dir_entry_2 *) in dx_show_entries()
810 struct dx_hash_info *hinfo, struct dx_frame *frame_in) in dx_probe() argument
849 hinfo = &fname->hinfo; in dx_probe()
850 hinfo->hash_version = root->info.hash_version; in dx_probe()
[all …]
Dinline.c1367 struct dx_hash_info *hinfo, in ext4_inlinedir_to_tree() argument
1446 hinfo->hash = EXT4_DIRENT_HASH(de); in ext4_inlinedir_to_tree()
1447 hinfo->minor_hash = EXT4_DIRENT_MINOR_HASH(de); in ext4_inlinedir_to_tree()
1449 ext4fs_dirhash(dir, de->name, de->name_len, hinfo); in ext4_inlinedir_to_tree()
1451 if ((hinfo->hash < start_hash) || in ext4_inlinedir_to_tree()
1452 ((hinfo->hash == start_hash) && in ext4_inlinedir_to_tree()
1453 (hinfo->minor_hash < start_minor_hash))) in ext4_inlinedir_to_tree()
1459 err = ext4_htree_store_dirent(dir_file, hinfo->hash, in ext4_inlinedir_to_tree()
1460 hinfo->minor_hash, de, &tmp_str); in ext4_inlinedir_to_tree()
Dialloc.c440 struct dx_hash_info hinfo; in find_group_orlov() local
463 hinfo.hash_version = DX_HASH_HALF_MD4; in find_group_orlov()
464 hinfo.seed = sbi->s_hash_seed; in find_group_orlov()
465 ext4fs_dirhash(parent, qstr->name, qstr->len, &hinfo); in find_group_orlov()
466 grp = hinfo.hash; in find_group_orlov()
Dext4.h2479 struct dx_hash_info hinfo; member
2735 dst->hinfo.hash = src->hash; in ext4_fname_from_fscrypt_name()
2736 dst->hinfo.minor_hash = src->minor_hash; in ext4_fname_from_fscrypt_name()
2880 struct dx_hash_info *hinfo);
3599 struct dx_hash_info *hinfo,
/fs/ocfs2/
Ddir.c252 struct ocfs2_dx_hinfo *hinfo) in ocfs2_dx_dir_name_hash() argument
289 hinfo->major_hash = buf[0]; in ocfs2_dx_dir_name_hash()
290 hinfo->minor_hash = buf[1]; in ocfs2_dx_dir_name_hash()
837 struct ocfs2_dx_hinfo *hinfo) in ocfs2_dx_dir_hash_idx() argument
839 return __ocfs2_dx_dir_hash_idx(osb, hinfo->minor_hash); in ocfs2_dx_dir_hash_idx()
844 struct ocfs2_dx_hinfo *hinfo, in ocfs2_dx_dir_lookup() argument
852 u32 name_hash = hinfo->major_hash; in ocfs2_dx_dir_lookup()
877 blkno += ocfs2_dx_dir_hash_idx(OCFS2_SB(inode->i_sb), hinfo); in ocfs2_dx_dir_lookup()
901 struct ocfs2_dx_hinfo *hinfo = &res->dl_hinfo; in ocfs2_dx_dir_search() local
914 ret = ocfs2_dx_dir_lookup(dir, dr_el, hinfo, NULL, &phys); in ocfs2_dx_dir_search()
[all …]