Home
last modified time | relevance | path

Searched refs:child_pos (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/fs/reiserfs/
Dibalance.c633 int h, int child_pos) in balance_internal_when_delete() argument
648 internal_delete_childs(&bi, child_pos, -insert_num); in balance_internal_when_delete()
805 int child_pos, in balance_internal() argument
849 balance_internal_when_delete(tb, h, child_pos); in balance_internal()
861 if (tb->lnum[h] <= child_pos) { in balance_internal()
865 child_pos -= tb->lnum[h]; in balance_internal()
866 } else if (tb->lnum[h] > child_pos + insert_num) { in balance_internal()
877 n + child_pos + 1, in balance_internal()
889 internal_shift1_left(tb, h, child_pos + 1); in balance_internal()
891 k = tb->lnum[h] - child_pos - 1; in balance_internal()
[all …]
Ddo_balan.c1850 int child_pos; /* position of a child node in its parent */ in do_balance() local
1887 child_pos = PATH_H_B_ITEM_ORDER(tb->tb_path, 0) + in do_balance()
1896 child_pos = balance_internal(tb, h, child_pos, insert_key, in do_balance()