Searched refs:btrfs_fs_devices (Results 1 – 14 of 14) sorted by relevance
/linux/fs/btrfs/ |
H A D | sysfs.h | 13 struct btrfs_fs_devices; 29 int btrfs_sysfs_add_fsid(struct btrfs_fs_devices *fs_devs); 30 void btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs); 31 void btrfs_sysfs_update_sprout_fsid(struct btrfs_fs_devices *fs_devices);
|
H A D | volumes.h | 107 struct btrfs_fs_devices; 113 struct btrfs_fs_devices *fs_devices; 341 struct btrfs_fs_devices { struct 730 int btrfs_open_devices(struct btrfs_fs_devices *fs_devices, 734 void btrfs_close_devices(struct btrfs_fs_devices *fs_devices); 735 void btrfs_free_extra_devids(struct btrfs_fs_devices *fs_devices); 755 struct btrfs_device *btrfs_find_device(const struct btrfs_fs_devices *fs_devices, 867 static inline void btrfs_fs_devices_inc_holding(struct btrfs_fs_devices *fs_devices) in btrfs_fs_devices_inc_holding() 874 static inline void btrfs_fs_devices_dec_holding(struct btrfs_fs_devices *fs_devices) in btrfs_fs_devices_dec_holding()
|
H A D | volumes.c | 377 static struct btrfs_fs_devices *alloc_fs_devices(const u8 *fsid) in alloc_fs_devices() 379 struct btrfs_fs_devices *fs_devs; in alloc_fs_devices() 413 static void free_fs_devices(struct btrfs_fs_devices *fs_devices) in free_fs_devices() 430 struct btrfs_fs_devices *fs_devices; in btrfs_cleanup_fs_uuids() 433 fs_devices = list_first_entry(&fs_uuids, struct btrfs_fs_devices, in btrfs_cleanup_fs_uuids() 440 static bool match_fsid_fs_devices(const struct btrfs_fs_devices *fs_devices, in match_fsid_fs_devices() 455 static noinline struct btrfs_fs_devices *find_fsid( in find_fsid() 458 struct btrfs_fs_devices *fs_devices; in find_fsid() 528 struct btrfs_fs_devices *fs_devices, *tmp_fs_devices; in btrfs_free_stale_devices() 575 static struct btrfs_fs_devices *find_fsid_by_device( in find_fsid_by_device() [all …]
|
H A D | sysfs.c | 102 static inline struct btrfs_fs_devices *to_fs_devs(struct kobject *kobj); 1388 struct btrfs_fs_devices *fs_devices = to_fs_devs(kobj); in btrfs_read_policy_show() 1424 struct btrfs_fs_devices *fs_devices = to_fs_devs(kobj); in btrfs_read_policy_store() 1542 struct btrfs_fs_devices *fs_devices = to_fs_devs(kobj); in btrfs_offload_csum_show() 1561 struct btrfs_fs_devices *fs_devices = to_fs_devs(kobj); in btrfs_offload_csum_store() 1606 struct btrfs_fs_devices *fs_devs = to_fs_devs(kobj); in btrfs_release_fsid_kobj() 1617 static inline struct btrfs_fs_devices *to_fs_devs(struct kobject *kobj) in to_fs_devs() 1621 return container_of(kobj, struct btrfs_fs_devices, fsid_kobj); in to_fs_devs() 1698 static void __btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs) in __btrfs_sysfs_remove_fsid() 1720 void btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs) in btrfs_sysfs_remove_fsid() [all …]
|
H A D | zoned.h | 27 struct btrfs_fs_devices; 85 bool btrfs_can_activate_zone(struct btrfs_fs_devices *fs_devices, u64 flags); 231 static inline bool btrfs_can_activate_zone(struct btrfs_fs_devices *fs_devices, in btrfs_can_activate_zone()
|
H A D | fs.h | 42 struct btrfs_fs_devices; 669 struct btrfs_fs_devices *fs_devices;
|
H A D | zoned.c | 330 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_get_dev_zone_info_all_devices() 2411 bool btrfs_can_activate_zone(struct btrfs_fs_devices *fs_devices, u64 flags) in btrfs_can_activate_zone() 2631 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_free_zone_cache() 2649 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_zoned_should_reclaim() 2802 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_check_active_zone_reservation()
|
H A D | dev-replace.c | 239 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_dev_replace_tgtdev() 862 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_dev_replace_finishing()
|
H A D | super.c | 956 struct btrfs_fs_devices *fs_devices) in btrfs_fill_super() 1609 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_calc_avail_data_space() 1843 struct btrfs_fs_devices *fs_devices = NULL; in btrfs_get_tree_super()
|
H A D | bio.c | 588 struct btrfs_fs_devices *fs_devices = bbio->fs_info->fs_devices; in should_async_write()
|
H A D | disk-io.c | 335 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices, *seed_devs; in check_tree_block_fsid() 2052 struct btrfs_fs_devices *fs_devices) in btrfs_replay_log() 3280 int __cold open_ctree(struct super_block *sb, struct btrfs_fs_devices *fs_devices) in open_ctree()
|
H A D | ioctl.c | 2769 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_ioctl_fs_info()
|
H A D | extent-tree.c | 6517 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_trim_fs()
|
/linux/fs/btrfs/tests/ |
H A D | raid-stripe-tree-tests.c | 21 static struct btrfs_device *btrfs_device_by_devid(struct btrfs_fs_devices *fs_devices, in btrfs_device_by_devid()
|