Home
last modified time | relevance | path

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

/fs/reiserfs/
Dfix_node.c870 return (MAX_CHILD_SIZE(f) - dc_size(B_N_CHILD(f, order))); in get_lfree()
892 return (MAX_CHILD_SIZE(f) - dc_size(B_N_CHILD(f, order))); in get_rfree()
1619 n = dc_size(B_N_CHILD(tb->FL[h], order_L)) / in dc_check_balance_internal()
1636 n = dc_size(B_N_CHILD(tb->FR[h], order_R)) / in dc_check_balance_internal()
1675 n = dc_size(B_N_CHILD(tb->FL[h], order_L)) / (DC_SIZE + in dc_check_balance_internal()
1690 n = dc_size(B_N_CHILD(tb->FR[h], order_R)) / (DC_SIZE + in dc_check_balance_internal()
1991 dc_size(B_N_CHILD(tb->FL[0], child_position)), in get_neighbors()
2028 dc_size(B_N_CHILD(tb->FR[0], child_position)), in get_neighbors()
2031 dc_size(B_N_CHILD(tb->FR[0], child_position))); in get_neighbors()
Dlbalance.c371 dc_size(t_dc) + (j - last_inserted_loc + in leaf_copy_items_entirely()
864 dc_size(t_dc) + (IH_SIZE + in leaf_insert_into_buf()
955 put_dc_size(t_dc, dc_size(t_dc) + paste_size); in leaf_paste_in_buffer()
1122 put_dc_size(t_dc, dc_size(t_dc) - cut_size); in leaf_cut_from_buffer()
1192 dc_size(t_dc) - (j - last_removed_loc + in leaf_delete_items_entirely()
Ddo_balan.c1661 B_N_CHILD(bi->bi_parent, bi->bi_position)->dc_size = 0; /* Endian safe if 0 */ in make_empty_node()
1869 dc_size(B_N_CHILD in check_after_balance_leaf()
1879 dc_size(B_N_CHILD in check_after_balance_leaf()
1889 dc_size(B_N_CHILD(PATH_H_PBUFFER(tb->tb_path, 1), in check_after_balance_leaf()
1893 dc_size(B_N_CHILD(PATH_H_PBUFFER(tb->tb_path, 1), in check_after_balance_leaf()
1904 dc_size(B_N_CHILD in check_after_balance_leaf()
Dibalance.c182 dc_size(t_dc) + (count * (DC_SIZE + KEY_SIZE))); in internal_insert_childs()
256 dc_size(t_dc) - (del_num * (KEY_SIZE + DC_SIZE))); in internal_delete_pointers_items()
357 dc_size(t_dc) + (KEY_SIZE * (cpy_num - 1) + in internal_copy_pointers_items()
449 put_dc_size(t_dc, dc_size(t_dc) + KEY_SIZE); in internal_insert_key()
Dreiserfs.h1813 __le16 dc_size; /* Disk child's used space. */ member
1819 #define dc_size(dc_p) (le16_to_cpu((dc_p)->dc_size)) macro
1821 #define put_dc_size(dc_p, val) do { (dc_p)->dc_size = cpu_to_le16(val); } while(0)
Dprints.c157 dc_size(dc)); in sprintf_disk_child()