Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/
Dvolumes.c615 devid = btrfs_stack_device_id(&disk_super->dev_item); in btrfs_open_one_device()
619 if (memcmp(device->uuid, disk_super->dev_item.uuid, BTRFS_UUID_SIZE)) in btrfs_open_one_device()
764 u64 devid = btrfs_stack_device_id(&disk_super->dev_item); in device_list_add()
812 .uuid = disk_super->dev_item.uuid, in device_list_add()
850 disk_super->dev_item.uuid); in device_list_add()
1838 struct btrfs_dev_item *dev_item; in btrfs_add_dev_item() local
1853 &key, sizeof(*dev_item)); in btrfs_add_dev_item()
1859 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_add_dev_item()
1861 btrfs_set_device_id(leaf, dev_item, device->devid); in btrfs_add_dev_item()
1862 btrfs_set_device_generation(leaf, dev_item, 0); in btrfs_add_dev_item()
[all …]
Dprint-tree.c63 struct btrfs_dev_item *dev_item) in print_dev_item() argument
66 btrfs_device_id(eb, dev_item), in print_dev_item()
67 btrfs_device_total_bytes(eb, dev_item), in print_dev_item()
68 btrfs_device_bytes_used(eb, dev_item)); in print_dev_item()
Ddisk-io.c2734 if (memcmp(fs_info->fs_devices->metadata_uuid, sb->dev_item.fsid, in btrfs_validate_super()
2738 fs_info->fs_devices->metadata_uuid, sb->dev_item.fsid); in btrfs_validate_super()
4309 struct btrfs_dev_item *dev_item; in write_all_supers() local
4327 dev_item = &sb->dev_item; in write_all_supers()
4353 btrfs_set_stack_device_generation(dev_item, 0); in write_all_supers()
4354 btrfs_set_stack_device_type(dev_item, dev->type); in write_all_supers()
4355 btrfs_set_stack_device_id(dev_item, dev->devid); in write_all_supers()
4356 btrfs_set_stack_device_total_bytes(dev_item, in write_all_supers()
4358 btrfs_set_stack_device_bytes_used(dev_item, in write_all_supers()
4360 btrfs_set_stack_device_io_align(dev_item, dev->io_align); in write_all_supers()
[all …]
Dcheck-integrity.c727 memcmp(device->uuid, super_tmp->dev_item.uuid, BTRFS_UUID_SIZE) || in btrfsic_process_superblock_dev_mirror()
Dctree.h277 struct btrfs_dev_item dev_item; member