Lines Matching refs:BTRFS_FSID_SIZE
389 memcpy(fs_devs->fsid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
392 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 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) == 0 in find_fsid()
446 BTRFS_FSID_SIZE) == 0) in find_fsid()
449 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) == 0) in find_fsid()
471 BTRFS_FSID_SIZE) == 0 && in find_fsid_with_metadata_uuid()
473 BTRFS_FSID_SIZE) == 0) { in find_fsid_with_metadata_uuid()
486 fs_devices->fsid, BTRFS_FSID_SIZE) != 0 && in find_fsid_with_metadata_uuid()
488 BTRFS_FSID_SIZE) == 0) { in find_fsid_with_metadata_uuid()
693 BTRFS_FSID_SIZE) != 0 && in find_fsid_inprogress()
695 BTRFS_FSID_SIZE) == 0 && !fs_devices->fsid_change) { in find_fsid_inprogress()
721 BTRFS_FSID_SIZE) != 0 && in find_fsid_changed()
723 BTRFS_FSID_SIZE) == 0 && in find_fsid_changed()
725 BTRFS_FSID_SIZE) != 0) in find_fsid_changed()
730 BTRFS_FSID_SIZE) == 0 && in find_fsid_changed()
732 BTRFS_FSID_SIZE) == 0) in find_fsid_changed()
755 BTRFS_FSID_SIZE) != 0 && in find_fsid_reverted_metadata()
757 BTRFS_FSID_SIZE) == 0 && in find_fsid_reverted_metadata()
832 BTRFS_FSID_SIZE); in device_list_add()
837 BTRFS_FSID_SIZE); in device_list_add()
840 disk_super->fsid, BTRFS_FSID_SIZE); in device_list_add()
1884 ptr, BTRFS_FSID_SIZE); in btrfs_add_dev_item()
2374 args->fsid = kzalloc(BTRFS_FSID_SIZE, GFP_KERNEL); in btrfs_get_dev_args_from_path()
2387 memcpy(args->fsid, disk_super->metadata_uuid, BTRFS_FSID_SIZE); in btrfs_get_dev_args_from_path()
2389 memcpy(args->fsid, disk_super->fsid, BTRFS_FSID_SIZE); in btrfs_get_dev_args_from_path()
2492 memcpy(fs_devices->metadata_uuid, fs_devices->fsid, BTRFS_FSID_SIZE); in btrfs_prepare_sprout()
2493 memcpy(disk_super->fsid, fs_devices->fsid, BTRFS_FSID_SIZE); in btrfs_prepare_sprout()
2516 u8 fs_uuid[BTRFS_FSID_SIZE]; in btrfs_finish_sprout()
2560 BTRFS_FSID_SIZE); in btrfs_finish_sprout()
6817 if (memcmp(fs_devices->metadata_uuid, args->fsid, BTRFS_FSID_SIZE) == 0) in dev_args_match_fs_devices()
7185 if (!memcmp(fs_devices->fsid, fsid, BTRFS_FSID_SIZE)) in open_seed_devices()
7237 u8 fs_uuid[BTRFS_FSID_SIZE]; in read_one_dev()
7244 BTRFS_FSID_SIZE); in read_one_dev()
7248 if (memcmp(fs_uuid, fs_devices->metadata_uuid, BTRFS_FSID_SIZE)) { in read_one_dev()