Lines Matching refs:hinfo

272 				   struct ocfs2_dx_hinfo *hinfo)  in ocfs2_dx_dir_name_hash()  argument
309 hinfo->major_hash = buf[0]; in ocfs2_dx_dir_name_hash()
310 hinfo->minor_hash = buf[1]; in ocfs2_dx_dir_name_hash()
857 struct ocfs2_dx_hinfo *hinfo) in ocfs2_dx_dir_hash_idx() argument
859 return __ocfs2_dx_dir_hash_idx(osb, hinfo->minor_hash); in ocfs2_dx_dir_hash_idx()
864 struct ocfs2_dx_hinfo *hinfo, in ocfs2_dx_dir_lookup() argument
872 u32 name_hash = hinfo->major_hash; in ocfs2_dx_dir_lookup()
897 blkno += ocfs2_dx_dir_hash_idx(OCFS2_SB(inode->i_sb), hinfo); in ocfs2_dx_dir_lookup()
921 struct ocfs2_dx_hinfo *hinfo = &res->dl_hinfo; in ocfs2_dx_dir_search() local
934 ret = ocfs2_dx_dir_lookup(dir, dr_el, hinfo, NULL, &phys); in ocfs2_dx_dir_search()
941 namelen, name, hinfo->major_hash, in ocfs2_dx_dir_search()
942 hinfo->minor_hash, (unsigned long long)phys); in ocfs2_dx_dir_search()
966 if (hinfo->major_hash != le32_to_cpu(dx_entry->dx_major_hash) in ocfs2_dx_dir_search()
967 || hinfo->minor_hash != le32_to_cpu(dx_entry->dx_minor_hash)) in ocfs2_dx_dir_search()
1457 struct ocfs2_dx_hinfo *hinfo, in ocfs2_dx_entry_list_insert() argument
1467 dx_entry->dx_major_hash = cpu_to_le32(hinfo->major_hash); in ocfs2_dx_entry_list_insert()
1468 dx_entry->dx_minor_hash = cpu_to_le32(hinfo->minor_hash); in ocfs2_dx_entry_list_insert()
1475 struct ocfs2_dx_hinfo *hinfo, in __ocfs2_dx_dir_leaf_insert() argument
1490 ocfs2_dx_entry_list_insert(&dx_leaf->dl_list, hinfo, dirent_blk); in __ocfs2_dx_dir_leaf_insert()
1498 struct ocfs2_dx_hinfo *hinfo, in ocfs2_dx_inline_root_insert() argument
1502 ocfs2_dx_entry_list_insert(&dx_root->dr_entries, hinfo, dirent_blk); in ocfs2_dx_inline_root_insert()
2546 struct ocfs2_dx_hinfo hinfo; in ocfs2_fill_new_dir_dx() local
2578 ocfs2_dx_dir_name_hash(inode, ".", 1, &hinfo); in ocfs2_fill_new_dir_dx()
2579 ocfs2_dx_entry_list_insert(entry_list, &hinfo, leaf_bh->b_blocknr); in ocfs2_fill_new_dir_dx()
2581 ocfs2_dx_dir_name_hash(inode, "..", 2, &hinfo); in ocfs2_fill_new_dir_dx()
2582 ocfs2_dx_entry_list_insert(entry_list, &hinfo, leaf_bh->b_blocknr); in ocfs2_fill_new_dir_dx()
2623 struct ocfs2_dx_hinfo hinfo; in ocfs2_dx_dir_index_block() local
2636 ocfs2_dx_dir_name_hash(dir, de->name, namelen, &hinfo); in ocfs2_dx_dir_index_block()
2638 i = ocfs2_dx_dir_hash_idx(OCFS2_SB(dir->i_sb), &hinfo); in ocfs2_dx_dir_index_block()
2641 ret = __ocfs2_dx_dir_leaf_insert(dir, handle, &hinfo, in ocfs2_dx_dir_index_block()
2668 struct ocfs2_dx_hinfo hinfo; in ocfs2_dx_dir_index_root_block() local
2682 ocfs2_dx_dir_name_hash(dir, de->name, de->name_len, &hinfo); in ocfs2_dx_dir_index_root_block()
2686 hinfo.major_hash, hinfo.minor_hash, in ocfs2_dx_dir_index_root_block()
2690 ocfs2_dx_entry_list_insert(&dx_root->dr_entries, &hinfo, in ocfs2_dx_dir_index_root_block()
3716 struct ocfs2_dx_hinfo *hinfo, u32 leaf_cpos, in ocfs2_dx_dir_rebalance() argument
3721 u32 cpos, split_hash, insert_hash = hinfo->major_hash; in ocfs2_dx_dir_rebalance()