Lines Matching defs:device
1977 * Normally on a zoned device we're only doing COW writes, but in case
3274 * @dev: device the sector is on
6576 /* do not allow sys_link's with other subvols of the same device */
10444 * Add an entry indicating a block group or device which is pinned by a
10583 struct btrfs_device *device = NULL;
10617 * Balance or device remove/replace/resize can move stuff around from
10622 * a concurrent device add which isn't actually necessary, but it's not
10735 if (device == NULL) {
10736 device = em->map_lookup->stripes[0].dev;
10737 ret = btrfs_add_swapfile_pin(inode, device, false);
10742 } else if (device != em->map_lookup->stripes[0].dev) {
10743 btrfs_warn(fs_info, "swapfile must be on one device");
10818 if (device)
10819 sis->bdev = device->bdev;