Searched refs:tgtdev (Results 1 – 13 of 13) sorted by relevance
/linux-6.6.21/drivers/scsi/mpi3mr/ |
D | mpi3mr_os.c | 422 struct mpi3mr_tgt_dev *tgtdev; in mpi3mr_invalidate_devhandles() local 425 list_for_each_entry(tgtdev, &mrioc->tgtdev_list, list) { in mpi3mr_invalidate_devhandles() 426 tgtdev->dev_handle = MPI3MR_INVALID_DEV_HANDLE; in mpi3mr_invalidate_devhandles() 427 if (tgtdev->starget && tgtdev->starget->hostdata) { in mpi3mr_invalidate_devhandles() 428 tgt_priv = tgtdev->starget->hostdata; in mpi3mr_invalidate_devhandles() 434 if (tgtdev->host_exposed) in mpi3mr_invalidate_devhandles() 635 struct mpi3mr_tgt_dev *tgtdev; in mpi3mr_alloc_tgtdev() local 637 tgtdev = kzalloc(sizeof(*tgtdev), GFP_ATOMIC); in mpi3mr_alloc_tgtdev() 638 if (!tgtdev) in mpi3mr_alloc_tgtdev() 640 kref_init(&tgtdev->ref_count); in mpi3mr_alloc_tgtdev() [all …]
|
D | mpi3mr_transport.c | 341 struct mpi3mr_tgt_dev *tgtdev; in __mpi3mr_get_tgtdev_by_addr() local 345 list_for_each_entry(tgtdev, &mrioc->tgtdev_list, list) in __mpi3mr_get_tgtdev_by_addr() 346 if ((tgtdev->dev_type == MPI3_DEVICE_DEVFORM_SAS_SATA) && in __mpi3mr_get_tgtdev_by_addr() 347 (tgtdev->dev_spec.sas_sata_inf.sas_address == sas_address) in __mpi3mr_get_tgtdev_by_addr() 348 && (tgtdev->dev_spec.sas_sata_inf.hba_port == hba_port)) in __mpi3mr_get_tgtdev_by_addr() 352 mpi3mr_tgtdev_get(tgtdev); in __mpi3mr_get_tgtdev_by_addr() 353 return tgtdev; in __mpi3mr_get_tgtdev_by_addr() 373 struct mpi3mr_tgt_dev *tgtdev = NULL; in mpi3mr_get_tgtdev_by_addr() local 380 tgtdev = __mpi3mr_get_tgtdev_by_addr(mrioc, sas_address, hba_port); in mpi3mr_get_tgtdev_by_addr() 384 return tgtdev; in mpi3mr_get_tgtdev_by_addr() [all …]
|
D | mpi3mr_app.c | 314 struct mpi3mr_tgt_dev *tgtdev; in mpi3mr_get_all_tgt_info() local 326 list_for_each_entry(tgtdev, &mrioc->tgtdev_list, list) in mpi3mr_get_all_tgt_info() 347 list_for_each_entry(tgtdev, &mrioc->tgtdev_list, list) { in mpi3mr_get_all_tgt_info() 349 devmap_info[i].handle = tgtdev->dev_handle; in mpi3mr_get_all_tgt_info() 350 devmap_info[i].perst_id = tgtdev->perst_id; in mpi3mr_get_all_tgt_info() 351 if (tgtdev->host_exposed && tgtdev->starget) { in mpi3mr_get_all_tgt_info() 352 devmap_info[i].target_id = tgtdev->starget->id; in mpi3mr_get_all_tgt_info() 354 tgtdev->starget->channel; in mpi3mr_get_all_tgt_info() 739 struct mpi3mr_tgt_dev *tgtdev; in mpi3mr_build_nvme_prp() local 741 tgtdev = mpi3mr_get_tgtdev_by_handle(mrioc, dev_handle); in mpi3mr_build_nvme_prp() [all …]
|
D | mpi3mr.h | 1402 struct mpi3mr_tgt_dev *tgtdev); 1404 struct mpi3mr_tgt_dev *tgtdev); 1406 struct mpi3mr_tgt_dev *tgtdev);
|
/linux-6.6.21/fs/btrfs/ |
D | dev-replace.c | 126 dev_replace->tgtdev = NULL; in btrfs_init_dev_replace() 174 dev_replace->tgtdev = NULL; in btrfs_init_dev_replace() 179 dev_replace->tgtdev = btrfs_find_device(fs_info->fs_devices, &args); in btrfs_init_dev_replace() 196 if (!dev_replace->tgtdev && in btrfs_init_dev_replace() 205 if (dev_replace->tgtdev) { in btrfs_init_dev_replace() 207 dev_replace->tgtdev->total_bytes = in btrfs_init_dev_replace() 209 dev_replace->tgtdev->disk_total_bytes = in btrfs_init_dev_replace() 211 dev_replace->tgtdev->commit_total_bytes = in btrfs_init_dev_replace() 213 dev_replace->tgtdev->bytes_used = in btrfs_init_dev_replace() 215 dev_replace->tgtdev->commit_bytes_used = in btrfs_init_dev_replace() [all …]
|
D | volumes.c | 2316 void btrfs_destroy_dev_replace_tgtdev(struct btrfs_device *tgtdev) in btrfs_destroy_dev_replace_tgtdev() argument 2318 struct btrfs_fs_devices *fs_devices = tgtdev->fs_info->fs_devices; in btrfs_destroy_dev_replace_tgtdev() 2322 btrfs_sysfs_remove_device(tgtdev); in btrfs_destroy_dev_replace_tgtdev() 2324 if (tgtdev->bdev) in btrfs_destroy_dev_replace_tgtdev() 2329 btrfs_assign_next_active_device(tgtdev, NULL); in btrfs_destroy_dev_replace_tgtdev() 2331 list_del_rcu(&tgtdev->dev_list); in btrfs_destroy_dev_replace_tgtdev() 2335 btrfs_scratch_superblocks(tgtdev->fs_info, tgtdev->bdev, in btrfs_destroy_dev_replace_tgtdev() 2336 tgtdev->name->str); in btrfs_destroy_dev_replace_tgtdev() 2338 btrfs_close_bdev(tgtdev); in btrfs_destroy_dev_replace_tgtdev() 2340 btrfs_free_device(tgtdev); in btrfs_destroy_dev_replace_tgtdev() [all …]
|
D | volumes.h | 661 void btrfs_destroy_dev_replace_tgtdev(struct btrfs_device *tgtdev);
|
D | fs.h | 265 struct btrfs_device *tgtdev; member
|
D | bio.c | 829 smap.dev = fs_info->dev_replace.tgtdev; in btrfs_submit_repair_write()
|
D | zoned.c | 1395 if (dev_replace_is_ongoing && dev_replace->tgtdev != NULL) in btrfs_load_block_group_zone_info() 1396 btrfs_dev_clear_zone_empty(dev_replace->tgtdev, physical[i]); in btrfs_load_block_group_zone_info()
|
D | scrub.c | 378 WARN_ON(!fs_info->dev_replace.tgtdev); in scrub_setup_ctx() 379 sctx->wr_tgtdev = fs_info->dev_replace.tgtdev; in scrub_setup_ctx()
|
D | extent-tree.c | 1341 ret = btrfs_reset_device_zone(dev_replace->tgtdev, phys, len, in do_discard_extent()
|
/linux-6.6.21/tools/power/pm-graph/ |
D | sleepgraph.py | 1625 tgtdev = '' 1645 tgtdev = dev 1647 return tgtdev 1651 tgtdev = self.sourceDevice(phases, start, end, pid, 'device') 1654 if not tgtdev and pid in self.devpids: 1657 if not tgtdev: 1658 tgtdev = self.sourceDevice(phases, start, end, pid, 'thread') 1660 if not tgtdev: 1671 if not tgtdev: 1676 if('src' not in tgtdev): [all …]
|