Home
last modified time | relevance | path

Searched refs:deh_location (Results 1 – 6 of 6) sorted by relevance

/linux-3.4.99/fs/reiserfs/
Ddir.c281 put_deh_location(&(deh[1]), deh_location(&(deh[0])) - strlen("..")); in make_empty_dir_item_v1()
285 memcpy(body + deh_location(&(deh[0])), ".", 1); in make_empty_dir_item_v1()
286 memcpy(body + deh_location(&(deh[1])), "..", 2); in make_empty_dir_item_v1()
315 deh_location(&(deh[0])) - ROUND_UP(strlen(".."))); in make_empty_dir_item()
319 memcpy(body + deh_location(&(deh[0])), ".", 1); in make_empty_dir_item()
320 memcpy(body + deh_location(&(deh[1])), "..", 2); in make_empty_dir_item()
Dlbalance.c45 copy_records_len = (from ? deh_location(&(deh[from - 1])) : in leaf_copy_dir_entries()
47 deh_location(&(deh[from + copy_count - 1])); in leaf_copy_dir_entries()
50 deh_location(&(deh[from + copy_count - 1])); in leaf_copy_dir_entries()
993 (from ? deh_location(&(deh[from - 1])) : ih_item_len(ih)); in leaf_cut_entries()
995 deh_location(&(deh[from + del_count - 1])); in leaf_cut_entries()
1001 deh_location(&deh[i]) - in leaf_cut_entries()
1006 deh_location(&deh[i]) - (DEH_SIZE * del_count + in leaf_cut_entries()
1233 (before ? deh_location(&(deh[before - 1])) in leaf_paste_entries()
1239 deh_location(&(deh[i])) + in leaf_paste_entries()
1245 deh_location(&(deh[i])) + paste_size); in leaf_paste_entries()
[all …]
Ditem_ops.c401 (i ? (deh_location(deh - 1)) : ih_item_len(ih)) - in direntry_print_item()
402 deh_location(deh); in direntry_print_item()
403 name = item + deh_location(deh); in direntry_print_item()
497 (j ? deh_location(&(deh[j - 1])) : ih_item_len(vi->vi_ih)) - in direntry_create_vi()
498 deh_location(&(deh[j])) + DEH_SIZE; in direntry_create_vi()
Dreiserfs.h1654 __le16 deh_location; /* offset of name in the whole item */ member
1662 #define deh_location(p_deh) (le16_to_cpu((p_deh)->deh_location)) macro
1668 #define put_deh_location(p_deh,v) ((p_deh)->deh_location = cpu_to_le16((v)))
1745 return deh_location(deh - 1) - deh_location(deh); in entry_length()
1747 return ih_item_len(ih) - deh_location(deh); in entry_length()
1754 #define B_I_E_NAME(bh,ih,entry_num) ((char *)(bh->b_data + ih_location(ih) + deh_location(B_I_DEH(b…
1783 #define B_I_DEH_ENTRY_FILE_NAME(bh,ih,deh) (B_I_PITEM (bh, ih) + deh_location(deh))
Dprints.c106 deh_location(deh), deh_state(deh)); in sprintf_de_head()
Dnamei.c74 de->de_name = B_I_PITEM(de->de_bh, de->de_ih) + deh_location(deh); in set_de_name_and_namelen()
450 deh->deh_location = 0; /* JDM Endian safe if 0 */ in reiserfs_add_entry()