Lines Matching refs:block_ref_to
177 struct btrfsic_block *block_ref_to; member
430 l->block_ref_to = NULL; in btrfsic_block_link_init()
539 (((unsigned int)(l->block_ref_to->dev_bytenr >> 16)) ^ in btrfsic_block_link_hashtable_add()
541 ((unsigned int)((uintptr_t)l->block_ref_to->dev_state->bdev)) ^ in btrfsic_block_link_hashtable_add()
545 BUG_ON(NULL == l->block_ref_to); in btrfsic_block_link_hashtable_add()
571 BUG_ON(NULL == l->block_ref_to); in btrfsic_block_link_hashtable_lookup()
573 if (l->block_ref_to->dev_state->bdev == bdev_ref_to && in btrfsic_block_link_hashtable_lookup()
574 l->block_ref_to->dev_bytenr == dev_bytenr_ref_to && in btrfsic_block_link_hashtable_lookup()
1317 l->block_ref_to = next_block; in btrfsic_create_link_to_next_block()
1669 btrfsic_get_block_type(state, l->block_ref_to), in btrfsic_dump_database()
1670 l->block_ref_to->logical_bytenr, in btrfsic_dump_database()
1671 l->block_ref_to->dev_state->name, in btrfsic_dump_database()
1672 l->block_ref_to->dev_bytenr, in btrfsic_dump_database()
1673 l->block_ref_to->mirror_num); in btrfsic_dump_database()
2294 btrfsic_get_block_type(state, l->block_ref_to), in btrfsic_check_all_ref_blocks()
2295 l->block_ref_to->logical_bytenr, in btrfsic_check_all_ref_blocks()
2296 l->block_ref_to->dev_state->name, in btrfsic_check_all_ref_blocks()
2297 l->block_ref_to->dev_bytenr, in btrfsic_check_all_ref_blocks()
2298 l->block_ref_to->mirror_num); in btrfsic_check_all_ref_blocks()
2299 if (l->block_ref_to->never_written) { in btrfsic_check_all_ref_blocks()
2301 btrfsic_get_block_type(state, l->block_ref_to), in btrfsic_check_all_ref_blocks()
2302 l->block_ref_to->logical_bytenr, in btrfsic_check_all_ref_blocks()
2303 l->block_ref_to->dev_state->name, in btrfsic_check_all_ref_blocks()
2304 l->block_ref_to->dev_bytenr, in btrfsic_check_all_ref_blocks()
2305 l->block_ref_to->mirror_num); in btrfsic_check_all_ref_blocks()
2307 } else if (!l->block_ref_to->is_iodone) { in btrfsic_check_all_ref_blocks()
2309 btrfsic_get_block_type(state, l->block_ref_to), in btrfsic_check_all_ref_blocks()
2310 l->block_ref_to->logical_bytenr, in btrfsic_check_all_ref_blocks()
2311 l->block_ref_to->dev_state->name, in btrfsic_check_all_ref_blocks()
2312 l->block_ref_to->dev_bytenr, in btrfsic_check_all_ref_blocks()
2313 l->block_ref_to->mirror_num); in btrfsic_check_all_ref_blocks()
2315 } else if (l->block_ref_to->iodone_w_error) { in btrfsic_check_all_ref_blocks()
2317 btrfsic_get_block_type(state, l->block_ref_to), in btrfsic_check_all_ref_blocks()
2318 l->block_ref_to->logical_bytenr, in btrfsic_check_all_ref_blocks()
2319 l->block_ref_to->dev_state->name, in btrfsic_check_all_ref_blocks()
2320 l->block_ref_to->dev_bytenr, in btrfsic_check_all_ref_blocks()
2321 l->block_ref_to->mirror_num); in btrfsic_check_all_ref_blocks()
2324 l->block_ref_to->generation && in btrfsic_check_all_ref_blocks()
2328 l->block_ref_to->generation) { in btrfsic_check_all_ref_blocks()
2330 btrfsic_get_block_type(state, l->block_ref_to), in btrfsic_check_all_ref_blocks()
2331 l->block_ref_to->logical_bytenr, in btrfsic_check_all_ref_blocks()
2332 l->block_ref_to->dev_state->name, in btrfsic_check_all_ref_blocks()
2333 l->block_ref_to->dev_bytenr, in btrfsic_check_all_ref_blocks()
2334 l->block_ref_to->mirror_num, in btrfsic_check_all_ref_blocks()
2335 l->block_ref_to->generation, in btrfsic_check_all_ref_blocks()
2338 } else if (l->block_ref_to->flush_gen > in btrfsic_check_all_ref_blocks()
2339 l->block_ref_to->dev_state->last_flush_gen) { in btrfsic_check_all_ref_blocks()
2341 btrfsic_get_block_type(state, l->block_ref_to), in btrfsic_check_all_ref_blocks()
2342 l->block_ref_to->logical_bytenr, in btrfsic_check_all_ref_blocks()
2343 l->block_ref_to->dev_state->name, in btrfsic_check_all_ref_blocks()
2344 l->block_ref_to->dev_bytenr, in btrfsic_check_all_ref_blocks()
2345 l->block_ref_to->mirror_num, block->flush_gen, in btrfsic_check_all_ref_blocks()
2346 l->block_ref_to->dev_state->last_flush_gen); in btrfsic_check_all_ref_blocks()
2349 l->block_ref_to, in btrfsic_check_all_ref_blocks()
2416 btrfsic_get_block_type(state, l->block_ref_to), in btrfsic_print_add_link()
2417 l->block_ref_to->logical_bytenr, in btrfsic_print_add_link()
2418 l->block_ref_to->dev_state->name, l->block_ref_to->dev_bytenr, in btrfsic_print_add_link()
2419 l->block_ref_to->mirror_num); in btrfsic_print_add_link()
2431 btrfsic_get_block_type(state, l->block_ref_to), in btrfsic_print_rem_link()
2432 l->block_ref_to->logical_bytenr, in btrfsic_print_rem_link()
2433 l->block_ref_to->dev_state->name, l->block_ref_to->dev_bytenr, in btrfsic_print_rem_link()
2434 l->block_ref_to->mirror_num); in btrfsic_print_rem_link()
2514 btrfsic_dump_tree_sub(state, l->block_ref_to, in btrfsic_dump_tree_sub()
2539 l->block_ref_to = next_block; in btrfsic_block_link_lookup_or_add()