Searched refs:metadata_uuid (Results 1 – 9 of 9) sorted by relevance
/linux-5.19.10/fs/btrfs/ |
D | volumes.c | 384 memcpy(fs_devs->metadata_uuid, metadata_fsid, BTRFS_FSID_SIZE); in alloc_fs_devices() 386 memcpy(fs_devs->metadata_uuid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices() 436 && memcmp(metadata_fsid, fs_devices->metadata_uuid, in find_fsid() 461 memcmp(disk_super->metadata_uuid, fs_devices->fsid, in find_fsid_with_metadata_uuid() 463 memcmp(fs_devices->fsid, fs_devices->metadata_uuid, in find_fsid_with_metadata_uuid() 476 memcmp(fs_devices->metadata_uuid, in find_fsid_with_metadata_uuid() 478 memcmp(disk_super->metadata_uuid, fs_devices->metadata_uuid, in find_fsid_with_metadata_uuid() 484 return find_fsid(disk_super->fsid, disk_super->metadata_uuid); in find_fsid_with_metadata_uuid() 669 if (memcmp(fs_devices->metadata_uuid, fs_devices->fsid, in find_fsid_inprogress() 671 memcmp(fs_devices->metadata_uuid, disk_super->fsid, in find_fsid_inprogress() [all …]
|
D | disk-io.c | 352 ASSERT(memcmp_extent_buffer(eb, fs_info->fs_devices->metadata_uuid, in csum_one_extent_buffer() 471 u8 *metadata_uuid; in check_tree_block_fsid() local 481 metadata_uuid = fs_devices->metadata_uuid; in check_tree_block_fsid() 483 metadata_uuid = fs_devices->fsid; in check_tree_block_fsid() 485 if (!memcmp(fsid, metadata_uuid, BTRFS_FSID_SIZE)) in check_tree_block_fsid() 2802 memcmp(fs_info->fs_devices->metadata_uuid, in validate_super() 2803 fs_info->super_copy->metadata_uuid, BTRFS_FSID_SIZE)) { in validate_super() 2806 fs_info->super_copy->metadata_uuid, in validate_super() 2807 fs_info->fs_devices->metadata_uuid); in validate_super() 2811 if (memcmp(fs_info->fs_devices->metadata_uuid, sb->dev_item.fsid, in validate_super() [all …]
|
D | sysfs.c | 283 BTRFS_FEAT_ATTR_INCOMPAT(metadata_uuid, METADATA_UUID); 314 BTRFS_FEAT_ATTR_PTR(metadata_uuid), 929 return sysfs_emit(buf, "%pU\n", fs_info->fs_devices->metadata_uuid); in btrfs_metadata_uuid_show() 932 BTRFS_ATTR(, metadata_uuid, btrfs_metadata_uuid_show); 1107 BTRFS_ATTR_PTR(, metadata_uuid),
|
D | volumes.h | 267 u8 metadata_uuid[BTRFS_FSID_SIZE]; member
|
D | ioctl.c | 3708 memcpy(&fi_args->metadata_uuid, fs_devices->metadata_uuid, in btrfs_ioctl_fs_info() 3709 sizeof(fi_args->metadata_uuid)); in btrfs_ioctl_fs_info()
|
D | ctree.c | 220 write_extent_buffer_fsid(cow, fs_info->fs_devices->metadata_uuid); in btrfs_copy_root() 436 write_extent_buffer_fsid(cow, fs_info->fs_devices->metadata_uuid); in __btrfs_cow_block()
|
D | ctree.h | 270 u8 metadata_uuid[BTRFS_FSID_SIZE]; member
|
D | extent-tree.c | 4927 write_extent_buffer_fsid(buf, fs_info->fs_devices->metadata_uuid); in btrfs_init_new_buffer()
|
/linux-5.19.10/include/uapi/linux/ |
D | btrfs.h | 270 __u8 metadata_uuid[BTRFS_FSID_SIZE]; /* out */ member
|