Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dvolumes.c698 clear_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_open_one_device()
702 clear_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_open_one_device()
704 set_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_open_one_device()
728 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state) && in btrfs_open_one_device()
1069 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) { in __btrfs_free_extra_devids()
1071 clear_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in __btrfs_free_extra_devids()
1117 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) { in btrfs_close_bdev()
1134 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state) && in btrfs_close_one_device()
1154 clear_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_close_one_device()
2370 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state) && in btrfs_rm_device()
[all …]
H A Dvolumes.h106 #define BTRFS_DEV_STATE_WRITEABLE (0) macro
H A Ddisk-io.c4072 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) in barrier_all_devices()
4087 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) in barrier_all_devices()
4185 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) in write_all_supers()
4231 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) in write_all_supers()
H A Dsuper.c2483 if (test_and_clear_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) { in btrfs_remove_bdev()
H A Dsysfs.c2058 val = !!test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state); in btrfs_devinfo_writeable_show()
H A Dextent-tree.c1461 if (!test_bit(BTRFS_DEV_STATE_WRITEABLE, in btrfs_discard_extent()
6634 if (!test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state) || !device->bdev) in btrfs_trim_free_extents_throttle()
H A Dscrub.c3084 !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) { in btrfs_scrub_dev()
H A Dioctl.c1060 if (!test_bit(BTRFS_DEV_STATE_WRITEABLE, &device->dev_state)) { in btrfs_ioctl_resize()