Lines Matching refs:dx_entry
928 struct ocfs2_dx_entry *dx_entry = NULL; in ocfs2_dx_dir_search() local
974 dx_entry = &entry_list->de_entries[i]; in ocfs2_dx_dir_search()
976 if (hinfo->major_hash != le32_to_cpu(dx_entry->dx_major_hash) in ocfs2_dx_dir_search()
977 || hinfo->minor_hash != le32_to_cpu(dx_entry->dx_minor_hash)) in ocfs2_dx_dir_search()
985 le64_to_cpu(dx_entry->dx_dirent_blk), in ocfs2_dx_dir_search()
1022 res->dl_dx_entry = dx_entry; in ocfs2_dx_dir_search()
1266 struct ocfs2_dx_entry *dx_entry = lookup->dl_dx_entry; in ocfs2_delete_entry_dx() local
1295 index = (char *)dx_entry - (char *)entry_list->de_entries; in ocfs2_delete_entry_dx()
1296 index /= sizeof(*dx_entry); in ocfs2_delete_entry_dx()
1301 entry_list, dx_entry); in ocfs2_delete_entry_dx()
1471 struct ocfs2_dx_entry *dx_entry; in ocfs2_dx_entry_list_insert() local
1474 dx_entry = &entry_list->de_entries[i]; in ocfs2_dx_entry_list_insert()
1476 memset(dx_entry, 0, sizeof(*dx_entry)); in ocfs2_dx_entry_list_insert()
1477 dx_entry->dx_major_hash = cpu_to_le32(hinfo->major_hash); in ocfs2_dx_entry_list_insert()
1478 dx_entry->dx_minor_hash = cpu_to_le32(hinfo->minor_hash); in ocfs2_dx_entry_list_insert()
1479 dx_entry->dx_dirent_blk = cpu_to_le64(dirent_blk); in ocfs2_dx_entry_list_insert()
3735 struct ocfs2_dx_entry *dx_entry; in ocfs2_dx_dir_transfer_leaf() local
3749 memset(&tmp_list->de_entries, 0, sizeof(*dx_entry)*num_used); in ocfs2_dx_dir_transfer_leaf()
3752 dx_entry = &orig_list->de_entries[j]; in ocfs2_dx_dir_transfer_leaf()
3753 major_hash = le32_to_cpu(dx_entry->dx_major_hash); in ocfs2_dx_dir_transfer_leaf()
3756 dx_entry); in ocfs2_dx_dir_transfer_leaf()
3759 dx_entry); in ocfs2_dx_dir_transfer_leaf()
4109 struct ocfs2_dx_entry *dx_entry; in ocfs2_expand_inline_dx_root() local
4165 dx_entry = &entry_list->de_entries[i]; in ocfs2_expand_inline_dx_root()
4168 le32_to_cpu(dx_entry->dx_minor_hash)); in ocfs2_expand_inline_dx_root()
4171 ocfs2_dx_dir_leaf_insert_tail(target_leaf, dx_entry); in ocfs2_expand_inline_dx_root()