Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/reiserfs/
Dibalance.c146 RFALSE(B_FREE_SPACE(cur) < count * (KEY_SIZE + DC_SIZE), in internal_insert_childs()
148 B_FREE_SPACE(cur), count * (KEY_SIZE + DC_SIZE)); in internal_insert_childs()
153 memmove(dc + count, dc, (nr + 1 - (to + 1)) * DC_SIZE); in internal_insert_childs()
161 memcpy(dc, new_dc, DC_SIZE * count); in internal_insert_childs()
167 (nr - to) * KEY_SIZE + (nr + 1 + count) * DC_SIZE); in internal_insert_childs()
177 blkh_free_space(blkh) - count * (DC_SIZE + in internal_insert_childs()
190 dc_size(t_dc) + (count * (DC_SIZE + KEY_SIZE))); in internal_insert_childs()
245 memmove(dc, dc + del_num, (nr + 1 - first_p - del_num) * DC_SIZE); in internal_delete_pointers_items()
249 del_num) * DC_SIZE); in internal_delete_pointers_items()
255 (del_num * (KEY_SIZE + DC_SIZE))); in internal_delete_pointers_items()
[all …]
Dfix_node.c66 vn->vn_nr_item = (vn->vn_size - DC_SIZE) / (DC_SIZE + KEY_SIZE); in create_virtual_node()
205 tb->lnum[h] = cur_free / (DC_SIZE + KEY_SIZE); in check_left()
291 tb->rnum[h] = cur_free / (DC_SIZE + KEY_SIZE); in check_right()
431 i = ((to - from) * (KEY_SIZE + DC_SIZE) + DC_SIZE); in get_num_ver()
1796 (DC_SIZE + KEY_SIZE); in dc_check_balance_internal()
1813 (DC_SIZE + KEY_SIZE); 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()
2690 (DC_SIZE + in fix_nodes()
2692 DC_SIZE; in fix_nodes()
[all …]
Dstree.c509 if (nr > (blocksize - BLKH_SIZE - DC_SIZE) / (KEY_SIZE + DC_SIZE)) { in is_internal()
515 used_space = BLKH_SIZE + KEY_SIZE * nr + DC_SIZE * (nr + 1); in is_internal()
Dreiserfs.h2043 #define DC_SIZE (sizeof(struct disk_child)) macro
2051 ((bh)->b_data + BLKH_SIZE + B_NR_ITEMS(bh) * KEY_SIZE + DC_SIZE * (n_pos)))
2066 #define MAX_NR_KEY(bh) ( (MAX_CHILD_SIZE(bh)-DC_SIZE)/(KEY_SIZE+DC_SIZE) )
Dprints.c757 DC_SIZE * (B_NR_ITEMS(bh) + 1)) in check_internal_block_head()