Home
last modified time | relevance | path

Searched refs:BTRFS_DEV_STATE_WRITEABLE (Results 1 – 9 of 9) sorted by relevance

/linux/fs/btrfs/
A Dvolumes.c646 clear_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_open_one_device()
650 clear_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_open_one_device()
652 set_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_open_one_device()
664 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state) && in btrfs_open_one_device()
1074 clear_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in __btrfs_free_extra_devids()
1109 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) { in btrfs_close_bdev()
1121 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state) && in btrfs_close_one_device()
1140 clear_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_close_one_device()
2279 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &srcdev->dev_state)) in btrfs_rm_dev_replace_remove_srcdev()
2657 set_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_init_new_device()
[all …]
A Dvolumes.h48 #define BTRFS_DEV_STATE_WRITEABLE (0) macro
A Ddev-replace.c306 set_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_init_dev_replace_tgtdev()
1029 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &src_device->dev_state)) in btrfs_dev_replace_finishing()
A Ddisk-io.c4061 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) in barrier_all_devices()
4077 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) in barrier_all_devices()
4175 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) in write_all_supers()
4224 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) in write_all_supers()
A Dsysfs.c1534 val = !!test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_devinfo_writeable_show()
A Dextent-tree.c1349 if (!test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) in btrfs_discard_extent()
5952 if (!test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) in btrfs_trim_free_extents()
A Dscrub.c4127 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) { in btrfs_scrub_dev()
A Dioctl.c1687 if (!test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) { in btrfs_ioctl_resize()
A Dextent_io.c2361 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) { in repair_io_failure()

Completed in 66 milliseconds