Home
last modified time | relevance | path

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

/openbmc/linux/fs/reiserfs/
H A Dibalance.c132 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()
211 struct block_head *blkh; in internal_delete_pointers_items() local
227 blkh = B_BLK_HEAD(cur); in internal_delete_pointers_items()
252 set_blkh_nr_item(blkh, blkh_nr_item(blkh) - del_num); in internal_delete_pointers_items()
360 set_blkh_nr_item(blkh, blkh_nr_item(blkh) + (cpy_num - 1)); in internal_copy_pointers_items()
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()
[all …]
H A Dlbalance.c319 struct block_head *blkh; in leaf_copy_items_entirely() local
337 blkh = B_BLK_HEAD(dest); in leaf_copy_items_entirely()
338 nr = blkh_nr_item(blkh); in leaf_copy_items_entirely()
908 struct block_head *blkh; in leaf_insert_into_buf() local
914 blkh = B_BLK_HEAD(bh); in leaf_insert_into_buf()
958 set_blkh_nr_item(blkh, blkh_nr_item(blkh) + 1); in leaf_insert_into_buf()
989 blkh = B_BLK_HEAD(bh); in leaf_paste_in_buffer()
1155 blkh = B_BLK_HEAD(bh); in leaf_cut_from_buffer()
1227 set_blkh_free_space(blkh, blkh_free_space(blkh) + cut_size); in leaf_cut_from_buffer()
1256 blkh = B_BLK_HEAD(bh); in leaf_delete_items_entirely()
[all …]
H A Dprints.c480 struct block_head *blkh; in print_leaf() local
490 blkh = B_BLK_HEAD(bh); in print_leaf()
492 nr = blkh_nr_item(blkh); in print_leaf()
733 struct block_head *blkh; in check_leaf_block_head() local
736 blkh = B_BLK_HEAD(bh); in check_leaf_block_head()
737 nr = blkh_nr_item(blkh); in check_leaf_block_head()
741 if (blkh_free_space(blkh) > bh->b_size - BLKH_SIZE - IH_SIZE * nr) in check_leaf_block_head()
H A Dstree.c410 struct block_head *blkh; in is_leaf() local
417 blkh = (struct block_head *)buf; in is_leaf()
418 if (blkh_level(blkh) != DISK_LEAF_NODE_LEVEL) { in is_leaf()
424 nr = blkh_nr_item(blkh); in is_leaf()
435 if (used_space != blocksize - blkh_free_space(blkh)) { in is_leaf()
494 struct block_head *blkh; in is_internal() local
498 blkh = (struct block_head *)buf; in is_internal()
499 nr = blkh_level(blkh); in is_internal()
507 nr = blkh_nr_item(blkh); in is_internal()
516 if (used_space != blocksize - blkh_free_space(blkh)) { in is_internal()
H A Ddo_balan.c1470 struct block_head *blkh; in make_empty_node() local
1474 blkh = B_BLK_HEAD(bi->bi_bh); in make_empty_node()
1475 set_blkh_nr_item(blkh, 0); in make_empty_node()
1476 set_blkh_free_space(blkh, MAX_CHILD_SIZE(bi->bi_bh)); in make_empty_node()
1542 struct block_head *blkh; in reiserfs_invalidate_buffer() local
1543 blkh = B_BLK_HEAD(bh); in reiserfs_invalidate_buffer()
1544 set_blkh_level(blkh, FREE_LEVEL); in reiserfs_invalidate_buffer()
1545 set_blkh_nr_item(blkh, 0); in reiserfs_invalidate_buffer()