Lines Matching refs:fsid
165 static struct btrfs_fs_devices *find_fsid(u8 *fsid, u8 *metadata_uuid) in find_fsid() argument
170 if (metadata_uuid && (memcmp(fsid, fs_devices->fsid, in find_fsid()
175 } else if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) == 0){ in find_fsid()
194 fs_devices = find_fsid(disk_super->fsid, in device_list_add()
197 fs_devices = find_fsid(disk_super->fsid, NULL); in device_list_add()
205 memcpy(fs_devices->fsid, disk_super->fsid, BTRFS_FSID_SIZE); in device_list_add()
210 memcpy(fs_devices->metadata_uuid, fs_devices->fsid, in device_list_add()
355 u8 *uuid, u8 *fsid) in btrfs_find_device() argument
362 if (!fsid || in btrfs_find_device()
363 !memcmp(cur_devices->metadata_uuid, fsid, BTRFS_FSID_SIZE)) { in btrfs_find_device()
629 if (memcmp(fs_uuid, fs_info->fs_devices->fsid, BTRFS_UUID_SIZE)) { in read_one_dev()