Searched refs:B_N_CHILD (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/fs/reiserfs/ |
H A D | ibalance.c | 151 dc = B_N_CHILD(cur, to + 1); in internal_insert_childs() 188 B_N_CHILD(cur_bi->bi_parent, cur_bi->bi_position); in internal_insert_childs() 243 dc = B_N_CHILD(cur, first_p); in internal_delete_pointers_items() 264 t_dc = B_N_CHILD(cur_bi->bi_parent, cur_bi->bi_position); in internal_delete_pointers_items() 343 dc = B_N_CHILD(dest, dest_order); in internal_copy_pointers_items() 348 memcpy(dc, B_N_CHILD(src, src_order), DC_SIZE * cpy_num); in internal_copy_pointers_items() 373 t_dc = B_N_CHILD(dest_bi->bi_parent, dest_bi->bi_position); in internal_copy_pointers_items() 907 dc = B_N_CHILD(tbSh, 0); in balance_internal() 973 dc = B_N_CHILD(tb->R[h], 0); in balance_internal() 1017 dc = B_N_CHILD(tbSh, 0); in balance_internal() [all …]
|
H A D | fix_node.c | 931 return (MAX_CHILD_SIZE(f) - dc_size(B_N_CHILD(f, order))); in get_lfree() 954 return (MAX_CHILD_SIZE(f) - dc_size(B_N_CHILD(f, order))); in get_rfree() 1795 n = dc_size(B_N_CHILD(tb->FL[h], order_L)) / in dc_check_balance_internal() 1812 n = dc_size(B_N_CHILD(tb->FR[h], order_R)) / in dc_check_balance_internal() 1857 n = dc_size(B_N_CHILD(tb->FL[h], order_L)) / (DC_SIZE + in dc_check_balance_internal() 1872 n = dc_size(B_N_CHILD(tb->FR[h], order_R)) / (DC_SIZE + in dc_check_balance_internal() 2195 dc_size(B_N_CHILD(tb->FL[0], child_position)), in get_neighbors() 2232 dc_size(B_N_CHILD(tb->FR[0], child_position)), in get_neighbors() 2235 dc_size(B_N_CHILD(tb->FR[0], child_position))); in get_neighbors()
|
H A D | lbalance.c | 396 t_dc = B_N_CHILD(dest_bi->bi_parent, dest_bi->bi_position); in leaf_copy_items_entirely() 966 t_dc = B_N_CHILD(bi->bi_parent, bi->bi_position); in leaf_insert_into_buf() 1060 B_N_CHILD(bi->bi_parent, bi->bi_position); in leaf_paste_in_buffer() 1233 t_dc = B_N_CHILD(bi->bi_parent, bi->bi_position); in leaf_cut_from_buffer() 1302 B_N_CHILD(bi->bi_parent, bi->bi_position); in leaf_delete_items_entirely()
|
H A D | do_balan.c | 1479 B_N_CHILD(bi->bi_parent, bi->bi_position)->dc_size = 0; /* Endian safe if 0 */ in make_empty_node() 1624 dc = B_N_CHILD(bh, 0); in check_internal_node() 1687 dc_size(B_N_CHILD in check_after_balance_leaf() 1697 dc_size(B_N_CHILD in check_after_balance_leaf() 1707 dc_size(B_N_CHILD(PATH_H_PBUFFER(tb->tb_path, 1), in check_after_balance_leaf() 1711 dc_size(B_N_CHILD(PATH_H_PBUFFER(tb->tb_path, 1), in check_after_balance_leaf() 1722 dc_size(B_N_CHILD in check_after_balance_leaf()
|
H A D | prints.c | 464 dc = B_N_CHILD(bh, from); in print_internal()
|
H A D | reiserfs.h | 2047 #define B_N_CHILD(bh, n_pos) ((struct disk_child *)\ macro 2051 #define B_N_CHILD_NUM(bh, n_pos) (dc_block_number(B_N_CHILD(bh, n_pos))) 2053 (put_dc_block_number(B_N_CHILD(bh, n_pos), val))
|