Lines Matching refs:writeable
793 if (device->writeable) { in btrfs_close_extra_devices()
795 device->writeable = 0; in btrfs_close_extra_devices()
929 device->writeable = 0; in __btrfs_open_devices()
931 device->writeable = !bdev_read_only(bdev); in __btrfs_open_devices()
947 if (device->writeable && in __btrfs_open_devices()
1793 if (device->writeable && root->fs_info->fs_devices->rw_devices == 1) { in btrfs_rm_device()
1798 if (device->writeable) { in btrfs_rm_device()
1943 if (device->writeable) { in btrfs_rm_device()
1974 if (srcdev->writeable) { in btrfs_rm_dev_replace_remove_srcdev()
2309 device->writeable = 1; in btrfs_init_new_device()
2515 device->writeable = 1; in btrfs_init_dev_replace_tgtdev()
2615 if (!device->writeable) in btrfs_grow_device()
3411 if (!device->writeable || in __btrfs_balance()
4277 if (device->writeable) { in btrfs_shrink_device()
4403 if (device->writeable) in btrfs_shrink_device()
4581 if (!device->writeable) { in __btrfs_alloc_chunk()
4967 if (!map->stripes[i].dev->writeable) { in btrfs_chunk_readonly()
6083 if (!dev || !dev->bdev || (rw & WRITE && !dev->writeable)) { in btrfs_map_bio()
6426 BUG_ON(device->writeable); in read_one_dev()
6434 if (device->writeable && !device->is_tgtdev_for_dev_replace) { in read_one_dev()
6970 if (device->writeable && in btrfs_close_one_device()