Searched refs:BTRFS_DEV_STATE_WRITEABLE (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | volumes.c | 648 clear_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_open_one_device() 652 clear_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_open_one_device() 654 set_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_open_one_device() 668 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state) && in btrfs_open_one_device() 1112 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) { in __btrfs_free_extra_devids() 1114 clear_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in __btrfs_free_extra_devids() 1149 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) { in btrfs_close_bdev() 1161 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state) && in btrfs_close_one_device() 1180 clear_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_close_one_device() 2177 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state) && in btrfs_rm_device() [all …]
|
H A D | bio.c | 442 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state))) { in btrfs_submit_dev_bio() 786 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &smap.dev->dev_state)) { in btrfs_repair_io_failure()
|
H A D | volumes.h | 79 #define BTRFS_DEV_STATE_WRITEABLE (0) macro
|
H A D | dev-replace.c | 304 set_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_init_dev_replace_tgtdev() 1007 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &src_device->dev_state)) in btrfs_dev_replace_finishing()
|
H A D | disk-io.c | 3999 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) in barrier_all_devices() 4014 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) in barrier_all_devices() 4106 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) in write_all_supers() 4155 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) in write_all_supers()
|
H A D | sysfs.c | 1780 val = !!test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_devinfo_writeable_show()
|
H A D | extent-tree.c | 1408 if (!test_bit(BTRFS_DEV_STATE_WRITEABLE, in btrfs_discard_extent() 6039 if (!test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) in btrfs_trim_free_extents()
|
H A D | scrub.c | 2867 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) { in btrfs_scrub_dev()
|
H A D | ioctl.c | 1184 if (!test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) { in btrfs_ioctl_resize()
|