Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dsysfs.h12 struct btrfs_fs_devices;
28 int btrfs_sysfs_add_fsid(struct btrfs_fs_devices *fs_devs);
29 void btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs);
30 void btrfs_sysfs_update_sprout_fsid(struct btrfs_fs_devices *fs_devices);
H A Dvolumes.h104 struct btrfs_fs_devices;
110 struct btrfs_fs_devices *fs_devices;
337 struct btrfs_fs_devices { struct
716 int btrfs_open_devices(struct btrfs_fs_devices *fs_devices,
721 void btrfs_close_devices(struct btrfs_fs_devices *fs_devices);
722 void btrfs_free_extra_devids(struct btrfs_fs_devices *fs_devices);
742 struct btrfs_device *btrfs_find_device(const struct btrfs_fs_devices *fs_devices,
H A Dvolumes.c380 static struct btrfs_fs_devices *alloc_fs_devices(const u8 *fsid) in alloc_fs_devices()
382 struct btrfs_fs_devices *fs_devs; in alloc_fs_devices()
412 static void free_fs_devices(struct btrfs_fs_devices *fs_devices) in free_fs_devices()
428 struct btrfs_fs_devices *fs_devices; in btrfs_cleanup_fs_uuids()
432 struct btrfs_fs_devices, fs_list); in btrfs_cleanup_fs_uuids()
438 static bool match_fsid_fs_devices(const struct btrfs_fs_devices *fs_devices, in match_fsid_fs_devices()
453 static noinline struct btrfs_fs_devices *find_fsid( in find_fsid()
456 struct btrfs_fs_devices *fs_devices; in find_fsid()
526 struct btrfs_fs_devices *fs_devices, *tmp_fs_devices; in btrfs_free_stale_devices()
573 static struct btrfs_fs_devices *find_fsid_by_device( in find_fsid_by_device()
[all …]
H A Dsysfs.c102 static inline struct btrfs_fs_devices *to_fs_devs(struct kobject *kobj);
1379 struct btrfs_fs_devices *fs_devices = to_fs_devs(kobj); in btrfs_read_policy_show()
1415 struct btrfs_fs_devices *fs_devices = to_fs_devs(kobj); in btrfs_read_policy_store()
1533 struct btrfs_fs_devices *fs_devices = to_fs_devs(kobj); in btrfs_offload_csum_show()
1552 struct btrfs_fs_devices *fs_devices = to_fs_devs(kobj); in btrfs_offload_csum_store()
1597 struct btrfs_fs_devices *fs_devs = to_fs_devs(kobj); in btrfs_release_fsid_kobj()
1608 static inline struct btrfs_fs_devices *to_fs_devs(struct kobject *kobj) in to_fs_devs()
1612 return container_of(kobj, struct btrfs_fs_devices, fsid_kobj); in to_fs_devs()
1689 static void __btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs) in __btrfs_sysfs_remove_fsid()
1711 void btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs) in btrfs_sysfs_remove_fsid()
[all …]
H A Ddisk-io.h18 struct btrfs_fs_devices;
55 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);
230 static inline bool btrfs_can_activate_zone(struct btrfs_fs_devices *fs_devices, in btrfs_can_activate_zone()
H A Dfs.h42 struct btrfs_fs_devices;
649 struct btrfs_fs_devices *fs_devices;
H A Dzoned.c326 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_get_dev_zone_info_all_devices()
2319 bool btrfs_can_activate_zone(struct btrfs_fs_devices *fs_devices, u64 flags) in btrfs_can_activate_zone()
2438 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_free_zone_cache()
2456 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_zoned_should_reclaim()
2610 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_check_active_zone_reservation()
H A Ddev-replace.c245 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_dev_replace_tgtdev()
871 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_dev_replace_finishing()
H A Dsuper.c948 struct btrfs_fs_devices *fs_devices) in btrfs_fill_super()
1599 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_calc_avail_data_space()
1833 struct btrfs_fs_devices *fs_devices = NULL; in btrfs_get_tree_super()
H A Dbio.c602 struct btrfs_fs_devices *fs_devices = bbio->fs_info->fs_devices; in should_async_write()
H A Ddisk-io.c337 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices, *seed_devs; in check_tree_block_fsid()
2065 struct btrfs_fs_devices *fs_devices) in btrfs_replay_log()
3275 int __cold open_ctree(struct super_block *sb, struct btrfs_fs_devices *fs_devices) in open_ctree()
H A Dioctl.c2771 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_ioctl_fs_info()
H A Dextent-tree.c6474 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_trim_fs()
/linux/fs/btrfs/tests/
H A Dbtrfs-tests.c125 fs_info->fs_devices = kzalloc(sizeof(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()