Home
last modified time | relevance | path

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

/linux-6.6.21/fs/btrfs/
Dvolumes.c631 devid = btrfs_stack_device_id(&disk_super->dev_item); in btrfs_open_one_device()
635 if (memcmp(device->uuid, disk_super->dev_item.uuid, BTRFS_UUID_SIZE)) in btrfs_open_one_device()
785 u64 devid = btrfs_stack_device_id(&disk_super->dev_item); in device_list_add()
829 .uuid = disk_super->dev_item.uuid, in device_list_add()
864 disk_super->dev_item.uuid, path); in device_list_add()
1854 struct btrfs_dev_item *dev_item; in btrfs_add_dev_item() local
1869 &key, sizeof(*dev_item)); in btrfs_add_dev_item()
1875 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_add_dev_item()
1877 btrfs_set_device_id(leaf, dev_item, device->devid); in btrfs_add_dev_item()
1878 btrfs_set_device_generation(leaf, dev_item, 0); in btrfs_add_dev_item()
[all …]
Dprint-tree.c66 struct btrfs_dev_item *dev_item) in print_dev_item() argument
69 btrfs_device_id(eb, dev_item), in print_dev_item()
70 btrfs_device_total_bytes(eb, dev_item), in print_dev_item()
71 btrfs_device_bytes_used(eb, dev_item)); in print_dev_item()
Ddisk-io.c2408 if (memcmp(fs_info->fs_devices->metadata_uuid, sb->dev_item.fsid, in btrfs_validate_super()
2412 fs_info->fs_devices->metadata_uuid, sb->dev_item.fsid); in btrfs_validate_super()
4063 struct btrfs_dev_item *dev_item; in write_all_supers() local
4081 dev_item = &sb->dev_item; in write_all_supers()
4107 btrfs_set_stack_device_generation(dev_item, 0); in write_all_supers()
4108 btrfs_set_stack_device_type(dev_item, dev->type); in write_all_supers()
4109 btrfs_set_stack_device_id(dev_item, dev->devid); in write_all_supers()
4110 btrfs_set_stack_device_total_bytes(dev_item, in write_all_supers()
4112 btrfs_set_stack_device_bytes_used(dev_item, in write_all_supers()
4114 btrfs_set_stack_device_io_align(dev_item, dev->io_align); in write_all_supers()
[all …]
Dcheck-integrity.c729 memcmp(device->uuid, super_tmp->dev_item.uuid, BTRFS_UUID_SIZE) || in btrfsic_process_superblock_dev_mirror()
/linux-6.6.21/include/uapi/linux/
Dbtrfs_tree.h685 struct btrfs_dev_item dev_item; member