Home
last modified time | relevance | path

Searched refs:KEY_SIZE (Results 1 – 8 of 8) 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()
159 (nr - to) * KEY_SIZE + (nr + 1 + count) * DC_SIZE); in internal_insert_childs()
162 memcpy(ih, inserted, KEY_SIZE); in internal_insert_childs()
164 memcpy(ih + 1, inserted + 1, KEY_SIZE); in internal_insert_childs()
170 KEY_SIZE)); in internal_insert_childs()
182 dc_size(t_dc) + (count * (DC_SIZE + KEY_SIZE))); in internal_insert_childs()
238 (nr - first_i - del_num) * KEY_SIZE + (nr + 1 - in internal_delete_pointers_items()
245 (del_num * (KEY_SIZE + DC_SIZE))); in internal_delete_pointers_items()
256 dc_size(t_dc) - (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()
1190 + ((h) ? KEY_SIZE : 0)) { in can_node_be_removed()
1620 (DC_SIZE + KEY_SIZE); in dc_check_balance_internal()
1637 (DC_SIZE + KEY_SIZE); in dc_check_balance_internal()
1676 KEY_SIZE); in dc_check_balance_internal()
1691 KEY_SIZE); in dc_check_balance_internal()
2465 KEY_SIZE) * (tb->blknum[h] - 1) + in fix_nodes()
[all …]
Ddo_balan.c1505 memcpy(insert_key + i, B_N_PKEY(S_new[i], 0), KEY_SIZE); in balance_leaf()
1755 KEY_SIZE); in replace_key()
1758 KEY_SIZE); in replace_key()
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()
741 KEY_SIZE, in search_by_key()
Dreiserfs.h1127 #define KEY_SIZE (sizeof(struct reiserfs_key)) 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) )
2535 memcpy(to, from, KEY_SIZE); in copy_key()
Dprints.c732 bh->b_size - BLKH_SIZE - KEY_SIZE * B_NR_ITEMS(bh) - in check_internal_block_head()
Dlbalance.c74 memcpy(&new_ih.ih_key, &ih->ih_key, KEY_SIZE); in leaf_copy_dir_entries()
Dinode.c1397 memset(INODE_PKEY(inode), 0, KEY_SIZE); in reiserfs_make_bad_inode()
1817 memcpy(INODE_PKEY(inode), &(ih.ih_key), KEY_SIZE); in reiserfs_new_inode()