Lines Matching refs:hinfo

252 				   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()
921 namelen, name, hinfo->major_hash, in ocfs2_dx_dir_search()
922 hinfo->minor_hash, (unsigned long long)phys); in ocfs2_dx_dir_search()
946 if (hinfo->major_hash != le32_to_cpu(dx_entry->dx_major_hash) in ocfs2_dx_dir_search()
947 || hinfo->minor_hash != le32_to_cpu(dx_entry->dx_minor_hash)) in ocfs2_dx_dir_search()
1437 struct ocfs2_dx_hinfo *hinfo, in ocfs2_dx_entry_list_insert() argument
1447 dx_entry->dx_major_hash = cpu_to_le32(hinfo->major_hash); in ocfs2_dx_entry_list_insert()
1448 dx_entry->dx_minor_hash = cpu_to_le32(hinfo->minor_hash); in ocfs2_dx_entry_list_insert()
1455 struct ocfs2_dx_hinfo *hinfo, in __ocfs2_dx_dir_leaf_insert() argument
1470 ocfs2_dx_entry_list_insert(&dx_leaf->dl_list, hinfo, dirent_blk); in __ocfs2_dx_dir_leaf_insert()
1478 struct ocfs2_dx_hinfo *hinfo, in ocfs2_dx_inline_root_insert() argument
1482 ocfs2_dx_entry_list_insert(&dx_root->dr_entries, hinfo, dirent_blk); in ocfs2_dx_inline_root_insert()
2518 struct ocfs2_dx_hinfo hinfo; in ocfs2_fill_new_dir_dx() local
2550 ocfs2_dx_dir_name_hash(inode, ".", 1, &hinfo); in ocfs2_fill_new_dir_dx()
2551 ocfs2_dx_entry_list_insert(entry_list, &hinfo, leaf_bh->b_blocknr); in ocfs2_fill_new_dir_dx()
2553 ocfs2_dx_dir_name_hash(inode, "..", 2, &hinfo); in ocfs2_fill_new_dir_dx()
2554 ocfs2_dx_entry_list_insert(entry_list, &hinfo, leaf_bh->b_blocknr); in ocfs2_fill_new_dir_dx()
2595 struct ocfs2_dx_hinfo hinfo; in ocfs2_dx_dir_index_block() local
2608 ocfs2_dx_dir_name_hash(dir, de->name, namelen, &hinfo); in ocfs2_dx_dir_index_block()
2610 i = ocfs2_dx_dir_hash_idx(OCFS2_SB(dir->i_sb), &hinfo); in ocfs2_dx_dir_index_block()
2613 ret = __ocfs2_dx_dir_leaf_insert(dir, handle, &hinfo, in ocfs2_dx_dir_index_block()
2640 struct ocfs2_dx_hinfo hinfo; in ocfs2_dx_dir_index_root_block() local
2654 ocfs2_dx_dir_name_hash(dir, de->name, de->name_len, &hinfo); in ocfs2_dx_dir_index_root_block()
2658 hinfo.major_hash, hinfo.minor_hash, in ocfs2_dx_dir_index_root_block()
2662 ocfs2_dx_entry_list_insert(&dx_root->dr_entries, &hinfo, in ocfs2_dx_dir_index_root_block()
3687 struct ocfs2_dx_hinfo *hinfo, u32 leaf_cpos, in ocfs2_dx_dir_rebalance() argument
3692 u32 cpos, split_hash, insert_hash = hinfo->major_hash; in ocfs2_dx_dir_rebalance()