Home
last modified time | relevance | path

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

/fs/btrfs/
Dsysfs.h19 int btrfs_sysfs_add_fsid(struct btrfs_fs_devices *fs_devs);
20 void btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs);
21 void btrfs_sysfs_update_sprout_fsid(struct btrfs_fs_devices *fs_devices);
Dvolumes.c368 static struct btrfs_fs_devices *alloc_fs_devices(const u8 *fsid, in alloc_fs_devices()
371 struct btrfs_fs_devices *fs_devs; in alloc_fs_devices()
404 static void free_fs_devices(struct btrfs_fs_devices *fs_devices) in free_fs_devices()
420 struct btrfs_fs_devices *fs_devices; in btrfs_cleanup_fs_uuids()
424 struct btrfs_fs_devices, fs_list); in btrfs_cleanup_fs_uuids()
430 static bool match_fsid_fs_devices(const struct btrfs_fs_devices *fs_devices, in match_fsid_fs_devices()
445 static noinline struct btrfs_fs_devices *find_fsid( in find_fsid()
448 struct btrfs_fs_devices *fs_devices; in find_fsid()
465 static inline bool check_fsid_changed(const struct btrfs_fs_devices *fs_devices, in check_fsid_changed()
473 static struct btrfs_fs_devices *find_fsid_with_metadata_uuid( in find_fsid_with_metadata_uuid()
[all …]
Dcheck-integrity.h16 struct btrfs_fs_devices *fs_devices,
18 void btrfsic_unmount(struct btrfs_fs_devices *fs_devices);
Dvolumes.h86 struct btrfs_fs_devices *fs_devices;
281 struct btrfs_fs_devices { struct
612 int btrfs_open_devices(struct btrfs_fs_devices *fs_devices,
616 void btrfs_close_devices(struct btrfs_fs_devices *fs_devices);
617 void btrfs_free_extra_devids(struct btrfs_fs_devices *fs_devices);
637 struct btrfs_device *btrfs_find_device(const struct btrfs_fs_devices *fs_devices,
Dsysfs.c102 static inline struct btrfs_fs_devices *to_fs_devs(struct kobject *kobj);
1208 struct btrfs_fs_devices *fs_devices = to_fs_devs(kobj); in btrfs_read_policy_show()
1232 struct btrfs_fs_devices *fs_devices = to_fs_devs(kobj); in btrfs_read_policy_store()
1310 struct btrfs_fs_devices *fs_devs = to_fs_devs(kobj); in btrfs_release_fsid_kobj()
1321 static inline struct btrfs_fs_devices *to_fs_devs(struct kobject *kobj) in to_fs_devs()
1325 return container_of(kobj, struct btrfs_fs_devices, fsid_kobj); in to_fs_devs()
1402 static void __btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs) in __btrfs_sysfs_remove_fsid()
1424 void btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs) in btrfs_sysfs_remove_fsid()
1438 static void btrfs_sysfs_remove_fs_devices(struct btrfs_fs_devices *fs_devices) in btrfs_sysfs_remove_fs_devices()
1441 struct btrfs_fs_devices *seed; in btrfs_sysfs_remove_fs_devices()
[all …]
Ddisk-io.h29 struct btrfs_fs_devices;
47 struct btrfs_fs_devices *fs_devices,
Dzoned.h73 bool btrfs_can_activate_zone(struct btrfs_fs_devices *fs_devices, u64 flags);
224 static inline bool btrfs_can_activate_zone(struct btrfs_fs_devices *fs_devices, in btrfs_can_activate_zone()
Dzoned.c337 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_get_dev_zone_info_all_devices()
2208 bool btrfs_can_activate_zone(struct btrfs_fs_devices *fs_devices, u64 flags) in btrfs_can_activate_zone()
2327 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_free_zone_cache()
2345 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_zoned_should_reclaim()
2499 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_check_active_zone_reservation()
Dctree.h52 struct btrfs_fs_devices;
Ddev-replace.c248 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_init_dev_replace_tgtdev()
855 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_dev_replace_finishing()
Dsuper.c1135 struct btrfs_fs_devices *fs_devices, in btrfs_fill_super()
1451 struct btrfs_fs_devices *fs_devices = NULL; in btrfs_mount_root()
1922 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_calc_avail_data_space()
Dfs.h580 struct btrfs_fs_devices *fs_devices;
Dcheck-integrity.c573 struct btrfs_fs_devices *fs_devices) in btrfsic_process_superblock()
2732 struct btrfs_fs_devices *fs_devices, in btrfsic_mount()
2804 void btrfsic_unmount(struct btrfs_fs_devices *fs_devices) in btrfsic_unmount()
Ddisk-io.c314 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices, *seed_devs; in check_tree_block_fsid()
2045 struct btrfs_fs_devices *fs_devices) in btrfs_replay_log()
3163 int __cold open_ctree(struct super_block *sb, struct btrfs_fs_devices *fs_devices, in open_ctree()
Dioctl.c2828 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_ioctl_fs_info()
Dextent-tree.c6090 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_trim_fs()
/fs/btrfs/tests/
Dbtrfs-tests.c125 fs_info->fs_devices = kzalloc(sizeof(struct btrfs_fs_devices), in btrfs_alloc_dummy_fs_info()