Lines Matching refs:blkh

132 	struct block_head *blkh;  in internal_insert_childs()  local
142 blkh = B_BLK_HEAD(cur); in internal_insert_childs()
143 nr = blkh_nr_item(blkh); in internal_insert_childs()
175 set_blkh_nr_item(blkh, blkh_nr_item(blkh) + count); in internal_insert_childs()
176 set_blkh_free_space(blkh, in internal_insert_childs()
177 blkh_free_space(blkh) - count * (DC_SIZE + in internal_insert_childs()
211 struct block_head *blkh; in internal_delete_pointers_items() local
227 blkh = B_BLK_HEAD(cur); in internal_delete_pointers_items()
228 nr = blkh_nr_item(blkh); in internal_delete_pointers_items()
252 set_blkh_nr_item(blkh, blkh_nr_item(blkh) - del_num); in internal_delete_pointers_items()
253 set_blkh_free_space(blkh, in internal_delete_pointers_items()
254 blkh_free_space(blkh) + in internal_delete_pointers_items()
310 struct block_head *blkh; in internal_copy_pointers_items() local
331 blkh = B_BLK_HEAD(dest); in internal_copy_pointers_items()
332 nr_dest = blkh_nr_item(blkh); in internal_copy_pointers_items()
360 set_blkh_nr_item(blkh, blkh_nr_item(blkh) + (cpy_num - 1)); in internal_copy_pointers_items()
361 set_blkh_free_space(blkh, in internal_copy_pointers_items()
362 blkh_free_space(blkh) - (KEY_SIZE * (cpy_num - 1) + in internal_copy_pointers_items()
436 struct block_head *blkh; in internal_insert_key() local
452 blkh = B_BLK_HEAD(dest); in internal_insert_key()
453 nr = blkh_nr_item(blkh); in internal_insert_key()
465 set_blkh_nr_item(blkh, blkh_nr_item(blkh) + 1); in internal_insert_key()
466 set_blkh_free_space(blkh, blkh_free_space(blkh) - KEY_SIZE); in internal_insert_key()
1005 struct block_head *blkh; in balance_internal() local
1012 blkh = B_BLK_HEAD(tbSh); in balance_internal()
1013 set_blkh_level(blkh, h + 1); in balance_internal()
1023 set_blkh_free_space(blkh, blkh_free_space(blkh) - DC_SIZE); in balance_internal()