Lines Matching refs:block_ref_to
176 struct btrfsic_block *block_ref_to; member
378 l->block_ref_to = NULL; in btrfsic_block_link_init()
486 (((unsigned int)(l->block_ref_to->dev_bytenr >> 16)) ^ in btrfsic_block_link_hashtable_add()
488 ((unsigned int)((uintptr_t)l->block_ref_to->dev_state->bdev)) ^ in btrfsic_block_link_hashtable_add()
492 BUG_ON(NULL == l->block_ref_to); in btrfsic_block_link_hashtable_add()
518 BUG_ON(NULL == l->block_ref_to); in btrfsic_block_link_hashtable_lookup()
520 if (l->block_ref_to->dev_state->bdev == bdev_ref_to && in btrfsic_block_link_hashtable_lookup()
521 l->block_ref_to->dev_bytenr == dev_bytenr_ref_to && in btrfsic_block_link_hashtable_lookup()
1266 l->block_ref_to = next_block; in btrfsic_create_link_to_next_block()
1616 btrfsic_get_block_type(state, l->block_ref_to), in btrfsic_dump_database()
1617 l->block_ref_to->logical_bytenr, in btrfsic_dump_database()
1618 l->block_ref_to->dev_state->bdev, in btrfsic_dump_database()
1619 l->block_ref_to->dev_bytenr, in btrfsic_dump_database()
1620 l->block_ref_to->mirror_num); in btrfsic_dump_database()
2252 btrfsic_get_block_type(state, l->block_ref_to), in btrfsic_check_all_ref_blocks()
2253 l->block_ref_to->logical_bytenr, in btrfsic_check_all_ref_blocks()
2254 l->block_ref_to->dev_state->bdev, in btrfsic_check_all_ref_blocks()
2255 l->block_ref_to->dev_bytenr, in btrfsic_check_all_ref_blocks()
2256 l->block_ref_to->mirror_num); in btrfsic_check_all_ref_blocks()
2257 if (l->block_ref_to->never_written) { in btrfsic_check_all_ref_blocks()
2260 btrfsic_get_block_type(state, l->block_ref_to), in btrfsic_check_all_ref_blocks()
2261 l->block_ref_to->logical_bytenr, in btrfsic_check_all_ref_blocks()
2262 l->block_ref_to->dev_state->bdev, in btrfsic_check_all_ref_blocks()
2263 l->block_ref_to->dev_bytenr, in btrfsic_check_all_ref_blocks()
2264 l->block_ref_to->mirror_num); in btrfsic_check_all_ref_blocks()
2266 } else if (!l->block_ref_to->is_iodone) { in btrfsic_check_all_ref_blocks()
2269 btrfsic_get_block_type(state, l->block_ref_to), in btrfsic_check_all_ref_blocks()
2270 l->block_ref_to->logical_bytenr, in btrfsic_check_all_ref_blocks()
2271 l->block_ref_to->dev_state->bdev, in btrfsic_check_all_ref_blocks()
2272 l->block_ref_to->dev_bytenr, in btrfsic_check_all_ref_blocks()
2273 l->block_ref_to->mirror_num); in btrfsic_check_all_ref_blocks()
2275 } else if (l->block_ref_to->iodone_w_error) { in btrfsic_check_all_ref_blocks()
2278 btrfsic_get_block_type(state, l->block_ref_to), in btrfsic_check_all_ref_blocks()
2279 l->block_ref_to->logical_bytenr, in btrfsic_check_all_ref_blocks()
2280 l->block_ref_to->dev_state->bdev, in btrfsic_check_all_ref_blocks()
2281 l->block_ref_to->dev_bytenr, in btrfsic_check_all_ref_blocks()
2282 l->block_ref_to->mirror_num); in btrfsic_check_all_ref_blocks()
2285 l->block_ref_to->generation && in btrfsic_check_all_ref_blocks()
2289 l->block_ref_to->generation) { in btrfsic_check_all_ref_blocks()
2292 btrfsic_get_block_type(state, l->block_ref_to), in btrfsic_check_all_ref_blocks()
2293 l->block_ref_to->logical_bytenr, in btrfsic_check_all_ref_blocks()
2294 l->block_ref_to->dev_state->bdev, in btrfsic_check_all_ref_blocks()
2295 l->block_ref_to->dev_bytenr, in btrfsic_check_all_ref_blocks()
2296 l->block_ref_to->mirror_num, in btrfsic_check_all_ref_blocks()
2297 l->block_ref_to->generation, in btrfsic_check_all_ref_blocks()
2300 } else if (l->block_ref_to->flush_gen > in btrfsic_check_all_ref_blocks()
2301 l->block_ref_to->dev_state->last_flush_gen) { in btrfsic_check_all_ref_blocks()
2304 btrfsic_get_block_type(state, l->block_ref_to), in btrfsic_check_all_ref_blocks()
2305 l->block_ref_to->logical_bytenr, in btrfsic_check_all_ref_blocks()
2306 l->block_ref_to->dev_state->bdev, in btrfsic_check_all_ref_blocks()
2307 l->block_ref_to->dev_bytenr, in btrfsic_check_all_ref_blocks()
2308 l->block_ref_to->mirror_num, block->flush_gen, in btrfsic_check_all_ref_blocks()
2309 l->block_ref_to->dev_state->last_flush_gen); in btrfsic_check_all_ref_blocks()
2312 l->block_ref_to, in btrfsic_check_all_ref_blocks()
2380 btrfsic_get_block_type(state, l->block_ref_to), in btrfsic_print_add_link()
2381 l->block_ref_to->logical_bytenr, in btrfsic_print_add_link()
2382 l->block_ref_to->dev_state->bdev, l->block_ref_to->dev_bytenr, in btrfsic_print_add_link()
2383 l->block_ref_to->mirror_num); in btrfsic_print_add_link()
2395 btrfsic_get_block_type(state, l->block_ref_to), in btrfsic_print_rem_link()
2396 l->block_ref_to->logical_bytenr, in btrfsic_print_rem_link()
2397 l->block_ref_to->dev_state->bdev, l->block_ref_to->dev_bytenr, in btrfsic_print_rem_link()
2398 l->block_ref_to->mirror_num); in btrfsic_print_rem_link()
2478 btrfsic_dump_tree_sub(state, l->block_ref_to, in btrfsic_dump_tree_sub()
2503 l->block_ref_to = next_block; in btrfsic_block_link_lookup_or_add()