Home
last modified time | relevance | path

Searched refs:seed_devices (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/fs/btrfs/
H A Dvolumes.c2237 * seed_devices, we can simply decrement cur_devices->opened and then in btrfs_rm_device()
2444 struct btrfs_fs_devices *seed_devices; in btrfs_init_sprout() local
2454 seed_devices = alloc_fs_devices(NULL, NULL); in btrfs_init_sprout()
2455 if (IS_ERR(seed_devices)) in btrfs_init_sprout()
2456 return seed_devices; in btrfs_init_sprout()
2466 kfree(seed_devices); in btrfs_init_sprout()
2472 memcpy(seed_devices, fs_devices, sizeof(*seed_devices)); in btrfs_init_sprout()
2473 seed_devices->opened = 1; in btrfs_init_sprout()
2474 INIT_LIST_HEAD(&seed_devices in btrfs_init_sprout()
2485 btrfs_setup_sprout(struct btrfs_fs_info *fs_info, struct btrfs_fs_devices *seed_devices) btrfs_setup_sprout() argument
2620 struct btrfs_fs_devices *seed_devices = NULL; btrfs_init_new_device() local
[all...]
/kernel/linux/linux-5.10/fs/btrfs/
H A Dvolumes.c2442 struct btrfs_fs_devices *seed_devices; in btrfs_prepare_sprout() local
2455 seed_devices = alloc_fs_devices(NULL, NULL); in btrfs_prepare_sprout()
2456 if (IS_ERR(seed_devices)) in btrfs_prepare_sprout()
2457 return PTR_ERR(seed_devices); in btrfs_prepare_sprout()
2467 kfree(seed_devices); in btrfs_prepare_sprout()
2473 memcpy(seed_devices, fs_devices, sizeof(*seed_devices)); in btrfs_prepare_sprout()
2474 seed_devices->opened = 1; in btrfs_prepare_sprout()
2475 INIT_LIST_HEAD(&seed_devices->devices); in btrfs_prepare_sprout()
2476 INIT_LIST_HEAD(&seed_devices in btrfs_prepare_sprout()
[all...]

Completed in 11 milliseconds