Home
last modified time | relevance | path

Searched refs:dev_item (Results 1 – 5 of 5) sorted by relevance

/fs/btrfs/
Dvolumes.c847 devid = btrfs_stack_device_id(&disk_super->dev_item); in btrfs_open_one_device()
851 if (memcmp(device->uuid, disk_super->dev_item.uuid, BTRFS_UUID_SIZE)) in btrfs_open_one_device()
1003 u64 devid = btrfs_stack_device_id(&disk_super->dev_item); in device_list_add()
1052 disk_super->dev_item.uuid, NULL, false); in device_list_add()
1083 disk_super->dev_item.uuid); in device_list_add()
2017 struct btrfs_dev_item *dev_item; in btrfs_add_dev_item() local
2031 &key, sizeof(*dev_item)); in btrfs_add_dev_item()
2036 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_add_dev_item()
2038 btrfs_set_device_id(leaf, dev_item, device->devid); in btrfs_add_dev_item()
2039 btrfs_set_device_generation(leaf, dev_item, 0); in btrfs_add_dev_item()
[all …]
Dprint-tree.c24 struct btrfs_dev_item *dev_item) in print_dev_item() argument
27 btrfs_device_id(eb, dev_item), in print_dev_item()
28 btrfs_device_total_bytes(eb, dev_item), in print_dev_item()
29 btrfs_device_bytes_used(eb, dev_item)); in print_dev_item()
Ddisk-io.c2498 if (memcmp(fs_info->fs_devices->metadata_uuid, sb->dev_item.fsid, in validate_super()
2502 fs_info->fs_devices->metadata_uuid, sb->dev_item.fsid); in validate_super()
3812 struct btrfs_dev_item *dev_item; in write_all_supers() local
3830 dev_item = &sb->dev_item; in write_all_supers()
3856 btrfs_set_stack_device_generation(dev_item, 0); in write_all_supers()
3857 btrfs_set_stack_device_type(dev_item, dev->type); in write_all_supers()
3858 btrfs_set_stack_device_id(dev_item, dev->devid); in write_all_supers()
3859 btrfs_set_stack_device_total_bytes(dev_item, in write_all_supers()
3861 btrfs_set_stack_device_bytes_used(dev_item, in write_all_supers()
3863 btrfs_set_stack_device_io_align(dev_item, dev->io_align); in write_all_supers()
[all …]
Dcheck-integrity.c789 memcmp(device->uuid, super_tmp->dev_item.uuid, BTRFS_UUID_SIZE) || in btrfsic_process_superblock_dev_mirror()
Dctree.h252 struct btrfs_dev_item dev_item; member