Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dvolumes.h109 struct btrfs_fs_devices;
115 struct btrfs_fs_devices *fs_devices;
343 struct btrfs_fs_devices { struct
737 int btrfs_open_devices(struct btrfs_fs_devices *fs_devices,
741 void btrfs_close_devices(struct btrfs_fs_devices *fs_devices);
742 void btrfs_free_extra_devids(struct btrfs_fs_devices *fs_devices);
762 struct btrfs_device *btrfs_find_device(const struct btrfs_fs_devices *fs_devices,
874 static inline void btrfs_fs_devices_inc_holding(struct btrfs_fs_devices *fs_devices) in btrfs_fs_devices_inc_holding()
881 static inline void btrfs_fs_devices_dec_holding(struct btrfs_fs_devices *fs_devices) in btrfs_fs_devices_dec_holding()
H A Dvolumes.c377 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 Dsysfs.c103 static inline struct btrfs_fs_devices *to_fs_devs(struct kobject *kobj);
1393 struct btrfs_fs_devices *fs_devices = to_fs_devs(kobj); in btrfs_read_policy_show()
1429 struct btrfs_fs_devices *fs_devices = to_fs_devs(kobj); in btrfs_read_policy_store()
1547 struct btrfs_fs_devices *fs_devices = to_fs_devs(kobj); in btrfs_offload_csum_show()
1566 struct btrfs_fs_devices *fs_devices = to_fs_devs(kobj); in btrfs_offload_csum_store()
1611 struct btrfs_fs_devices *fs_devs = to_fs_devs(kobj); in btrfs_release_fsid_kobj()
1622 static inline struct btrfs_fs_devices *to_fs_devs(struct kobject *kobj) in to_fs_devs()
1626 return container_of(kobj, struct btrfs_fs_devices, fsid_kobj); in to_fs_devs()
1703 static void __btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs) in __btrfs_sysfs_remove_fsid()
1725 void btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs) in btrfs_sysfs_remove_fsid()
[all …]
H A Dfs.h43 struct btrfs_fs_devices;
708 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()
2419 bool btrfs_can_activate_zone(struct btrfs_fs_devices *fs_devices, u64 flags) in btrfs_can_activate_zone()
2647 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_free_zone_cache()
2665 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_zoned_should_reclaim()
2817 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_check_active_zone_reservation()
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.c343 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices, *seed_devs; in check_tree_block_fsid()
2021 struct btrfs_fs_devices *fs_devices) in btrfs_replay_log()
3245 int __cold open_ctree(struct super_block *sb, struct btrfs_fs_devices *fs_devices) in open_ctree()
H A Dioctl.c2719 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_ioctl_fs_info()
/linux/fs/btrfs/tests/
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()