Home
last modified time | relevance | path

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

/linux-6.1.9/fs/reiserfs/
Ddir.c306 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()
Dlbalance.c41 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 …]
Ditem_ops.c387 (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()
Dreiserfs.h1896 __le16 deh_location; /* offset of name in the whole item */ member
1908 #define deh_location(p_deh) (le16_to_cpu((p_deh)->deh_location)) macro
1914 #define put_deh_location(p_deh,v) ((p_deh)->deh_location = cpu_to_le16((v)))
2005 (ih_item_body(bh, ih) + deh_location(deh))
2258 return deh_location(deh - 1) - deh_location(deh); in entry_length()
2260 return ih_item_len(ih) - deh_location(deh); in entry_length()
Dnamei.c80 de->de_name = ih_item_body(de->de_bh, de->de_ih) + deh_location(deh); in set_de_name_and_namelen()
486 deh->deh_location = 0; /* JDM Endian safe if 0 */ in reiserfs_add_entry()
Dprints.c109 deh_objectid(deh), deh_location(deh), in scnprintf_de_head()
Dstree.c397 if (deh_location(&deh[i]) > ih_item_len(ih)) { in has_valid_deh_location()