Searched refs:BTRFS_DEV_STATE_WRITEABLE (Results 1 – 8 of 8) sorted by relevance
/linux-4.19.296/fs/btrfs/ |
D | volumes.c | 703 clear_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_open_one_device() 707 clear_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_open_one_device() 709 set_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_open_one_device() 721 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state) && in btrfs_open_one_device() 995 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) { in btrfs_free_extra_devids() 997 clear_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_free_extra_devids() 1028 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) { in btrfs_close_bdev() 1045 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state) && in btrfs_close_one_device() 1923 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state) && in btrfs_rm_device() 1929 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) { in btrfs_rm_device() [all …]
|
D | volumes.h | 39 #define BTRFS_DEV_STATE_WRITEABLE (0) macro
|
D | disk-io.c | 3668 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) in barrier_all_devices() 3684 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) in barrier_all_devices() 3782 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) in write_all_supers() 3830 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) in write_all_supers()
|
D | dev-replace.c | 264 set_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_init_dev_replace_tgtdev()
|
D | scrub.c | 3847 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) { in btrfs_scrub_dev()
|
D | extent-tree.c | 2002 if (!test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) in btrfs_discard_extent() 10827 if (!test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) in btrfs_trim_free_extents()
|
D | extent_io.c | 2073 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) { in repair_io_failure()
|
D | ioctl.c | 1663 if (!test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) { in btrfs_ioctl_resize()
|