Lines Matching refs:uuid

163 						   u64 devid, u8 *uuid)  in __find_device()  argument
169 (!uuid || !memcmp(dev->uuid, uuid, BTRFS_UUID_SIZE))) { in __find_device()
474 disk_super->dev_item.uuid); in device_list_add()
482 disk_super->dev_item.uuid); in device_list_add()
583 orig_dev->uuid); in clone_fs_devices()
720 device->uuid); in __btrfs_close_devices()
805 if (memcmp(device->uuid, disk_super->dev_item.uuid, in __btrfs_open_devices()
1478 write_extent_buffer(leaf, device->uuid, ptr, BTRFS_UUID_SIZE); in btrfs_add_device()
1635 dev_uuid = disk_super->dev_item.uuid; in btrfs_rm_device()
1916 dev_uuid = disk_super->dev_item.uuid; in btrfs_find_device_by_path()
3749 if (!btrfs_is_empty_uuid(root_item.uuid) || in btrfs_uuid_scan_kthread()
3769 if (!btrfs_is_empty_uuid(root_item.uuid)) { in btrfs_uuid_scan_kthread()
3771 root_item.uuid, in btrfs_uuid_scan_kthread()
3837 u8 *uuid, u8 type, u64 subid) in btrfs_check_uuid_tree_entry() argument
3860 if (memcmp(uuid, subvol_root->root_item.uuid, BTRFS_UUID_SIZE)) in btrfs_check_uuid_tree_entry()
3864 if (memcmp(uuid, subvol_root->root_item.received_uuid, in btrfs_check_uuid_tree_entry()
4583 memcpy(stripe->dev_uuid, device->uuid, BTRFS_UUID_SIZE); in btrfs_finish_chunk_alloc()
5916 u8 *uuid, u8 *fsid) in btrfs_find_device() argument
5926 devid, uuid); in btrfs_find_device()
5970 const u8 *uuid) in btrfs_alloc_device() argument
5995 if (uuid) in btrfs_alloc_device()
5996 memcpy(dev->uuid, uuid, BTRFS_UUID_SIZE); in btrfs_alloc_device()
5998 generate_random_uuid(dev->uuid); in btrfs_alloc_device()
6016 u8 uuid[BTRFS_UUID_SIZE]; in read_one_chunk() local
6065 read_extent_buffer(leaf, uuid, (unsigned long) in read_one_chunk()
6069 uuid, NULL); in read_one_chunk()
6077 devid, uuid); in read_one_chunk()
6115 read_extent_buffer(leaf, device->uuid, ptr, BTRFS_UUID_SIZE); in fill_device_from_item()