Lines Matching refs:dev
120 struct btrfs_device *dev; member
154 struct btrfs_device *dev; in find_device() local
156 list_for_each_entry(dev, head, dev_list) { in find_device()
157 if (dev->devid == devid && in find_device()
158 (!uuid || !memcmp(dev->uuid, uuid, BTRFS_UUID_SIZE))) { in find_device()
159 return dev; in find_device()
569 map->stripes[i].dev = btrfs_find_device(fs_info, devid, uuid, in read_one_chunk()
571 if (!map->stripes[i].dev) { in read_one_chunk()
572 map->stripes[i].dev = fill_missing_device(devid); in read_one_chunk()
575 list_add(&map->stripes[i].dev->dev_list, in read_one_chunk()
1149 multi->stripes[i].dev = map->stripes[stripe_index].dev; in __btrfs_map_block()