deh                53 fs/reiserfs/dir.c static inline bool is_privroot_deh(struct inode *dir, struct reiserfs_de_head *deh)
deh                57 fs/reiserfs/dir.c 	        deh->deh_objectid == INODE_PKEY(d_inode(privroot))->k_objectid);
deh               136 fs/reiserfs/dir.c 			struct reiserfs_de_head *deh =
deh               140 fs/reiserfs/dir.c 			     entry_num++, deh++) {
deh               144 fs/reiserfs/dir.c 				loff_t cur_pos = deh_offset(deh);
deh               147 fs/reiserfs/dir.c 				if (!de_visible(deh))
deh               150 fs/reiserfs/dir.c 				d_name = B_I_DEH_ENTRY_FILE_NAME(bh, ih, deh);
deh               174 fs/reiserfs/dir.c 				if (is_privroot_deh(inode, deh))
deh               177 fs/reiserfs/dir.c 				ctx->pos = deh_offset(deh);
deh               178 fs/reiserfs/dir.c 				d_ino = deh_objectid(deh);
deh               376 fs/reiserfs/item_ops.c 	struct reiserfs_de_head *deh;
deh               383 fs/reiserfs/item_ops.c 	deh = (struct reiserfs_de_head *)item;
deh               385 fs/reiserfs/item_ops.c 	for (i = 0; i < ih_entry_count(ih); i++, deh++) {
deh               387 fs/reiserfs/item_ops.c 		    (i ? (deh_location(deh - 1)) : ih_item_len(ih)) -
deh               388 fs/reiserfs/item_ops.c 		    deh_location(deh);
deh               389 fs/reiserfs/item_ops.c 		name = item + deh_location(deh);
deh               405 fs/reiserfs/item_ops.c 		       deh_dir_id(deh), deh_objectid(deh),
deh               406 fs/reiserfs/item_ops.c 		       GET_HASH_VALUE(deh_offset(deh)),
deh               407 fs/reiserfs/item_ops.c 		       GET_GENERATION_NUMBER((deh_offset(deh))),
deh               408 fs/reiserfs/item_ops.c 		       (de_hidden(deh)) ? "HIDDEN" : "VISIBLE");
deh               415 fs/reiserfs/item_ops.c 	struct reiserfs_de_head *deh;
deh               418 fs/reiserfs/item_ops.c 	deh = (struct reiserfs_de_head *)item;
deh               419 fs/reiserfs/item_ops.c 	for (i = 0; i < ih_entry_count(ih); i++, deh++) {
deh               465 fs/reiserfs/item_ops.c 	struct reiserfs_de_head *deh;
deh               475 fs/reiserfs/item_ops.c 	deh = (struct reiserfs_de_head *)(vi->vi_item);
deh               486 fs/reiserfs/item_ops.c 		    (j ? deh_location(&deh[j - 1]) : ih_item_len(vi->vi_ih)) -
deh               487 fs/reiserfs/item_ops.c 		    deh_location(&deh[j]) + DEH_SIZE;
deh                27 fs/reiserfs/lbalance.c 	struct reiserfs_de_head *deh;
deh                39 fs/reiserfs/lbalance.c 	deh = B_I_DEH(source, ih);
deh                41 fs/reiserfs/lbalance.c 		copy_records_len = (from ? deh_location(&deh[from - 1]) :
deh                43 fs/reiserfs/lbalance.c 		    deh_location(&deh[from + copy_count - 1]);
deh                46 fs/reiserfs/lbalance.c 		    deh_location(&deh[from + copy_count - 1]);
deh                84 fs/reiserfs/lbalance.c 						   deh_offset(&deh[from]));
deh               123 fs/reiserfs/lbalance.c 			   : 0, copy_count, deh + from, records,
deh              1076 fs/reiserfs/lbalance.c 	struct reiserfs_de_head *deh;
deh              1098 fs/reiserfs/lbalance.c 	deh = B_I_DEH(bh, ih);
deh              1105 fs/reiserfs/lbalance.c 	    (from ? deh_location(&deh[from - 1]) : ih_item_len(ih));
deh              1107 fs/reiserfs/lbalance.c 	    deh_location(&deh[from + del_count - 1]);
deh              1112 fs/reiserfs/lbalance.c 		put_deh_location(&deh[i],
deh              1113 fs/reiserfs/lbalance.c 				 deh_location(&deh[i]) -
deh              1117 fs/reiserfs/lbalance.c 		put_deh_location(&deh[i],
deh              1118 fs/reiserfs/lbalance.c 				 deh_location(&deh[i]) - (DEH_SIZE * del_count +
deh              1124 fs/reiserfs/lbalance.c 	memmove((char *)(deh + from),
deh              1125 fs/reiserfs/lbalance.c 		deh + from + del_count,
deh              1126 fs/reiserfs/lbalance.c 		prev_record - cut_records_len - (char *)(deh + from +
deh              1323 fs/reiserfs/lbalance.c 	struct reiserfs_de_head *deh;
deh              1346 fs/reiserfs/lbalance.c 	deh = B_I_DEH(bh, ih);
deh              1351 fs/reiserfs/lbalance.c 	    (before ? deh_location(&deh[before - 1])
deh              1356 fs/reiserfs/lbalance.c 		put_deh_location(&deh[i],
deh              1357 fs/reiserfs/lbalance.c 				 deh_location(&deh[i]) +
deh              1362 fs/reiserfs/lbalance.c 		put_deh_location(&deh[i],
deh              1363 fs/reiserfs/lbalance.c 				 deh_location(&deh[i]) + paste_size);
deh              1376 fs/reiserfs/lbalance.c 	deh += before;
deh              1377 fs/reiserfs/lbalance.c 	memmove((char *)(deh + new_entry_count), deh,
deh              1378 fs/reiserfs/lbalance.c 		insert_point - (char *)deh);
deh              1381 fs/reiserfs/lbalance.c 	deh = (struct reiserfs_de_head *)((char *)deh);
deh              1382 fs/reiserfs/lbalance.c 	memcpy(deh, new_dehs, DEH_SIZE * new_entry_count);
deh              1386 fs/reiserfs/lbalance.c 		put_deh_location(&deh[i],
deh              1387 fs/reiserfs/lbalance.c 				 deh_location(&deh[i]) +
deh              1402 fs/reiserfs/lbalance.c 		deh = B_I_DEH(bh, ih);
deh              1407 fs/reiserfs/lbalance.c 			     1) ? deh_location(&deh[i + 1]) : 0;
deh              1408 fs/reiserfs/lbalance.c 			prev = (i != 0) ? deh_location(&deh[i - 1]) : 0;
deh              1410 fs/reiserfs/lbalance.c 			if (prev && prev <= deh_location(&deh[i]))
deh              1415 fs/reiserfs/lbalance.c 					       ih, deh + i - 1, i, deh + i);
deh              1416 fs/reiserfs/lbalance.c 			if (next && next >= deh_location(&deh[i]))
deh              1421 fs/reiserfs/lbalance.c 					       ih, i, deh + i, deh + i + 1);
deh                32 fs/reiserfs/namei.c 	struct reiserfs_de_head *deh = de->de_deh;
deh                40 fs/reiserfs/namei.c 		if (off < deh_offset(deh + j)) {
deh                44 fs/reiserfs/namei.c 		if (off > deh_offset(deh + j)) {
deh                74 fs/reiserfs/namei.c 	struct reiserfs_de_head *deh = de->de_deh + de->de_entry_num;
deh                79 fs/reiserfs/namei.c 	de->de_namelen = de->de_entrylen - (de_with_sd(deh) ? SD_SIZE : 0);
deh                80 fs/reiserfs/namei.c 	de->de_name = ih_item_body(de->de_bh, de->de_ih) + deh_location(deh);
deh                95 fs/reiserfs/namei.c 	struct reiserfs_de_head *deh = de->de_deh + de->de_entry_num;
deh               105 fs/reiserfs/namei.c 	set_cpu_key_k_offset(&de->de_entry_key, deh_offset(deh));
deh               230 fs/reiserfs/namei.c 	struct reiserfs_de_head *deh = de->de_deh;
deh               237 fs/reiserfs/namei.c 	    GET_HASH_VALUE(deh_offset(deh + i)) !=
deh               245 fs/reiserfs/namei.c 	deh += i;
deh               247 fs/reiserfs/namei.c 	for (; i >= 0; i--, deh--) {
deh               249 fs/reiserfs/namei.c 		if (GET_HASH_VALUE(deh_offset(deh)) !=
deh               256 fs/reiserfs/namei.c 			set_bit(GET_GENERATION_NUMBER(deh_offset(deh)),
deh               437 fs/reiserfs/namei.c 	struct reiserfs_de_head *deh;
deh               484 fs/reiserfs/namei.c 	deh = (struct reiserfs_de_head *)buffer;
deh               485 fs/reiserfs/namei.c 	deh->deh_location = 0;	/* JDM Endian safe if 0 */
deh               486 fs/reiserfs/namei.c 	put_deh_offset(deh, cpu_key_k_offset(&entry_key));
deh               487 fs/reiserfs/namei.c 	deh->deh_state = 0;	/* JDM Endian safe if 0 */
deh               491 fs/reiserfs/namei.c 	deh->deh_dir_id = INODE_PKEY(inode)->k_dir_id;
deh               493 fs/reiserfs/namei.c 	deh->deh_objectid = INODE_PKEY(inode)->k_objectid;
deh               496 fs/reiserfs/namei.c 	memcpy((char *)(deh + 1), name, namelen);
deh               498 fs/reiserfs/namei.c 	padd_item((char *)(deh + 1), ROUND_UP(namelen), namelen);
deh               504 fs/reiserfs/namei.c 	mark_de_without_sd(deh);
deh               505 fs/reiserfs/namei.c 	visible ? mark_de_visible(deh) : mark_de_hidden(deh);
deh               543 fs/reiserfs/namei.c 	put_deh_offset(deh, SET_GENERATION_NUMBER(deh_offset(deh), gen_number));
deh               544 fs/reiserfs/namei.c 	set_cpu_key_k_offset(&entry_key, deh_offset(deh));
deh               103 fs/reiserfs/prints.c 			     struct reiserfs_de_head *deh)
deh               105 fs/reiserfs/prints.c 	if (deh)
deh               108 fs/reiserfs/prints.c 				 deh_offset(deh), deh_dir_id(deh),
deh               109 fs/reiserfs/prints.c 				 deh_objectid(deh), deh_location(deh),
deh               110 fs/reiserfs/prints.c 				 deh_state(deh));
deh              1959 fs/reiserfs/reiserfs.h #define mark_de_with_sd(deh)        set_bit_unaligned (DEH_Statdata, &((deh)->deh_state))
deh              1960 fs/reiserfs/reiserfs.h #define mark_de_without_sd(deh)     clear_bit_unaligned (DEH_Statdata, &((deh)->deh_state))
deh              1961 fs/reiserfs/reiserfs.h #define mark_de_visible(deh)	    set_bit_unaligned (DEH_Visible, &((deh)->deh_state))
deh              1962 fs/reiserfs/reiserfs.h #define mark_de_hidden(deh)	    clear_bit_unaligned (DEH_Visible, &((deh)->deh_state))
deh              1964 fs/reiserfs/reiserfs.h #define de_with_sd(deh)		    test_bit_unaligned (DEH_Statdata, &((deh)->deh_state))
deh              1965 fs/reiserfs/reiserfs.h #define de_visible(deh)	    	    test_bit_unaligned (DEH_Visible, &((deh)->deh_state))
deh              1966 fs/reiserfs/reiserfs.h #define de_hidden(deh)	    	    !test_bit_unaligned (DEH_Visible, &((deh)->deh_state))
deh              2006 fs/reiserfs/reiserfs.h #define B_I_DEH_ENTRY_FILE_NAME(bh, ih, deh) \
deh              2007 fs/reiserfs/reiserfs.h 				(ih_item_body(bh, ih) + deh_location(deh))
deh              2010 fs/reiserfs/reiserfs.h #define I_DEH_N_ENTRY_FILE_NAME_LENGTH(ih,deh,entry_num) \
deh              2011 fs/reiserfs/reiserfs.h (I_DEH_N_ENTRY_LENGTH (ih, deh, entry_num) - (de_with_sd (deh) ? SD_SIZE : 0))
deh              2256 fs/reiserfs/reiserfs.h 	struct reiserfs_de_head *deh;
deh              2258 fs/reiserfs/reiserfs.h 	deh = B_I_DEH(bh, ih) + pos_in_item;
deh              2260 fs/reiserfs/reiserfs.h 		return deh_location(deh - 1) - deh_location(deh);
deh              2262 fs/reiserfs/reiserfs.h 	return ih_item_len(ih) - deh_location(deh);
deh              1737 fs/reiserfs/super.c 	struct reiserfs_de_head *deh;
deh              1753 fs/reiserfs/super.c 	deh = de.de_deh + de.de_entry_num;
deh              1755 fs/reiserfs/super.c 	if (deh_offset(deh) == DOT_DOT_OFFSET) {
deh              1763 fs/reiserfs/super.c 	deh_hashval = GET_HASH_VALUE(deh_offset(deh));