Searched refs:tgtdev (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_os.c | 427 if (tgtdev->starget && tgtdev->starget->hostdata) { in mpi3mr_invalidate_devhandles() 637 tgtdev = kzalloc(sizeof(*tgtdev), GFP_ATOMIC); in mpi3mr_alloc_tgtdev() 876 if (tgtdev->starget && tgtdev->starget->hostdata) { in mpi3mr_remove_tgtdev_from_host() 930 if (tgtdev->is_hidden || tgtdev->host_exposed) { in mpi3mr_report_tgtdev_to_host() 1051 tgtdev->host_exposed && tgtdev->starget && in mpi3mr_rfresh_tgtdevs() 1375 if (!tgtdev->is_hidden && !tgtdev->host_exposed) in mpi3mr_devinfochg_evt_bh() 1377 if (tgtdev->is_hidden && tgtdev->host_exposed) in mpi3mr_devinfochg_evt_bh() 1379 if (!tgtdev->is_hidden && tgtdev->host_exposed && tgtdev->starget) in mpi3mr_devinfochg_evt_bh() 2523 if (tgtdev && tgtdev->starget && tgtdev->starget->hostdata) in mpi3mr_pcietopochg_evt_th() 2590 if (tgtdev && tgtdev->starget && tgtdev->starget->hostdata) in mpi3mr_sastopochg_evt_th() [all …]
|
H A D | mpi3mr_transport.c | 352 mpi3mr_tgtdev_get(tgtdev); in __mpi3mr_get_tgtdev_by_addr() 353 return tgtdev; in __mpi3mr_get_tgtdev_by_addr() 384 return tgtdev; in mpi3mr_get_tgtdev_by_addr() 411 if (tgtdev) { in mpi3mr_remove_device_by_sas_address() 420 if (tgtdev->host_exposed) in mpi3mr_remove_device_by_sas_address() 452 return tgtdev; in __mpi3mr_get_tgtdev_by_addr_and_rphy() 1392 if (!tgtdev) { in mpi3mr_sas_port_add() 2463 if (tgtdev && tgtdev->dev_spec.sas_sata_inf.hba_port) { in mpi3mr_get_port_id_by_rphy() 2694 if (tgtdev) { in mpi3mr_transport_get_enclosure_identifier() 2728 if (tgtdev) { in mpi3mr_transport_get_bay_identifier() [all …]
|
H A D | mpi3mr_app.c | 314 struct mpi3mr_tgt_dev *tgtdev; in mpi3mr_get_all_tgt_info() local 351 if (tgtdev->host_exposed && tgtdev->starget) { in mpi3mr_get_all_tgt_info() 739 struct mpi3mr_tgt_dev *tgtdev; in mpi3mr_build_nvme_prp() local 742 if (!tgtdev) { in mpi3mr_build_nvme_prp() 752 mpi3mr_tgtdev_put(tgtdev); in mpi3mr_build_nvme_prp() 757 mpi3mr_tgtdev_put(tgtdev); in mpi3mr_build_nvme_prp() 1253 if (tgtdev && tgtdev->starget && tgtdev->starget->hostdata) { in mpi3mr_bsg_process_mpt_cmds() 1257 mpi3mr_tgtdev_put(tgtdev); in mpi3mr_bsg_process_mpt_cmds() 1784 if (!tgtdev || tgtdev->dev_type != MPI3_DEVICE_DEVFORM_SAS_SATA) in sas_address_show() 1818 if (!tgtdev) in device_handle_show() [all …]
|
H A D | mpi3mr.h | 1402 struct mpi3mr_tgt_dev *tgtdev); 1404 struct mpi3mr_tgt_dev *tgtdev); 1406 struct mpi3mr_tgt_dev *tgtdev);
|
/openbmc/linux/fs/btrfs/ |
H A D | dev-replace.c | 126 dev_replace->tgtdev = NULL; in btrfs_init_dev_replace() 174 dev_replace->tgtdev = NULL; 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() 662 dev_replace->tgtdev = tgt_device; in btrfs_dev_replace_start() 705 dev_replace->tgtdev = NULL; in btrfs_dev_replace_start() 801 struct btrfs_device *tgtdev) in btrfs_set_target_alloc_state() argument 844 map->stripes[i].dev = tgtdev; in btrfs_dev_replace_update_device_in_mapping_tree() 921 dev_replace->tgtdev = NULL; in btrfs_dev_replace_finishing() 1119 dev_replace->tgtdev = NULL; in btrfs_dev_replace_cancel() [all …]
|
H A D | volumes.c | 2329 btrfs_sysfs_remove_device(tgtdev); in btrfs_destroy_dev_replace_tgtdev() 2331 if (tgtdev->bdev) in btrfs_destroy_dev_replace_tgtdev() 2336 btrfs_assign_next_active_device(tgtdev, NULL); in btrfs_destroy_dev_replace_tgtdev() 2338 list_del_rcu(&tgtdev->dev_list); in btrfs_destroy_dev_replace_tgtdev() 2342 btrfs_scratch_superblocks(tgtdev->fs_info, tgtdev->bdev, in btrfs_destroy_dev_replace_tgtdev() 2343 tgtdev->name->str); in btrfs_destroy_dev_replace_tgtdev() 2345 btrfs_close_bdev(tgtdev); in btrfs_destroy_dev_replace_tgtdev() 2347 btrfs_free_device(tgtdev); in btrfs_destroy_dev_replace_tgtdev() 6141 new->dev = dev_replace->tgtdev; in handle_ops_on_dev_replace() 6429 if (dev_replace_is_ongoing && dev_replace->tgtdev != NULL && in btrfs_map_block() [all …]
|
H A D | volumes.h | 667 void btrfs_destroy_dev_replace_tgtdev(struct btrfs_device *tgtdev);
|
H A D | fs.h | 265 struct btrfs_device *tgtdev; member
|
H A D | bio.c | 841 smap.dev = fs_info->dev_replace.tgtdev; in btrfs_submit_repair_write()
|
H A D | zoned.c | 1327 if (dev_replace_is_ongoing && dev_replace->tgtdev != NULL) in btrfs_load_zone_info() 1328 btrfs_dev_clear_zone_empty(dev_replace->tgtdev, info->physical); in btrfs_load_zone_info()
|
H A 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()
|
H A D | extent-tree.c | 1352 ret = btrfs_reset_device_zone(dev_replace->tgtdev, phys, len, in do_discard_extent()
|
/openbmc/linux/tools/power/pm-graph/ |
H A 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: 1660 if not tgtdev: 1671 if not tgtdev: 1676 if('src' not in tgtdev): 1677 tgtdev['src'] = [] [all …]
|