Searched refs:tgtdev (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/drivers/scsi/mpi3mr/ |
D | mpi3mr_os.c | 416 struct mpi3mr_tgt_dev *tgtdev; in mpi3mr_invalidate_devhandles() local 419 list_for_each_entry(tgtdev, &mrioc->tgtdev_list, list) { in mpi3mr_invalidate_devhandles() 420 tgtdev->dev_handle = MPI3MR_INVALID_DEV_HANDLE; in mpi3mr_invalidate_devhandles() 421 if (tgtdev->starget && tgtdev->starget->hostdata) { in mpi3mr_invalidate_devhandles() 422 tgt_priv = tgtdev->starget->hostdata; in mpi3mr_invalidate_devhandles() 427 if (tgtdev->host_exposed) in mpi3mr_invalidate_devhandles() 628 struct mpi3mr_tgt_dev *tgtdev; in mpi3mr_alloc_tgtdev() local 630 tgtdev = kzalloc(sizeof(*tgtdev), GFP_ATOMIC); in mpi3mr_alloc_tgtdev() 631 if (!tgtdev) in mpi3mr_alloc_tgtdev() 633 kref_init(&tgtdev->ref_count); in mpi3mr_alloc_tgtdev() [all …]
|
D | mpi3mr_transport.c | 344 struct mpi3mr_tgt_dev *tgtdev; in __mpi3mr_get_tgtdev_by_addr() local 348 list_for_each_entry(tgtdev, &mrioc->tgtdev_list, list) in __mpi3mr_get_tgtdev_by_addr() 349 if ((tgtdev->dev_type == MPI3_DEVICE_DEVFORM_SAS_SATA) && in __mpi3mr_get_tgtdev_by_addr() 350 (tgtdev->dev_spec.sas_sata_inf.sas_address == sas_address) in __mpi3mr_get_tgtdev_by_addr() 351 && (tgtdev->dev_spec.sas_sata_inf.hba_port == hba_port)) in __mpi3mr_get_tgtdev_by_addr() 355 mpi3mr_tgtdev_get(tgtdev); in __mpi3mr_get_tgtdev_by_addr() 356 return tgtdev; in __mpi3mr_get_tgtdev_by_addr() 376 struct mpi3mr_tgt_dev *tgtdev = NULL; in mpi3mr_get_tgtdev_by_addr() local 383 tgtdev = __mpi3mr_get_tgtdev_by_addr(mrioc, sas_address, hba_port); in mpi3mr_get_tgtdev_by_addr() 387 return tgtdev; in mpi3mr_get_tgtdev_by_addr() [all …]
|
D | mpi3mr_app.c | 299 struct mpi3mr_tgt_dev *tgtdev; in mpi3mr_get_all_tgt_info() local 311 list_for_each_entry(tgtdev, &mrioc->tgtdev_list, list) in mpi3mr_get_all_tgt_info() 332 list_for_each_entry(tgtdev, &mrioc->tgtdev_list, list) { in mpi3mr_get_all_tgt_info() 334 devmap_info[i].handle = tgtdev->dev_handle; in mpi3mr_get_all_tgt_info() 335 devmap_info[i].perst_id = tgtdev->perst_id; in mpi3mr_get_all_tgt_info() 336 if (tgtdev->host_exposed && tgtdev->starget) { in mpi3mr_get_all_tgt_info() 337 devmap_info[i].target_id = tgtdev->starget->id; in mpi3mr_get_all_tgt_info() 339 tgtdev->starget->channel; in mpi3mr_get_all_tgt_info() 731 struct mpi3mr_tgt_dev *tgtdev; in mpi3mr_build_nvme_prp() local 733 tgtdev = mpi3mr_get_tgtdev_by_handle(mrioc, dev_handle); in mpi3mr_build_nvme_prp() [all …]
|
D | mpi3mr.h | 1385 struct mpi3mr_tgt_dev *tgtdev); 1387 struct mpi3mr_tgt_dev *tgtdev); 1389 struct mpi3mr_tgt_dev *tgtdev);
|
/linux-6.1.9/fs/btrfs/ |
D | dev-replace.c | 124 dev_replace->tgtdev = NULL; in btrfs_init_dev_replace() 172 dev_replace->tgtdev = NULL; in btrfs_init_dev_replace() 177 dev_replace->tgtdev = btrfs_find_device(fs_info->fs_devices, &args); in btrfs_init_dev_replace() 194 if (!dev_replace->tgtdev && in btrfs_init_dev_replace() 203 if (dev_replace->tgtdev) { in btrfs_init_dev_replace() 205 dev_replace->tgtdev->total_bytes = in btrfs_init_dev_replace() 207 dev_replace->tgtdev->disk_total_bytes = in btrfs_init_dev_replace() 209 dev_replace->tgtdev->commit_total_bytes = in btrfs_init_dev_replace() 211 dev_replace->tgtdev->bytes_used = in btrfs_init_dev_replace() 213 dev_replace->tgtdev->commit_bytes_used = in btrfs_init_dev_replace() [all …]
|
D | volumes.c | 2302 void btrfs_destroy_dev_replace_tgtdev(struct btrfs_device *tgtdev) in btrfs_destroy_dev_replace_tgtdev() argument 2304 struct btrfs_fs_devices *fs_devices = tgtdev->fs_info->fs_devices; in btrfs_destroy_dev_replace_tgtdev() 2308 btrfs_sysfs_remove_device(tgtdev); in btrfs_destroy_dev_replace_tgtdev() 2310 if (tgtdev->bdev) in btrfs_destroy_dev_replace_tgtdev() 2315 btrfs_assign_next_active_device(tgtdev, NULL); in btrfs_destroy_dev_replace_tgtdev() 2317 list_del_rcu(&tgtdev->dev_list); in btrfs_destroy_dev_replace_tgtdev() 2321 btrfs_scratch_superblocks(tgtdev->fs_info, tgtdev->bdev, in btrfs_destroy_dev_replace_tgtdev() 2322 tgtdev->name->str); in btrfs_destroy_dev_replace_tgtdev() 2324 btrfs_close_bdev(tgtdev); in btrfs_destroy_dev_replace_tgtdev() 2326 btrfs_free_device(tgtdev); in btrfs_destroy_dev_replace_tgtdev() [all …]
|
D | volumes.h | 679 void btrfs_destroy_dev_replace_tgtdev(struct btrfs_device *tgtdev);
|
D | zoned.c | 1385 if (dev_replace_is_ongoing && dev_replace->tgtdev != NULL) in btrfs_load_block_group_zone_info() 1386 btrfs_dev_clear_zone_empty(dev_replace->tgtdev, physical[i]); in btrfs_load_block_group_zone_info()
|
D | scrub.c | 785 WARN_ON(!fs_info->dev_replace.tgtdev); in scrub_setup_ctx() 786 sctx->wr_tgtdev = fs_info->dev_replace.tgtdev; in scrub_setup_ctx()
|
D | ctree.h | 467 struct btrfs_device *tgtdev; member
|
D | extent-tree.c | 1297 ret = btrfs_reset_device_zone(dev_replace->tgtdev, phys, len, in do_discard_extent()
|
/linux-6.1.9/tools/power/pm-graph/ |
D | sleepgraph.py | 1607 tgtdev = '' 1627 tgtdev = dev 1629 return tgtdev 1633 tgtdev = self.sourceDevice(phases, start, end, pid, 'device') 1636 if not tgtdev and pid in self.devpids: 1639 if not tgtdev: 1640 tgtdev = self.sourceDevice(phases, start, end, pid, 'thread') 1642 if not tgtdev: 1651 if not tgtdev: 1656 if('src' not in tgtdev): [all …]
|