• Home
  • Raw
  • Download

Lines Matching refs:bdev

183 	struct block_device *bdev;  member
402 ds->bdev = NULL; in btrfsic_dev_state_init()
442 ((unsigned int)((uintptr_t)b->dev_state->bdev))) & in btrfsic_block_hashtable_add()
454 struct block_device *bdev, in btrfsic_block_hashtable_lookup() argument
460 ((unsigned int)((uintptr_t)bdev))) & in btrfsic_block_hashtable_lookup()
465 if (b->dev_state->bdev == bdev && b->dev_bytenr == dev_bytenr) in btrfsic_block_hashtable_lookup()
488 ((unsigned int)((uintptr_t)l->block_ref_to->dev_state->bdev)) ^ in btrfsic_block_link_hashtable_add()
489 ((unsigned int)((uintptr_t)l->block_ref_from->dev_state->bdev))) in btrfsic_block_link_hashtable_add()
520 if (l->block_ref_to->dev_state->bdev == bdev_ref_to && in btrfsic_block_link_hashtable_lookup()
522 l->block_ref_from->dev_state->bdev == bdev_ref_from && in btrfsic_block_link_hashtable_lookup()
544 (((unsigned int)((uintptr_t)ds->bdev->bd_dev)) & in btrfsic_dev_state_hashtable_add()
563 if (ds->bdev->bd_dev == dev) in btrfsic_dev_state_hashtable_lookup()
588 if (!device->bdev || !device->name) in btrfsic_process_superblock()
591 dev_state = btrfsic_dev_state_lookup(device->bdev->bd_dev); in btrfsic_process_superblock()
661 tmp_next_block_ctx.dev->bdev, in btrfsic_process_superblock()
667 tmp_next_block_ctx.dev->bdev, in btrfsic_process_superblock()
670 bdev, in btrfsic_process_superblock()
709 struct block_device *const superblock_bdev = device->bdev; in btrfsic_process_superblock_dev_mirror()
759 dev_state->bdev, dev_bytenr, in btrfsic_process_superblock_dev_mirror()
941 sf->block_ctx->dev->bdev); in btrfsic_process_metablock()
1062 sf->block_ctx->dev->bdev); in btrfsic_process_metablock()
1232 next_bytenr, next_block_ctx->dev->bdev, in btrfsic_create_link_to_next_block()
1240 next_bytenr, next_block_ctx->dev->bdev, in btrfsic_create_link_to_next_block()
1249 next_block_ctx->dev->bdev, in btrfsic_create_link_to_next_block()
1251 block_ctx->dev->bdev, in btrfsic_create_link_to_next_block()
1329 block_ctx->start, block_ctx->dev->bdev); in btrfsic_handle_extent_data()
1349 block_ctx->start, block_ctx->dev->bdev); in btrfsic_handle_extent_data()
1428 next_block_ctx.dev->bdev, in btrfsic_handle_extent_data()
1481 !device->bdev || !device->name) in btrfsic_map_block()
1485 device->bdev->bd_dev); in btrfsic_map_block()
1564 bio = bio_alloc(block_ctx->dev->bdev, num_pages - i, in btrfsic_read_block()
1580 block_ctx->start, block_ctx->dev->bdev); in btrfsic_read_block()
1606 b_all->logical_bytenr, b_all->dev_state->bdev, in btrfsic_dump_database()
1613 b_all->logical_bytenr, b_all->dev_state->bdev, in btrfsic_dump_database()
1618 l->block_ref_to->dev_state->bdev, in btrfsic_dump_database()
1627 b_all->logical_bytenr, b_all->dev_state->bdev, in btrfsic_dump_database()
1632 l->block_ref_from->dev_state->bdev, in btrfsic_dump_database()
1691 struct block_device *bdev = dev_state->bdev; in btrfsic_process_written_block() local
1705 block = btrfsic_block_hashtable_lookup(bdev, dev_bytenr, in btrfsic_process_written_block()
1749 bytenr, dev_state->bdev, in btrfsic_process_written_block()
1758 bytenr, dev_state->bdev, in btrfsic_process_written_block()
1775 bytenr, dev_state->bdev, dev_bytenr, in btrfsic_process_written_block()
1788 dev_state->bdev, dev_bytenr, block->mirror_num, in btrfsic_process_written_block()
1803 dev_state->bdev, dev_bytenr, block->mirror_num, in btrfsic_process_written_block()
1932 dev_state->bdev, dev_bytenr); in btrfsic_process_written_block()
1951 bytenr, dev_state->bdev, dev_bytenr); in btrfsic_process_written_block()
2008 block->logical_bytenr, block->dev_state->bdev, in btrfsic_process_written_block()
2055 block->logical_bytenr, dev_state->bdev, in btrfsic_bio_end_io()
2064 dev_state->bdev, in btrfsic_bio_end_io()
2092 superblock->dev_state->bdev, in btrfsic_process_written_superblock()
2101 superblock->dev_state->bdev, in btrfsic_process_written_superblock()
2249 block->logical_bytenr, block->dev_state->bdev, in btrfsic_check_all_ref_blocks()
2254 l->block_ref_to->dev_state->bdev, in btrfsic_check_all_ref_blocks()
2262 l->block_ref_to->dev_state->bdev, in btrfsic_check_all_ref_blocks()
2271 l->block_ref_to->dev_state->bdev, in btrfsic_check_all_ref_blocks()
2280 l->block_ref_to->dev_state->bdev, in btrfsic_check_all_ref_blocks()
2294 l->block_ref_to->dev_state->bdev, in btrfsic_check_all_ref_blocks()
2306 l->block_ref_to->dev_state->bdev, in btrfsic_check_all_ref_blocks()
2347 block->logical_bytenr, block->dev_state->bdev, in btrfsic_is_block_ref_by_superblock()
2352 l->block_ref_from->dev_state->bdev, in btrfsic_is_block_ref_by_superblock()
2358 state->latest_superblock->dev_state->bdev == in btrfsic_is_block_ref_by_superblock()
2359 l->block_ref_from->dev_state->bdev) in btrfsic_is_block_ref_by_superblock()
2378 l->block_ref_from->dev_state->bdev, in btrfsic_print_add_link()
2382 l->block_ref_to->dev_state->bdev, l->block_ref_to->dev_bytenr, in btrfsic_print_add_link()
2393 l->block_ref_from->dev_state->bdev, in btrfsic_print_rem_link()
2397 l->block_ref_to->dev_state->bdev, l->block_ref_to->dev_bytenr, in btrfsic_print_rem_link()
2406 state->latest_superblock->dev_state->bdev == block->dev_state->bdev) in btrfsic_get_block_type()
2441 block->logical_bytenr, block->dev_state->bdev, in btrfsic_dump_tree_sub()
2493 l = btrfsic_block_link_hashtable_lookup(next_block_ctx->dev->bdev, in btrfsic_block_link_lookup_or_add()
2495 from_block->dev_state->bdev, in btrfsic_block_link_lookup_or_add()
2538 block = btrfsic_block_hashtable_lookup(block_ctx->dev->bdev, in btrfsic_block_lookup_or_add()
2548 dev_state = btrfsic_dev_state_lookup(block_ctx->dev->bdev->bd_dev); in btrfsic_block_lookup_or_add()
2565 block->logical_bytenr, dev_state->bdev, in btrfsic_block_lookup_or_add()
2602 if (dev_state->bdev == block_ctx.dev->bdev && in btrfsic_cmp_log_and_dev_bytenr()
2614 bytenr, dev_state->bdev, dev_bytenr); in btrfsic_cmp_log_and_dev_bytenr()
2623 bytenr, block_ctx.dev->bdev, in btrfsic_cmp_log_and_dev_bytenr()
2698 dev_state->bdev); in btrfsic_check_flush_bio()
2767 if (!device->bdev || !device->name) in btrfsic_mount()
2775 ds->bdev = device->bdev; in btrfsic_mount()
2813 if (!device->bdev || !device->name) in btrfsic_unmount()
2817 device->bdev->bd_dev, in btrfsic_unmount()
2857 b_all->logical_bytenr, b_all->dev_state->bdev, in btrfsic_unmount()