Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/reiserfs/
Ddir.c215 put_deh_location( &(deh[1]), deh_location( &(deh[0]) ) - strlen( ".." ) ); in make_empty_dir_item_v1()
219 memcpy (body + deh_location( &(deh[0]) ), ".", 1); in make_empty_dir_item_v1()
220 memcpy (body + deh_location( &(deh[1]) ), "..", 2); in make_empty_dir_item_v1()
248 put_deh_location( &(deh[1]), deh_location( &(deh[0])) - ROUND_UP( strlen( ".." ) ) ); in make_empty_dir_item()
252 memcpy (body + deh_location( &(deh[0]) ), ".", 1); in make_empty_dir_item()
253 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()
46 ih_item_len(ih)) - deh_location( &(deh[from + copy_count - 1])); in leaf_copy_dir_entries()
48 deh_location( &(deh[from + copy_count - 1])); in leaf_copy_dir_entries()
923 prev_record_offset = (from ? deh_location( &(deh[from - 1])) : ih_item_len(ih)); in leaf_cut_entries()
925 deh_location( &(deh[from + del_count - 1])); in leaf_cut_entries()
932 deh_location( &deh[i] ) - (DEH_SIZE * del_count ) ); in leaf_cut_entries()
936 deh_location( &deh[i] ) - (DEH_SIZE * del_count + cut_records_len) ); in leaf_cut_entries()
1155 …insert_point = item + (before ? deh_location( &(deh[before - 1])) : (ih_item_len(ih) - paste_size)… in leaf_paste_entries()
1160 deh_location(&(deh[i])) + (DEH_SIZE * new_entry_count )); in leaf_paste_entries()
1164 put_deh_location( &(deh[i]), deh_location(&(deh[i])) + paste_size ); in leaf_paste_entries()
[all …]
Ditem_ops.c429 namelen = (i ? (deh_location(deh - 1)) : ih_item_len(ih)) - deh_location(deh); in direntry_print_item()
430 name = item + deh_location(deh); in direntry_print_item()
529 dir_u->entry_sizes[i] = (j ? deh_location( &(deh[j - 1]) ) : in direntry_create_vi()
531 deh_location( &(deh[j])) + DEH_SIZE; in direntry_create_vi()
Dnamei.c64 de->de_name = B_I_PITEM (de->de_bh, de->de_ih) + deh_location(deh); in set_de_name_and_namelen()
386 deh->deh_location = 0; /* JDM Endian safe if 0 */ in reiserfs_add_entry()
Dprints.c103 deh_objectid(deh), deh_location(deh), deh_state(deh) ); in sprintf_de_head()
/linux-2.4.37.9/include/linux/
Dreiserfs_fs.h997 __u16 deh_location; /* offset of name in the whole item */ member
1005 #define deh_location(p_deh) (le16_to_cpu((p_deh)->deh_location)) macro
1011 #define put_deh_location(p_deh,v) ((p_deh)->deh_location = cpu_to_le16((v)))
1085 return deh_location(deh-1) - deh_location(deh); in entry_length()
1087 return ih_item_len(ih) - deh_location(deh); in entry_length()
1097 #define B_I_E_NAME(bh,ih,entry_num) ((char *)(bh->b_data + ih_location(ih) + deh_location(B_I_DEH(b…
1128 #define B_I_DEH_ENTRY_FILE_NAME(bh,ih,deh) (B_I_PITEM (bh, ih) + deh_location(deh))