Lines Matching refs:blkh

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()
915 nr = blkh_nr_item(blkh); in leaf_insert_into_buf()
916 free_space = blkh_free_space(blkh); in leaf_insert_into_buf()
958 set_blkh_nr_item(blkh, blkh_nr_item(blkh) + 1); in leaf_insert_into_buf()
959 set_blkh_free_space(blkh, in leaf_insert_into_buf()
984 struct block_head *blkh; in leaf_paste_in_buffer() local
989 blkh = B_BLK_HEAD(bh); in leaf_paste_in_buffer()
990 nr = blkh_nr_item(blkh); in leaf_paste_in_buffer()
991 free_space = blkh_free_space(blkh); in leaf_paste_in_buffer()
1054 set_blkh_free_space(blkh, free_space - paste_size); in leaf_paste_in_buffer()
1150 struct block_head *blkh; in leaf_cut_from_buffer() local
1155 blkh = B_BLK_HEAD(bh); in leaf_cut_from_buffer()
1156 nr = blkh_nr_item(blkh); in leaf_cut_from_buffer()
1227 set_blkh_free_space(blkh, blkh_free_space(blkh) + cut_size); in leaf_cut_from_buffer()
1247 struct block_head *blkh; in leaf_delete_items_entirely() local
1256 blkh = B_BLK_HEAD(bh); in leaf_delete_items_entirely()
1257 nr = blkh_nr_item(blkh); in leaf_delete_items_entirely()
1293 set_blkh_nr_item(blkh, blkh_nr_item(blkh) - del_num); in leaf_delete_items_entirely()
1294 set_blkh_free_space(blkh, in leaf_delete_items_entirely()
1295 blkh_free_space(blkh) + (j - last_removed_loc + in leaf_delete_items_entirely()