Searched refs:BTRFS_DEV_STATE_WRITEABLE (Results 1 – 7 of 7) sorted by relevance
/linux/fs/btrfs/ |
H A D | bio.c | 418 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state))) { in btrfs_submit_dev_bio() 827 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &smap.dev->dev_state)) { in btrfs_repair_io_failure()
|
H A D | dev-replace.c | 297 set_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_init_dev_replace_tgtdev() 1013 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &src_device->dev_state)) in btrfs_dev_replace_finishing()
|
H A D | disk-io.c | 3939 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) in barrier_all_devices() 3954 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) in barrier_all_devices() 4046 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) in write_all_supers() 4095 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) in write_all_supers()
|
H A D | sysfs.c | 2095 val = !!test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_devinfo_writeable_show()
|
H A D | extent-tree.c | 1417 if (!test_bit(BTRFS_DEV_STATE_WRITEABLE, in btrfs_discard_extent() 6429 if (!test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) in btrfs_trim_free_extents()
|
H A D | scrub.c | 3058 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) { in btrfs_scrub_dev()
|
H A D | ioctl.c | 1096 if (!test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) { in btrfs_ioctl_resize()
|