Searched refs:deh_location (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/fs/reiserfs/ |
D | dir.c | 306 put_deh_location(dotdot, deh_location(dot) - strlen("..")); in make_empty_dir_item_v1() 310 memcpy(body + deh_location(dot), ".", 1); in make_empty_dir_item_v1() 311 memcpy(body + deh_location(dotdot), "..", 2); in make_empty_dir_item_v1() 340 put_deh_location(dotdot, deh_location(dot) - ROUND_UP(strlen(".."))); in make_empty_dir_item() 344 memcpy(body + deh_location(dot), ".", 1); in make_empty_dir_item() 345 memcpy(body + deh_location(dotdot), "..", 2); in make_empty_dir_item()
|
D | lbalance.c | 41 copy_records_len = (from ? deh_location(&deh[from - 1]) : in leaf_copy_dir_entries() 43 deh_location(&deh[from + copy_count - 1]); in leaf_copy_dir_entries() 46 deh_location(&deh[from + copy_count - 1]); in leaf_copy_dir_entries() 1105 (from ? deh_location(&deh[from - 1]) : ih_item_len(ih)); in leaf_cut_entries() 1107 deh_location(&deh[from + del_count - 1]); in leaf_cut_entries() 1113 deh_location(&deh[i]) - in leaf_cut_entries() 1118 deh_location(&deh[i]) - (DEH_SIZE * del_count + in leaf_cut_entries() 1351 (before ? deh_location(&deh[before - 1]) in leaf_paste_entries() 1357 deh_location(&deh[i]) + in leaf_paste_entries() 1363 deh_location(&deh[i]) + paste_size); in leaf_paste_entries() [all …]
|
D | item_ops.c | 387 (i ? (deh_location(deh - 1)) : ih_item_len(ih)) - in direntry_print_item() 388 deh_location(deh); in direntry_print_item() 389 name = item + deh_location(deh); in direntry_print_item() 486 (j ? deh_location(&deh[j - 1]) : ih_item_len(vi->vi_ih)) - in direntry_create_vi() 487 deh_location(&deh[j]) + DEH_SIZE; in direntry_create_vi()
|
D | reiserfs.h | 1895 __le16 deh_location; /* offset of name in the whole item */ member 1907 #define deh_location(p_deh) (le16_to_cpu((p_deh)->deh_location)) macro 1913 #define put_deh_location(p_deh,v) ((p_deh)->deh_location = cpu_to_le16((v))) 2004 (ih_item_body(bh, ih) + deh_location(deh)) 2257 return deh_location(deh - 1) - deh_location(deh); in entry_length() 2259 return ih_item_len(ih) - deh_location(deh); in entry_length()
|
D | namei.c | 80 de->de_name = ih_item_body(de->de_bh, de->de_ih) + deh_location(deh); in set_de_name_and_namelen() 484 deh->deh_location = 0; /* JDM Endian safe if 0 */ in reiserfs_add_entry()
|
D | prints.c | 109 deh_objectid(deh), deh_location(deh), in scnprintf_de_head()
|
D | stree.c | 397 if (deh_location(&deh[i]) > ih_item_len(ih)) { in has_valid_deh_location()
|