Lines Matching refs:dx_entry

904 	struct ocfs2_dx_entry *dx_entry = NULL;  in ocfs2_dx_dir_search()  local
950 dx_entry = &entry_list->de_entries[i]; in ocfs2_dx_dir_search()
952 if (hinfo->major_hash != le32_to_cpu(dx_entry->dx_major_hash) in ocfs2_dx_dir_search()
953 || hinfo->minor_hash != le32_to_cpu(dx_entry->dx_minor_hash)) in ocfs2_dx_dir_search()
961 le64_to_cpu(dx_entry->dx_dirent_blk), in ocfs2_dx_dir_search()
998 res->dl_dx_entry = dx_entry; in ocfs2_dx_dir_search()
1255 struct ocfs2_dx_entry *dx_entry = lookup->dl_dx_entry; in ocfs2_delete_entry_dx() local
1284 index = (char *)dx_entry - (char *)entry_list->de_entries; in ocfs2_delete_entry_dx()
1285 index /= sizeof(*dx_entry); in ocfs2_delete_entry_dx()
1290 entry_list, dx_entry); in ocfs2_delete_entry_dx()
1460 struct ocfs2_dx_entry *dx_entry; in ocfs2_dx_entry_list_insert() local
1463 dx_entry = &entry_list->de_entries[i]; in ocfs2_dx_entry_list_insert()
1465 memset(dx_entry, 0, sizeof(*dx_entry)); in ocfs2_dx_entry_list_insert()
1466 dx_entry->dx_major_hash = cpu_to_le32(hinfo->major_hash); in ocfs2_dx_entry_list_insert()
1467 dx_entry->dx_minor_hash = cpu_to_le32(hinfo->minor_hash); in ocfs2_dx_entry_list_insert()
1468 dx_entry->dx_dirent_blk = cpu_to_le64(dirent_blk); in ocfs2_dx_entry_list_insert()
3668 struct ocfs2_dx_entry *dx_entry; in ocfs2_dx_dir_transfer_leaf() local
3681 memset(&tmp_list->de_entries, 0, sizeof(*dx_entry)*num_used); in ocfs2_dx_dir_transfer_leaf()
3684 dx_entry = &orig_list->de_entries[j]; in ocfs2_dx_dir_transfer_leaf()
3685 major_hash = le32_to_cpu(dx_entry->dx_major_hash); in ocfs2_dx_dir_transfer_leaf()
3688 dx_entry); in ocfs2_dx_dir_transfer_leaf()
3691 dx_entry); in ocfs2_dx_dir_transfer_leaf()
4042 struct ocfs2_dx_entry *dx_entry; in ocfs2_expand_inline_dx_root() local
4098 dx_entry = &entry_list->de_entries[i]; in ocfs2_expand_inline_dx_root()
4101 le32_to_cpu(dx_entry->dx_minor_hash)); in ocfs2_expand_inline_dx_root()
4104 ocfs2_dx_dir_leaf_insert_tail(target_leaf, dx_entry); in ocfs2_expand_inline_dx_root()