Home
last modified time | relevance | path

Searched refs:KEY_SIZE (Results 1 – 8 of 8) sorted by relevance

/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()
167 (nr - to) * KEY_SIZE + (nr + 1 + count) * DC_SIZE); in internal_insert_childs()
170 memcpy(ih, inserted, KEY_SIZE); in internal_insert_childs()
172 memcpy(ih + 1, inserted + 1, KEY_SIZE); in internal_insert_childs()
178 KEY_SIZE)); in internal_insert_childs()
190 dc_size(t_dc) + (count * (DC_SIZE + KEY_SIZE))); in internal_insert_childs()
248 (nr - first_i - del_num) * KEY_SIZE + (nr + 1 - in internal_delete_pointers_items()
255 (del_num * (KEY_SIZE + DC_SIZE))); in internal_delete_pointers_items()
266 dc_size(t_dc) - (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()
1293 + ((h) ? KEY_SIZE : 0)) { in can_node_be_removed()
1796 (DC_SIZE + KEY_SIZE); in dc_check_balance_internal()
1813 (DC_SIZE + KEY_SIZE); in dc_check_balance_internal()
1858 KEY_SIZE); in dc_check_balance_internal()
1873 KEY_SIZE); in dc_check_balance_internal()
2692 KEY_SIZE) * (tb->blknum[h] - 1) + 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()
774 KEY_SIZE, in search_by_key()
Ddo_balan.c1249 memcpy(insert_key + i, leaf_key(tb->S_new[i], 0), KEY_SIZE); in balance_leaf_new_nodes()
1571 KEY_SIZE); in replace_key()
1574 KEY_SIZE); in replace_key()
Dlbalance.c73 memcpy(&new_ih.ih_key, &ih->ih_key, KEY_SIZE); in leaf_copy_dir_entries()
478 memcpy(&n_ih.ih_key, &ih->ih_key, KEY_SIZE); in leaf_item_bottle()
Dreiserfs.h1328 #define KEY_SIZE (sizeof(struct reiserfs_key)) macro
2048 ((bh)->b_data + BLKH_SIZE + B_NR_ITEMS(bh) * KEY_SIZE + DC_SIZE * (n_pos)))
2063 #define MAX_NR_KEY(bh) ( (MAX_CHILD_SIZE(bh)-DC_SIZE)/(KEY_SIZE+DC_SIZE) )
2995 memcpy(to, from, KEY_SIZE); in copy_key()
Dprints.c756 bh->b_size - BLKH_SIZE - KEY_SIZE * B_NR_ITEMS(bh) - in check_internal_block_head()
Dinode.c1510 memset(INODE_PKEY(inode), 0, KEY_SIZE); in reiserfs_make_bad_inode()
1954 memcpy(INODE_PKEY(inode), &ih.ih_key, KEY_SIZE); in reiserfs_new_inode()