Lines Matching refs:writeable
650 if (device->writeable) { in btrfs_close_extra_devices()
652 device->writeable = 0; in btrfs_close_extra_devices()
710 if (device->writeable && in __btrfs_close_devices()
815 device->writeable = 0; in __btrfs_open_devices()
817 device->writeable = !bdev_read_only(bdev); in __btrfs_open_devices()
833 if (device->writeable && in __btrfs_open_devices()
1649 if (device->writeable && root->fs_info->fs_devices->rw_devices == 1) { in btrfs_rm_device()
1654 if (device->writeable) { in btrfs_rm_device()
1799 if (device->writeable) { in btrfs_rm_device()
1830 if (srcdev->writeable) { in btrfs_rm_dev_replace_remove_srcdev()
2164 device->writeable = 1; in btrfs_init_new_device()
2368 device->writeable = 1; in btrfs_init_dev_replace_tgtdev()
2468 if (!device->writeable) in btrfs_grow_device()
3167 if (!device->writeable || in __btrfs_balance()
3988 if (device->writeable) { in btrfs_shrink_device()
4052 if (device->writeable) in btrfs_shrink_device()
4313 if (!device->writeable) { in __btrfs_alloc_chunk()
4699 if (!map->stripes[i].dev->writeable) { in btrfs_chunk_readonly()
5882 if (!dev || !dev->bdev || (rw & WRITE && !dev->writeable)) { in btrfs_map_bio()
6236 BUG_ON(device->writeable); in read_one_dev()
6244 if (device->writeable && !device->is_tgtdev_for_dev_replace) { in read_one_dev()