Searched refs:tgtdev (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/fs/btrfs/ |
D | dev-replace.c | 119 dev_replace->tgtdev = NULL; in btrfs_init_dev_replace() 168 dev_replace->tgtdev = NULL; in btrfs_init_dev_replace() 175 dev_replace->tgtdev = btrfs_find_device(fs_info->fs_devices, in btrfs_init_dev_replace() 191 if (!dev_replace->tgtdev && in btrfs_init_dev_replace() 200 if (dev_replace->tgtdev) { in btrfs_init_dev_replace() 202 dev_replace->tgtdev->total_bytes = in btrfs_init_dev_replace() 204 dev_replace->tgtdev->disk_total_bytes = in btrfs_init_dev_replace() 206 dev_replace->tgtdev->commit_total_bytes = in btrfs_init_dev_replace() 208 dev_replace->tgtdev->bytes_used = in btrfs_init_dev_replace() 210 dev_replace->tgtdev->commit_bytes_used = in btrfs_init_dev_replace() [all …]
|
D | volumes.c | 2271 void btrfs_destroy_dev_replace_tgtdev(struct btrfs_device *tgtdev) in btrfs_destroy_dev_replace_tgtdev() argument 2273 struct btrfs_fs_devices *fs_devices = tgtdev->fs_info->fs_devices; in btrfs_destroy_dev_replace_tgtdev() 2277 btrfs_sysfs_remove_device(tgtdev); in btrfs_destroy_dev_replace_tgtdev() 2279 if (tgtdev->bdev) in btrfs_destroy_dev_replace_tgtdev() 2284 btrfs_assign_next_active_device(tgtdev, NULL); in btrfs_destroy_dev_replace_tgtdev() 2286 list_del_rcu(&tgtdev->dev_list); in btrfs_destroy_dev_replace_tgtdev() 2297 btrfs_scratch_superblocks(tgtdev->fs_info, tgtdev->bdev, in btrfs_destroy_dev_replace_tgtdev() 2298 tgtdev->name->str); in btrfs_destroy_dev_replace_tgtdev() 2300 btrfs_close_bdev(tgtdev); in btrfs_destroy_dev_replace_tgtdev() 2302 btrfs_free_device(tgtdev); in btrfs_destroy_dev_replace_tgtdev() [all …]
|
D | volumes.h | 481 void btrfs_destroy_dev_replace_tgtdev(struct btrfs_device *tgtdev);
|
D | reada.c | 428 dev == fs_info->dev_replace.tgtdev) { in reada_find_extent()
|
D | scrub.c | 623 WARN_ON(!fs_info->dev_replace.tgtdev); in scrub_setup_ctx() 625 sctx->wr_tgtdev = fs_info->dev_replace.tgtdev; in scrub_setup_ctx()
|
D | ctree.h | 398 struct btrfs_device *tgtdev; member
|
/kernel/linux/linux-5.10/tools/power/pm-graph/ |
D | sleepgraph.py | 1445 tgtdev = '' 1465 tgtdev = dev 1467 return tgtdev 1471 tgtdev = self.sourceDevice(phases, start, end, pid, 'device') 1474 if not tgtdev and pid in self.devpids: 1477 if not tgtdev: 1478 tgtdev = self.sourceDevice(phases, start, end, pid, 'thread') 1480 if not tgtdev: 1489 if not tgtdev: 1494 if('src' not in tgtdev): [all …]
|