Home
last modified time | relevance | path

Searched refs:open_devices (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/md/
Ddm-thin-metadata.c917 unsigned open_devices = 0; in dm_pool_metadata_close() local
923 open_devices++; in dm_pool_metadata_close()
931 if (open_devices) { in dm_pool_metadata_close()
933 open_devices); in dm_pool_metadata_close()
/Linux-v5.4/fs/btrfs/
Dvolumes.c650 fs_info->fs_devices->open_devices > 1) { in run_scheduled_bios()
837 fs_devices->open_devices++; in btrfs_open_one_device()
1207 fs_devices->open_devices--; in btrfs_free_extra_devids()
1251 fs_devices->open_devices--; in btrfs_close_one_device()
1295 WARN_ON(fs_devices->open_devices); in close_fs_devices()
1343 if (fs_devices->open_devices == 0) { in open_fs_devices()
2193 cur_devices->open_devices--; in btrfs_rm_device()
2214 if (cur_devices->open_devices == 0) { in btrfs_rm_device()
2266 fs_devices->open_devices--; in btrfs_rm_dev_replace_remove_srcdev()
2319 fs_devices->open_devices--; in btrfs_destroy_dev_replace_tgtdev()
[all …]
Dvolumes.h228 u64 open_devices; member
Ddev-replace.c263 fs_info->fs_devices->open_devices++; in btrfs_init_dev_replace_tgtdev()
Dsuper.c1915 nr_devices = fs_info->fs_devices->open_devices; in btrfs_calc_avail_data_space()
1918 nr_devices = fs_info->fs_devices->open_devices; in btrfs_calc_avail_data_space()