Searched refs:fs_devs (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | sysfs.c | 871 struct btrfs_fs_devices *fs_devs = to_fs_devs(kobj); in btrfs_release_fsid_kobj() local 873 memset(&fs_devs->fsid_kobj, 0, sizeof(struct kobject)); in btrfs_release_fsid_kobj() 874 complete(&fs_devs->kobj_unregister); in btrfs_release_fsid_kobj() 948 static void __btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs) in __btrfs_sysfs_remove_fsid() argument 950 if (fs_devs->devinfo_kobj) { in __btrfs_sysfs_remove_fsid() 951 kobject_del(fs_devs->devinfo_kobj); in __btrfs_sysfs_remove_fsid() 952 kobject_put(fs_devs->devinfo_kobj); in __btrfs_sysfs_remove_fsid() 953 fs_devs->devinfo_kobj = NULL; in __btrfs_sysfs_remove_fsid() 956 if (fs_devs->devices_kobj) { in __btrfs_sysfs_remove_fsid() 957 kobject_del(fs_devs in __btrfs_sysfs_remove_fsid() 970 btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs) btrfs_sysfs_remove_fsid() argument 1460 btrfs_sysfs_add_fsid(struct btrfs_fs_devices *fs_devs) btrfs_sysfs_add_fsid() argument 1497 struct btrfs_fs_devices *fs_devs = fs_info->fs_devices; btrfs_sysfs_add_mounted() local 1722 struct btrfs_fs_devices *fs_devs; btrfs_sysfs_feature_update() local [all...] |
H A D | sysfs.h | 19 int btrfs_sysfs_add_fsid(struct btrfs_fs_devices *fs_devs); 20 void btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs);
|
H A D | volumes.c | 248 * global::fs_devs - add, remove, updates to the global list 349 struct btrfs_fs_devices *fs_devs; in alloc_fs_devices() local 351 fs_devs = kzalloc(sizeof(*fs_devs), GFP_KERNEL); in alloc_fs_devices() 352 if (!fs_devs) in alloc_fs_devices() 355 mutex_init(&fs_devs->device_list_mutex); in alloc_fs_devices() 357 INIT_LIST_HEAD(&fs_devs->devices); in alloc_fs_devices() 358 INIT_LIST_HEAD(&fs_devs->alloc_list); in alloc_fs_devices() 359 INIT_LIST_HEAD(&fs_devs->fs_list); in alloc_fs_devices() 360 INIT_LIST_HEAD(&fs_devs in alloc_fs_devices() 2036 btrfs_find_next_active_device( struct btrfs_fs_devices *fs_devs, struct btrfs_device *device) btrfs_find_next_active_device() argument [all...] |
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | sysfs.c | 1310 struct btrfs_fs_devices *fs_devs = to_fs_devs(kobj); in btrfs_release_fsid_kobj() local 1312 memset(&fs_devs->fsid_kobj, 0, sizeof(struct kobject)); in btrfs_release_fsid_kobj() 1313 complete(&fs_devs->kobj_unregister); in btrfs_release_fsid_kobj() 1402 static void __btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs) in __btrfs_sysfs_remove_fsid() argument 1404 if (fs_devs->devinfo_kobj) { in __btrfs_sysfs_remove_fsid() 1405 kobject_del(fs_devs->devinfo_kobj); in __btrfs_sysfs_remove_fsid() 1406 kobject_put(fs_devs->devinfo_kobj); in __btrfs_sysfs_remove_fsid() 1407 fs_devs->devinfo_kobj = NULL; in __btrfs_sysfs_remove_fsid() 1410 if (fs_devs->devices_kobj) { in __btrfs_sysfs_remove_fsid() 1411 kobject_del(fs_devs in __btrfs_sysfs_remove_fsid() 1424 btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs) btrfs_sysfs_remove_fsid() argument 1975 btrfs_sysfs_add_fsid(struct btrfs_fs_devices *fs_devs) btrfs_sysfs_add_fsid() argument 2012 struct btrfs_fs_devices *fs_devs = fs_info->fs_devices; btrfs_sysfs_add_mounted() local [all...] |
H A D | sysfs.h | 19 int btrfs_sysfs_add_fsid(struct btrfs_fs_devices *fs_devs); 20 void btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs);
|
H A D | volumes.c | 270 * global::fs_devs - add, remove, updates to the global list 371 struct btrfs_fs_devices *fs_devs; in alloc_fs_devices() local 375 fs_devs = kzalloc(sizeof(*fs_devs), GFP_KERNEL); in alloc_fs_devices() 376 if (!fs_devs) in alloc_fs_devices() 379 mutex_init(&fs_devs->device_list_mutex); in alloc_fs_devices() 381 INIT_LIST_HEAD(&fs_devs->devices); in alloc_fs_devices() 382 INIT_LIST_HEAD(&fs_devs->alloc_list); in alloc_fs_devices() 383 INIT_LIST_HEAD(&fs_devs->fs_list); in alloc_fs_devices() 384 INIT_LIST_HEAD(&fs_devs in alloc_fs_devices() 1986 btrfs_find_next_active_device( struct btrfs_fs_devices *fs_devs, struct btrfs_device *device) btrfs_find_next_active_device() argument [all...] |
Completed in 13 milliseconds