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()
285 hinfo->hash = hash; in __ext4fs_dirhash()
286 hinfo->minor_hash = minor_hash; in __ext4fs_dirhash()
291 struct dx_hash_info *hinfo) in ext4fs_dirhash() argument
311 r = __ext4fs_dirhash(dir, buff, dlen, hinfo); in ext4fs_dirhash()
[all …]
Dnamei.c289 struct dx_hash_info *hinfo,
293 struct dx_hash_info *hinfo,
637 struct dx_hash_info *hinfo, in dx_show_leaf() argument
643 struct dx_hash_info h = *hinfo; in dx_show_leaf()
730 struct stats dx_show_entries(struct dx_hash_info *hinfo, struct inode *dir, in dx_show_entries() argument
749 dx_show_entries(hinfo, dir, ((struct dx_node *) bh->b_data)->entries, levels - 1): in dx_show_entries()
750 dx_show_leaf(dir, hinfo, (struct ext4_dir_entry_2 *) in dx_show_entries()
776 struct dx_hash_info *hinfo, struct dx_frame *frame_in) in dx_probe() argument
815 hinfo = &fname->hinfo; in dx_probe()
816 hinfo->hash_version = root->info.hash_version; in dx_probe()
[all …]
Dinline.c1365 struct dx_hash_info *hinfo, in ext4_inlinedir_to_tree() argument
1444 hinfo->hash = EXT4_DIRENT_HASH(de); in ext4_inlinedir_to_tree()
1445 hinfo->minor_hash = EXT4_DIRENT_MINOR_HASH(de); in ext4_inlinedir_to_tree()
1447 ext4fs_dirhash(dir, de->name, de->name_len, hinfo); in ext4_inlinedir_to_tree()
1449 if ((hinfo->hash < start_hash) || in ext4_inlinedir_to_tree()
1450 ((hinfo->hash == start_hash) && in ext4_inlinedir_to_tree()
1451 (hinfo->minor_hash < start_minor_hash))) in ext4_inlinedir_to_tree()
1457 err = ext4_htree_store_dirent(dir_file, hinfo->hash, in ext4_inlinedir_to_tree()
1458 hinfo->minor_hash, de, &tmp_str); in ext4_inlinedir_to_tree()
Dialloc.c430 struct dx_hash_info hinfo; in find_group_orlov() local
453 hinfo.hash_version = DX_HASH_HALF_MD4; in find_group_orlov()
454 hinfo.seed = sbi->s_hash_seed; in find_group_orlov()
455 ext4fs_dirhash(parent, qstr->name, qstr->len, &hinfo); in find_group_orlov()
456 grp = hinfo.hash; in find_group_orlov()
Dext4.h2177 struct dx_hash_info hinfo; member
2424 dst->hinfo.hash = src->hash; in ext4_fname_from_fscrypt_name()
2425 dst->hinfo.minor_hash = src->minor_hash; in ext4_fname_from_fscrypt_name()
2569 struct dx_hash_info *hinfo);
3218 struct dx_hash_info *hinfo,
/fs/ocfs2/
Ddir.c254 struct ocfs2_dx_hinfo *hinfo) in ocfs2_dx_dir_name_hash() argument
291 hinfo->major_hash = buf[0]; in ocfs2_dx_dir_name_hash()
292 hinfo->minor_hash = buf[1]; in ocfs2_dx_dir_name_hash()
839 struct ocfs2_dx_hinfo *hinfo) in ocfs2_dx_dir_hash_idx() argument
841 return __ocfs2_dx_dir_hash_idx(osb, hinfo->minor_hash); in ocfs2_dx_dir_hash_idx()
846 struct ocfs2_dx_hinfo *hinfo, in ocfs2_dx_dir_lookup() argument
854 u32 name_hash = hinfo->major_hash; in ocfs2_dx_dir_lookup()
879 blkno += ocfs2_dx_dir_hash_idx(OCFS2_SB(inode->i_sb), hinfo); in ocfs2_dx_dir_lookup()
903 struct ocfs2_dx_hinfo *hinfo = &res->dl_hinfo; in ocfs2_dx_dir_search() local
916 ret = ocfs2_dx_dir_lookup(dir, dr_el, hinfo, NULL, &phys); in ocfs2_dx_dir_search()
[all …]