Lines Matching refs:fsid

163 static struct btrfs_fs_devices *alloc_fs_devices(const u8 *fsid)  in alloc_fs_devices()  argument
171 if (fsid) in alloc_fs_devices()
172 memcpy(fs_devs->fsid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
174 generate_random_uuid(fs_devs->fsid); in alloc_fs_devices()
256 static noinline struct btrfs_fs_devices *find_fsid(u8 *fsid) in find_fsid() argument
261 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) == 0) in find_fsid()
600 fs_devices = find_fsid(disk_super->fsid); in device_list_add()
602 fs_devices = alloc_fs_devices(disk_super->fsid); in device_list_add()
714 fs_devices = alloc_fs_devices(orig->fsid); in clone_fs_devices()
1065 printk(KERN_INFO "BTRFS: device fsid %pU ", disk_super->fsid); in btrfs_scan_one_device()
1624 write_extent_buffer(leaf, root->fs_info->fsid, ptr, BTRFS_UUID_SIZE); in btrfs_add_device()
1781 disk_super->fsid); in btrfs_rm_device()
2065 disk_super->fsid); in btrfs_find_device_by_path()
2154 generate_random_uuid(fs_devices->fsid); in btrfs_prepare_sprout()
2155 memcpy(root->fs_info->fsid, fs_devices->fsid, BTRFS_FSID_SIZE); in btrfs_prepare_sprout()
2156 memcpy(disk_super->fsid, fs_devices->fsid, BTRFS_FSID_SIZE); in btrfs_prepare_sprout()
2400 root->fs_info->fsid); in btrfs_init_new_device()
6103 u8 *uuid, u8 *fsid) in btrfs_find_device() argument
6110 if (!fsid || in btrfs_find_device()
6111 !memcmp(cur_devices->fsid, fsid, BTRFS_UUID_SIZE)) { in btrfs_find_device()
6308 u8 *fsid) in open_seed_devices() argument
6317 if (!memcmp(fs_devices->fsid, fsid, BTRFS_UUID_SIZE)) in open_seed_devices()
6323 fs_devices = find_fsid(fsid); in open_seed_devices()
6328 fs_devices = alloc_fs_devices(fsid); in open_seed_devices()
6379 if (memcmp(fs_uuid, root->fs_info->fsid, BTRFS_UUID_SIZE)) { in read_one_dev()