Home
last modified time | relevance | path

Searched refs:metadata_uuid (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/fs/btrfs/
Dvolumes.c392 memcpy(fs_devs->metadata_uuid, metadata_fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
394 memcpy(fs_devs->metadata_uuid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
444 && memcmp(metadata_fsid, fs_devices->metadata_uuid, in find_fsid()
469 memcmp(disk_super->metadata_uuid, fs_devices->fsid, in find_fsid_with_metadata_uuid()
471 memcmp(fs_devices->fsid, fs_devices->metadata_uuid, in find_fsid_with_metadata_uuid()
484 memcmp(fs_devices->metadata_uuid, in find_fsid_with_metadata_uuid()
486 memcmp(disk_super->metadata_uuid, fs_devices->metadata_uuid, in find_fsid_with_metadata_uuid()
492 return find_fsid(disk_super->fsid, disk_super->metadata_uuid); in find_fsid_with_metadata_uuid()
677 if (memcmp(fs_devices->metadata_uuid, fs_devices->fsid, in find_fsid_inprogress()
679 memcmp(fs_devices->metadata_uuid, disk_super->fsid, in find_fsid_inprogress()
[all …]
Ddisk-io.c314 ASSERT(memcmp_extent_buffer(eb, fs_info->fs_devices->metadata_uuid, in csum_one_extent_buffer()
440 u8 *metadata_uuid; in check_tree_block_fsid() local
450 metadata_uuid = fs_devices->metadata_uuid; in check_tree_block_fsid()
452 metadata_uuid = fs_devices->fsid; in check_tree_block_fsid()
454 if (!memcmp(fsid, metadata_uuid, BTRFS_FSID_SIZE)) in check_tree_block_fsid()
2713 memcmp(fs_info->fs_devices->metadata_uuid, in btrfs_validate_super()
2714 fs_info->super_copy->metadata_uuid, BTRFS_FSID_SIZE)) { in btrfs_validate_super()
2717 fs_info->super_copy->metadata_uuid, in btrfs_validate_super()
2718 fs_info->fs_devices->metadata_uuid); in btrfs_validate_super()
2734 if (memcmp(fs_info->fs_devices->metadata_uuid, sb->dev_item.fsid, in btrfs_validate_super()
[all …]
Dsysfs.c287 BTRFS_FEAT_ATTR_INCOMPAT(metadata_uuid, METADATA_UUID);
318 BTRFS_FEAT_ATTR_PTR(metadata_uuid),
1086 return sysfs_emit(buf, "%pU\n", fs_info->fs_devices->metadata_uuid); in btrfs_metadata_uuid_show()
1089 BTRFS_ATTR(, metadata_uuid, btrfs_metadata_uuid_show);
1242 BTRFS_ATTR_PTR(, metadata_uuid),
Dvolumes.h292 u8 metadata_uuid[BTRFS_FSID_SIZE]; member
Dioctl.c3714 memcpy(&fi_args->metadata_uuid, fs_devices->metadata_uuid, in btrfs_ioctl_fs_info()
3715 sizeof(fi_args->metadata_uuid)); in btrfs_ioctl_fs_info()
Dctree.c236 write_extent_buffer_fsid(cow, fs_info->fs_devices->metadata_uuid); in btrfs_copy_root()
452 write_extent_buffer_fsid(cow, fs_info->fs_devices->metadata_uuid); in __btrfs_cow_block()
Dctree.h285 u8 metadata_uuid[BTRFS_FSID_SIZE]; member
Dextent-tree.c4920 write_extent_buffer_fsid(buf, fs_info->fs_devices->metadata_uuid); in btrfs_init_new_buffer()
/linux-6.1.9/include/uapi/linux/
Dbtrfs.h270 __u8 metadata_uuid[BTRFS_FSID_SIZE]; /* out */ member