Lines Matching defs:deh
27 struct reiserfs_de_head *deh;
39 deh = B_I_DEH(source, ih);
41 copy_records_len = (from ? deh_location(&deh[from - 1]) :
43 deh_location(&deh[from + copy_count - 1]);
46 deh_location(&deh[from + copy_count - 1]);
84 deh_offset(&deh[from]));
123 : 0, copy_count, deh + from, records,
1076 struct reiserfs_de_head *deh;
1098 deh = B_I_DEH(bh, ih);
1105 (from ? deh_location(&deh[from - 1]) : ih_item_len(ih));
1107 deh_location(&deh[from + del_count - 1]);
1112 put_deh_location(&deh[i],
1113 deh_location(&deh[i]) -
1117 put_deh_location(&deh[i],
1118 deh_location(&deh[i]) - (DEH_SIZE * del_count +
1124 memmove((char *)(deh + from),
1125 deh + from + del_count,
1126 prev_record - cut_records_len - (char *)(deh + from +
1323 struct reiserfs_de_head *deh;
1346 deh = B_I_DEH(bh, ih);
1351 (before ? deh_location(&deh[before - 1])
1356 put_deh_location(&deh[i],
1357 deh_location(&deh[i]) +
1362 put_deh_location(&deh[i],
1363 deh_location(&deh[i]) + paste_size);
1376 deh += before;
1377 memmove((char *)(deh + new_entry_count), deh,
1378 insert_point - (char *)deh);
1381 deh = (struct reiserfs_de_head *)((char *)deh);
1382 memcpy(deh, new_dehs, DEH_SIZE * new_entry_count);
1386 put_deh_location(&deh[i],
1387 deh_location(&deh[i]) +
1402 deh = B_I_DEH(bh, ih);
1407 1) ? deh_location(&deh[i + 1]) : 0;
1408 prev = (i != 0) ? deh_location(&deh[i - 1]) : 0;
1410 if (prev && prev <= deh_location(&deh[i]))
1415 ih, deh + i - 1, i, deh + i);
1416 if (next && next >= deh_location(&deh[i]))
1421 ih, i, deh + i, deh + i + 1);