Home
last modified time | relevance | path

Searched refs:btrfs_fs_devices (Results 1 – 13 of 13) sorted by relevance

/linux/fs/btrfs/
H A Dsysfs.h13 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 Dvolumes.h119 struct btrfs_fs_devices;
125 struct btrfs_fs_devices *fs_devices;
334 struct btrfs_fs_devices { struct
726 int btrfs_open_devices(struct btrfs_fs_devices *fs_devices,
730 void btrfs_close_devices(struct btrfs_fs_devices *fs_devices);
731 void btrfs_free_extra_devids(struct btrfs_fs_devices *fs_devices);
751 struct btrfs_device *btrfs_find_device(const struct btrfs_fs_devices *fs_devices,
864 static inline void btrfs_fs_devices_inc_holding(struct btrfs_fs_devices *fs_devices) in btrfs_fs_devices_inc_holding()
871 static inline void btrfs_fs_devices_dec_holding(struct btrfs_fs_devices *fs_devices) in btrfs_fs_devices_dec_holding()
H A Ddisk-io.h19 struct btrfs_fs_devices;
56 int __cold open_ctree(struct super_block *sb, struct btrfs_fs_devices *fs_devices);
H A Dzoned.h27 struct btrfs_fs_devices;
85 bool btrfs_can_activate_zone(struct btrfs_fs_devices *fs_devices, u64 flags);
241 static inline bool btrfs_can_activate_zone(struct btrfs_fs_devices *fs_devices, in btrfs_can_activate_zone()
H A Dsysfs.c102 static inline struct btrfs_fs_devices *to_fs_devs(struct kobject *kobj);
1394 struct btrfs_fs_devices *fs_devices = to_fs_devs(kobj); in btrfs_read_policy_show()
1430 struct btrfs_fs_devices *fs_devices = to_fs_devs(kobj); in btrfs_read_policy_store()
1568 struct btrfs_fs_devices *fs_devs = to_fs_devs(kobj); in btrfs_release_fsid_kobj()
1579 static inline struct btrfs_fs_devices *to_fs_devs(struct kobject *kobj) in to_fs_devs()
1583 return container_of(kobj, struct btrfs_fs_devices, fsid_kobj); in to_fs_devs()
1660 static void __btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs) in __btrfs_sysfs_remove_fsid()
1682 void btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs) in btrfs_sysfs_remove_fsid()
1696 static void btrfs_sysfs_remove_fs_devices(struct btrfs_fs_devices *fs_devices) in btrfs_sysfs_remove_fs_devices()
1699 struct btrfs_fs_devices *seed; in btrfs_sysfs_remove_fs_devices()
[all …]
H A Dfs.h45 struct btrfs_fs_devices;
735 struct btrfs_fs_devices *fs_devices;
H A Dzoned.c332 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_get_dev_zone_info_all_devices()
2631 bool btrfs_can_activate_zone(struct btrfs_fs_devices *fs_devices, u64 flags) in btrfs_can_activate_zone()
2859 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_free_zone_cache()
2877 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_zoned_should_reclaim()
3029 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_check_active_zone_reservation()
H A Ddev-replace.c237 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_dev_replace_tgtdev()
860 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_dev_replace_finishing()
H A Dsuper.c957 struct btrfs_fs_devices *fs_devices) in btrfs_fill_super()
1612 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_calc_avail_data_space()
1845 struct btrfs_fs_devices *fs_devices = NULL; in btrfs_get_tree_super()
H A Ddisk-io.c331 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices, *seed_devs; in check_tree_block_fsid()
1998 struct btrfs_fs_devices *fs_devices) in btrfs_replay_log()
3293 int __cold open_ctree(struct super_block *sb, struct btrfs_fs_devices *fs_devices) in open_ctree()
H A Dioctl.c2646 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_ioctl_fs_info()
/linux/fs/btrfs/tests/
H A Dbtrfs-tests.c124 fs_info->fs_devices = kzalloc_obj(struct btrfs_fs_devices); in btrfs_alloc_dummy_fs_info()
H A Draid-stripe-tree-tests.c21 static struct btrfs_device *btrfs_device_by_devid(struct btrfs_fs_devices *fs_devices, in btrfs_device_by_devid()