Home
last modified time | relevance | path

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

/linux-6.12.1/fs/reiserfs/
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()
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()
[all …]
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()
339 free_space = blkh_free_space(blkh); in leaf_copy_items_entirely()
350 RFALSE(blkh_free_space(blkh) < cpy_num * IH_SIZE, in leaf_copy_items_entirely()
361 set_blkh_free_space(blkh, free_space); in leaf_copy_items_entirely()
389 set_blkh_nr_item(blkh, nr + cpy_num); in leaf_copy_items_entirely()
390 set_blkh_free_space(blkh, free_space - (j - last_inserted_loc)); 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()
[all …]
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()
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()
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()