Searched refs:blkh (Results 1 – 5 of 5) sorted by relevance
/fs/reiserfs/ |
D | ibalance.c | 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() [all …]
|
D | lbalance.c | 319 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 …]
|
D | prints.c | 480 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() 749 struct block_head *blkh; in check_internal_block_head() local 751 blkh = B_BLK_HEAD(bh); in check_internal_block_head()
|
D | stree.c | 392 struct block_head *blkh; in is_leaf() local 399 blkh = (struct block_head *)buf; in is_leaf() 400 if (blkh_level(blkh) != DISK_LEAF_NODE_LEVEL) { in is_leaf() 406 nr = blkh_nr_item(blkh); in is_leaf() 417 if (used_space != blocksize - blkh_free_space(blkh)) { in is_leaf() 467 struct block_head *blkh; in is_internal() local 471 blkh = (struct block_head *)buf; in is_internal() 472 nr = blkh_level(blkh); in is_internal() 480 nr = blkh_nr_item(blkh); in is_internal() 489 if (used_space != blocksize - blkh_free_space(blkh)) { in is_internal()
|
D | do_balan.c | 1481 struct block_head *blkh; in make_empty_node() local 1485 blkh = B_BLK_HEAD(bi->bi_bh); in make_empty_node() 1486 set_blkh_nr_item(blkh, 0); in make_empty_node() 1487 set_blkh_free_space(blkh, MAX_CHILD_SIZE(bi->bi_bh)); in make_empty_node() 1553 struct block_head *blkh; in reiserfs_invalidate_buffer() local 1554 blkh = B_BLK_HEAD(bh); in reiserfs_invalidate_buffer() 1555 set_blkh_level(blkh, FREE_LEVEL); in reiserfs_invalidate_buffer() 1556 set_blkh_nr_item(blkh, 0); in reiserfs_invalidate_buffer()
|