Home
last modified time | relevance | path

Searched refs:DC_SIZE (Results 1 – 5 of 5) sorted by relevance

/linux-3.4.99/fs/reiserfs/
Dibalance.c138 RFALSE(B_FREE_SPACE(cur) < count * (KEY_SIZE + DC_SIZE), in internal_insert_childs()
140 B_FREE_SPACE(cur), count * (KEY_SIZE + DC_SIZE)); in internal_insert_childs()
145 memmove(dc + count, dc, (nr + 1 - (to + 1)) * DC_SIZE); in internal_insert_childs()
153 memcpy(dc, new_dc, DC_SIZE * count); in internal_insert_childs()
159 (nr - to) * KEY_SIZE + (nr + 1 + count) * DC_SIZE); in internal_insert_childs()
169 blkh_free_space(blkh) - count * (DC_SIZE + in internal_insert_childs()
182 dc_size(t_dc) + (count * (DC_SIZE + KEY_SIZE))); in internal_insert_childs()
235 memmove(dc, dc + del_num, (nr + 1 - first_p - del_num) * DC_SIZE); in internal_delete_pointers_items()
239 del_num) * DC_SIZE); in internal_delete_pointers_items()
245 (del_num * (KEY_SIZE + DC_SIZE))); in internal_delete_pointers_items()
[all …]
Dfix_node.c93 vn->vn_nr_item = (vn->vn_size - DC_SIZE) / (DC_SIZE + KEY_SIZE); in create_virtual_node()
214 tb->lnum[h] = cur_free / (DC_SIZE + KEY_SIZE); in check_left()
294 tb->rnum[h] = cur_free / (DC_SIZE + KEY_SIZE); in check_right()
408 i = ((to - from) * (KEY_SIZE + DC_SIZE) + DC_SIZE); in get_num_ver()
1620 (DC_SIZE + KEY_SIZE); in dc_check_balance_internal()
1637 (DC_SIZE + KEY_SIZE); 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()
2464 (DC_SIZE + in fix_nodes()
2466 DC_SIZE; in fix_nodes()
[all …]
Dstree.c484 if (nr > (blocksize - BLKH_SIZE - DC_SIZE) / (KEY_SIZE + DC_SIZE)) { in is_internal()
491 used_space = BLKH_SIZE + KEY_SIZE * nr + DC_SIZE * (nr + 1); in is_internal()
Dreiserfs.h1817 #define DC_SIZE (sizeof(struct disk_child)) macro
1825 ((bh)->b_data + BLKH_SIZE + B_NR_ITEMS(bh) * KEY_SIZE + DC_SIZE * (n_pos)))
1840 #define MAX_NR_KEY(bh) ( (MAX_CHILD_SIZE(bh)-DC_SIZE)/(KEY_SIZE+DC_SIZE) )
Dprints.c733 DC_SIZE * (B_NR_ITEMS(bh) + 1)) in check_internal_block_head()